Collision/Gravity Problems

Non-platform specific questions.

Collision/Gravity Problems

Postby dybot » Fri Jan 28, 2005 7:46 pm

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...
User avatar
dybot
 
Posts: 42
Joined: Wed Jan 26, 2005 5:17 pm
Location: Iceland
Score: 0 Give a positive score

Postby Just4Fun » Fri Jan 28, 2005 9:29 pm

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...
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Postby dybot » Sat Jan 29, 2005 2:45 pm

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
User avatar
dybot
 
Posts: 42
Joined: Wed Jan 26, 2005 5:17 pm
Location: Iceland
Score: 0 Give a positive score

Postby makslane » Sun Jan 30, 2005 4:00 pm

Are you using the Physical Response action? (look the Abuse 2 demo: http://www.game-editor.com/games/abuse2.zip)
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby LEO (LCG) » Mon Jan 31, 2005 8:01 pm

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?
___________
Blessed are the pessimists for they have made backups
User avatar
LEO (LCG)
 
Posts: 24
Joined: Fri Jan 07, 2005 11:56 am
Location: Blanka's country
Score: 0 Give a positive score

Postby makslane » Wed Feb 02, 2005 12:45 am

My fault. You can just put other actor to make the walls!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest