Well I'm not quite sure how to make gravity happen? I've been thinking of doing if not collision then ypox:+2 or something like that.
But my problem is when I look at the collision script i dont quite understand how to use it, could anyone should me a small example of:
Function CollideRect:Object[](x,y,w,h,collidemask%,writemask%,id:Object=Null)
Let's say i have a DrawRect for player and one for the ground... my second problem after that will be jumping.. more advance stuff in due time.
Thansk in advance
But my problem is when I look at the collision script i dont quite understand how to use it, could anyone should me a small example of:
Function CollideRect:Object[](x,y,w,h,collidemask%,writemask%,id:Object=Null)
Let's say i have a DrawRect for player and one for the ground... my second problem after that will be jumping.. more advance stuff in due time.
Thansk in advance