Page 1 of 1
Collision problem
Posted:
Fri Jul 15, 2011 5:59 pm
by sgames
Hello, need help in creating the perfect collision so that the player is not adhering to the walls. If anyone wants to help throw the package with the first level of my game.
Sorry for the mistakes Language Translator.
Re: Collision problem
Posted:
Fri Jul 15, 2011 6:35 pm
by Camper1995
I have the same problem in my games as you have. I will appreachiate if someone will make that collision wall thing.
By the way, your game is awesome. Graphics fantastic, movement almost perfect! Great! +1 for that man
Re: Collision problem
Posted:
Fri Jul 15, 2011 7:00 pm
by lcl
Collision - left or right side - script editor:
- Code: Select all
double yvel = yvelocity;
//input the physicalResponse here
yvelocity = yvel;
This should work.
Tell if it doesn't.
Re: Collision problem
Posted:
Fri Jul 15, 2011 9:32 pm
by Camper1995
No, doesnt solve it.
I tried with just a block image in another block image (not curves) and it's not solving it.
The actor keeps stuck on the wall and doesnt fall down.
Re: Collision problem
Posted:
Fri Jul 15, 2011 9:47 pm
by sgames
@up
Re: Collision problem
Posted:
Fri Jul 15, 2011 9:52 pm
by skydereign
It does work, its just you need to have two collision events. One for the colliding with the top of the platform, and one for left and right. Here's the ged with it working.
Re: Collision problem
Posted:
Fri Jul 15, 2011 10:37 pm
by Camper1995
Ahh,... now that's the problem. I was doing it like: Collision on Left and Right and then Collision on any side.
Thanks guys, again.