Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
please help, errors galore!
Old
Lordelwood
Senior Member
 
Lordelwood's Avatar
 
Status: Offline
Posts: 43
Join Date: Oct 2010
Exclamation please help, errors galore! - 04-17-2011, 10:18 PM

ok, so ive been working on this game for a class project and was going to finish up the code make sure it worked before i upgraded one of my models i was using. sadly there are some issues i cant figure out whats going on. first, i have it to re-spawn items as the player passes them, i notice that sometimes they will re-spawn, then immediately re-spawn again, and again, then stop. another is i have a sign that says warning that should display but it doesn't (more info hopefully in code for better understanding under tilt detector). other things was mainly just the tilt detector, if any one has any suggestions on how to improve it, i would be grateful
thank you and here is a link to the download
Bike Game
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 04-27-2011, 04:55 PM

If it is a is within. Then make it with variables. When you are within 1 meter, "re-spawn variable == 1" and put it in an if/else

If/else

If
"biker player" is within 1 meter of "spawn1" Then
re-spawn variable == 1;

Else
"Do nothing";

Make also an event that is always reading, when "re-spawn variable" == 1
Then Pop up, and it will never go away

EDIT: I just realized you posted the game, but...see if this was helpful


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.