no collision with block?
#1
Posted 01 May 2012 - 02:49 AM
#2
Posted 01 May 2012 - 03:18 AM
I need more than your personal life.for some reason my character wont collide with the ground, im not sure why, im helpless at game maker so i don't know how to fix it all i can tell you is that i have some sort of gravity on it, i took it from a freinds game that was almost completely different to mine beacuse i didnt know how to make gravity work. im sorry if i sound stupid, but i really am stuck.
ok?
#3
Posted 01 May 2012 - 12:34 PM
#4
Posted 02 May 2012 - 01:07 AM
just check the Solid in obj_block
it is :\
#5
Posted 02 May 2012 - 05:50 AM
collision_rectangle(bbox_right+1,bbox_top,bbox_right+1,bbox_bottom,objsolid,1,1) would check for collisions one pixel to the right of the calling object's bounding box.
#6
Posted 02 May 2012 - 06:37 AM
// check for a collision with objsolid 1 pixel to the right
if (instance_place(x + 1, y, objsolid) != noone)
{
// a collision occurred
}
else
{
// no collision
}
... would be a better choice than collision_rectangle.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











