Alice Community

Alice Community (
-   How do I...? (
-   -   I do I block one object (see you will aderstand)/ Finish an game. (

Mega Mike 09-01-2008 07:54 PM

I do I block one object (see you will aderstand)/ Finish an game.
How do I put one object solid, them the personage I am moving cant pass betwin him, you aderstand? I walk whit my charater to a wall and him will pass the wall, I like to put the wall blocking him, I want them him don't pass the wall, I want the wall blocking my charater, If you continue to don't aderstand say... pls help me, I have trees, and stuff I want to do them block my charater!!!!!:confused:

Another question, how do I finish an game:confused:You now, when evri objective is done, apear a screen saying GAME OVER, If you don't aderstand say... I just put this cause my english riting is very bad:p

Ping 09-03-2008 01:32 AM

while( distance from *your character* to *the wall* is greater than *this depends how big the wall is, as to how large of a distance needed to detect the wall in front of you*)
Move *your character* up/down/left/right *however far your moving him*

Hope this helps :) Put that while statement on all your direction keys and for the object *the wall* you can make that an array which stores several objects(such as every object in your world perhaps? :D) and you will save a lot of space instead of using hundreds of while statements

Hope this helped you

All times are GMT -5. The time now is 02:45 AM.

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