Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
The bike game
Old
Lordelwood
Senior Member
 
Lordelwood's Avatar
 
Status: Offline
Posts: 43
Join Date: Oct 2010
Default The bike game - 04-24-2011, 11:56 AM

hey everybody,i am working on a game where the user is this bike boy and your going through the dessert. this game is for a grade and i ran into a few issues and need some help. I used a method of re-spawning objects and i am having some bugs that i cant figure out whats causing them. basically what happens is a rock or something will re-spawn, the immediately re-spawn again and again. and it usually all the items at once constantly re-spawning.

Thank you to all who can help and give some time to view my game

(also side question, if anyone can look at the tilt detector method and can help me improve it, that would be greatly appreciated)

The Bike Game


*edit*
heres the updated version, with the spawn fixed, but now i need more help, sometimes you will randomly die, i cant figure out why, any sugestions?
Bike game v2

Last edited by Lordelwood; 04-24-2011 at 04:35 PM.
   
Reply With Quote
Old
iua
Senior Member
 
iua's Avatar
 
Status: Offline
Posts: 111
Join Date: Jan 2011
Default 04-24-2011, 12:03 PM

I should look into this sometime soon.
Maybe ask X. He knows how to make objects spawn.


I was taught well...
   
Reply With Quote
Old
Lordelwood
Senior Member
 
Lordelwood's Avatar
 
Status: Offline
Posts: 43
Join Date: Oct 2010
Default 04-24-2011, 12:34 PM

ok well i think i got it now. i had to make each object have its own re-spawn code, and that seems to work, now i just need to fix the tilt thing, its driving me nuts that it doesn't quite work the way i want it to
   
Reply With Quote
Old
Lordelwood
Senior Member
 
Lordelwood's Avatar
 
Status: Offline
Posts: 43
Join Date: Oct 2010
Default 04-24-2011, 04:31 PM

ok, now this is weird, as i was running this program, i saw this



now that is a dummy object, but you cant see dummy objects when a program is running... ummm, now whats wrong? this is due tomorrow if anyone could please give some advise/help, thank you
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Question 04-24-2011, 05:26 PM

Try replacing it, try ensuring its opacity is at 0 and it isn't showing, try even using an invisible shape instead of a dummy in this case.


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Default 04-24-2011, 06:04 PM

Quote:
Originally Posted by Lordelwood View Post
ok, now this is weird, as i was running this program, i saw this



now that is a dummy object, but you cant see dummy objects when a program is running... ummm, now whats wrong? this is due tomorrow if anyone could please give some advise/help, thank you
Uh... dummy object showing up at runtime... wut???

Does this happen every time you run the world? Dummy objects aren't supposed to show up like that.

If the problem persists, then it would probably be best to do what arty said, replace it, maybe with another dummy object. If you could post it, that would be nice too. I want to take a look at this curious case.


Last edited by debussybunny563; 12-21-2012 at 12:00 AM.

|--------------------------------------------------------------------------------------------------|
|Link to weapons collection: http://www.alice.org/community/showthread.php?t=7368 |
|--------------------------------------------------------------------------------------------------|

I have been dead for quite some time now; not much hope for resurrection.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-24-2011, 06:04 PM

Quote:
Originally Posted by arty-fishL View Post
try ensuring its opacity is at 0 and it isn't showing.
Dummies can't be set to is showing=false or opacity=0, they have no such properties.

Though I do like the idea of using a different object instead. I would just tell it to set point of view to the dummy, then delete the dummy


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Old
Lordelwood
Senior Member
 
Lordelwood's Avatar
 
Status: Offline
Posts: 43
Join Date: Oct 2010
Default 04-24-2011, 06:31 PM

the only problem is i have about 20 dummy objects and cant figure out which one it is

*edit*

so i went in and replaced all the dummy objects with brand new ones, redid the code and look...

i dont understand it, how can a dummy object be visible?????

Last edited by Lordelwood; 04-24-2011 at 11:31 PM.
   
Reply With Quote
Old
mani
Guest
 
Status:
Posts: n/a
Default 04-25-2011, 09:14 AM

do you have any tracks for race???
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-25-2011, 10:01 AM

Quote:
Originally Posted by Lordelwood View Post
the only problem is i have about 20 dummy objects and cant figure out which one it is

*edit*

so i went in and replaced all the dummy objects with brand new ones, redid the code and look...

i dont understand it, how can a dummy object be visible?????
The only thing I can think of is replacing your dummies with invisible objects. I have no idea why this isn't working.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.