colision doesnt work properly??

Game Editor comments and discussion.

colision doesnt work properly??

Postby PooAs » Sat Apr 05, 2008 10:09 am

i have it so when my player walks into the wire frame the view mmoves with the player.
view.x = view.x + 5;

normally this works fine.

but i have changed the code for the player recently, so he doesnt moon walk, and jump for ever.
as used in bomb_demo.

now when he hits the wirefram it works good for about 4 seconds but after that he walks throught it????
help?
If you try
to fix violence
with violence
you do nothing
but create violence
User avatar
PooAs
 
Posts: 29
Joined: Thu Apr 03, 2008 10:24 am
Score: 3 Give a positive score

Re: colision doesnt work properly??

Postby Bee-Ant » Sat Apr 05, 2008 11:35 am

Are you sure make the collision event repeated???
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: colision doesnt work properly??

Postby PooAs » Sat Apr 05, 2008 10:23 pm

yeah its on repeat
like i said it works how it should for like 3 secondes
then he just walks through it?
If you try
to fix violence
with violence
you do nothing
but create violence
User avatar
PooAs
 
Posts: 29
Joined: Thu Apr 03, 2008 10:24 am
Score: 3 Give a positive score

Re: colision doesnt work properly??

Postby PooAs » Sat Apr 05, 2008 10:53 pm

oh wait
the parent wasnt view :oops:
lol sorry
thanks for your help bee-ant
If you try
to fix violence
with violence
you do nothing
but create violence
User avatar
PooAs
 
Posts: 29
Joined: Thu Apr 03, 2008 10:24 am
Score: 3 Give a positive score

Re: colision doesnt work properly??

Postby Bee-Ant » Fri Apr 25, 2008 12:24 pm

lol OK
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron