Page 1 of 1

Collision/Gravity Problems

PostPosted: Fri Jan 28, 2005 7:46 pm
by dybot
How it should look like
Image

Sometimes the actor walks on the air instead of falling down
Image

All the time the actor can walk through walls on the sides like there is no collision at all
Image

I'm using a huge bitmap for the "level map" the coloured area should block the actor while the transperant should not...

PostPosted: Fri Jan 28, 2005 9:29 pm
by Just4Fun
Have you played around with yvelocity and xvelocity within the script editor?

For example: yvelocity = 5; will make your actor move toward the bottom of the screen.

The collision event could be used to test for solid objects like walls, etc.

For example:
Actor_Ball(Normal Actor)
---> add event create actor
-------->script editor: yvelocity = 5;
---> add event collision
---------> Physical Response (any side of Wall accept the defaults)
-------------------> immediate action

Actor_Wall (Filled Object Actor)
no events or actions on this actor.

HTHs...

PostPosted: Sat Jan 29, 2005 2:45 pm
by dybot
Thank you now it's working but the actors acts like he can climb shorter walls :( also he does not jump all of the time

PostPosted: Sun Jan 30, 2005 4:00 pm
by makslane
Are you using the Physical Response action? (look the Abuse 2 demo: http://www.game-editor.com/games/abuse2.zip)

PostPosted: Mon Jan 31, 2005 8:01 pm
by LEO (LCG)
Something interesting:

The player can "climb" walls in abuse 2 if you
keep walk facing the wall and jumping.

The contortionist shooter don't bounce.

...Proposital?

PostPosted: Wed Feb 02, 2005 12:45 am
by makslane
My fault. You can just put other actor to make the walls!