PDA

View Full Version : General Noob Questions


InconspicuousBarrel
11-08-2009, 05:11 PM
I've just started using this program, and have completed the tutorial. I have a few basic questions to ask. :confused:

How do I make the continued pressing of a key registered without all the lag that comes when I use the "When 'key' is typed do 'whatever'"?
(I've noticed that in the example project Flight Simulation, it uses the "While Something Is True" block with the action inside the "During" section, but when I try to do that, the drop-down menu for what is "true" or "false" does not list keys).

Is it possible to mass-detect collision with other sprites instead of tediously adding a block of code detecting collision with every single other sprite I create?

Is it possible to adjust the height of the terrain?

Is there anyway to make one sprite travel back immediately to another, what I'm trying to do is make a bomb, after it has been dropped and hit the ground go back instantaneously to the plane from which it was dropped.

Thanks to anyone who answers!

P.S. I have previously used LOGO and Scratch, so if anyone could compare Alice code with code from those programs it would help.

:)

x2495iiii
11-08-2009, 05:35 PM
Right-click "When a key is typed" events and change them to "While a key is pressed" events to do the first thing.

Yes, you need a different bit of code for each collision-detected object (unless you use the "let the arrow keys move the camera" event, which prevents the camera from moving through solid objects).

You can't, but you can use the terrain objects in the environments gallery or use basic shape with the ground's texture applied to them to change the terrain.

InconspicuousBarrel
11-08-2009, 05:37 PM
That really helped! Thanks! :D

x2495iiii
11-08-2009, 05:40 PM
Glad I could help.