Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Two Questions
Old
Zen
Guest
 
Status:
Posts: n/a
Default Two Questions - 11-19-2010, 09:10 AM

1) How do you make it so that something happens while you're holding a key, and stop when you stop holding it. ie: holding up key so that a car can move forward smoothly, and stop when you let go

2) Is there like a video that shows how to use variables? I DON'T UNDERSTAND Alice Variables AT ALL!!!!!!!

Please.... He-he-heh-heh haaaaaaaa- help MMEEEE!@<-- on purpose!!!!! loLz

(p.s. everything between Please.... and the open parenthesis is my friend Steven.)
   
Reply With Quote
Old
beachbum111111
Senior Member
 
beachbum111111's Avatar
 
Status: Offline
Posts: 852
Join Date: Feb 2010
Location: under your bed
Default 11-19-2010, 09:12 AM

ok i know #1. you right claick on a "when a key is typed" event and change it to "when a key is pressed".


"Don't lead me into temptation I can find it myself"
   
Reply With Quote
Old
Zen
Guest
 
Status:
Posts: n/a
Default 11-19-2010, 09:34 AM

thank you
   
Reply With Quote
Old
Akira101
Guest
 
Status:
Posts: n/a
Default 11-19-2010, 01:06 PM

Aren't alice variables like any other programming variable? Its a number boolean object or string. Lets say you want to make a shooting game, and your gun has 8 bullets, the amount of bullets is the variable. For boolean, say you make a variable to check if you chracter is dead, so its a true or false statement. Object is the object in the world as a variable. String, not so sure yet, not that far into my comp class yet.

Last edited by Akira101; 11-19-2010 at 01:14 PM.
   
Reply With Quote
Old
Zen
Guest
 
Status:
Posts: n/a
Default 11-19-2010, 06:22 PM

yeah they're like every other programming language, but i still don't understand how to use them in alice.... idk if it's just me, but variables in basic seem so much simpler.
   
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 ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.