[TIB] Re: asm on the ti-83
[Prev][Next][Index][Thread]
[TIB] Re: asm on the ti-83
I would have to see the whole code and probably try it out to be actually
sure, but try some thing like an
If x(does not equal)0:Then
End
around the part that deletes his trail. That way, if he doesn't move, than
it doesn't delete anything. Of course, you still may have trouble when he
maves away from the wall again.
----Original Message Follows----
From: Zach Tong <zachtong@go-concepts.com>
Reply-To: ti-basic@lists.ticalc.org
To: ti-basic@lists.ticalc.org
Subject: [TIB] Re: asm on the ti-83
Date: Sun, 23 Sep 2001 11:11:56 -0400
thanks.
yeah, sorry, i know this was the wrong thread. i do have some BASIC
questions
also. i'm trying to make a game where this little man walks around. i have
the
getkey function working great (meaning he walks around in all directions)
but how
do i keep it from going through walls? would i have to do something like
this:
text(X,Y,"(*) //(*) is my little man...
text(X+5,Y,"___________" //the ___ are spaces, this deletes the little
mans trail
Getkey->G
. . . . . . . //this is all of the getkey crap, no need to show it
if X<5 OR X>58 //X being the sides of the wall one on each side
then
X+0 -> X //which makes it not move...right?
would that be exceptable? but then i have a problem, the text( that covers
up the
trail also covers up the wall. any ideas to fix that??
zach
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp