Uh... I have another question.
Moderators: Commodore, Zenith Nadir
Uh... I have another question.
How do I make an object animated, like a star? I've checked the manual, and I can't seem to find anything about it.
Purple Platypus Games - "We make games!"
Current Projects:
SPACE GUYS
Coming: 2008, tops
Space is no longer safe when Joel and Steve, two of the finest astronauts around, go on a weird adventure through space.
Current Projects:
SPACE GUYS
Coming: 2008, tops
Space is no longer safe when Joel and Steve, two of the finest astronauts around, go on a weird adventure through space.
- Quantum P.
- Level 17 Accordion Thief
- Posts: 1433
- Joined: Fri Sep 12, 2003 1:41 am
- Location: Edmonds, WA
- Contact:
There is a command called #char. You give it a number, and the object will change its character to the ASCII character of that number. For example, a star-like spinning thing:
The /i commands are to make the object pause between character changes. Otherwise, the character would change too fast to properly animate.
There are various ASCII charts on which you can see which characters have which numbers.
Code: Select all
:loop
/i#char 196
/i#char 92
/i#char 179
/i#char 47
#loop
There are various ASCII charts on which you can see which characters have which numbers.
It ain't working. I get "Bad Command: LOOP" and the things stop animating. What the hell happened?
EDIT: Also, how do I move the player's starting point in a level? Like, for cutscenes?
EDIT: Also, how do I move the player's starting point in a level? Like, for cutscenes?
Purple Platypus Games - "We make games!"
Current Projects:
SPACE GUYS
Coming: 2008, tops
Space is no longer safe when Joel and Steve, two of the finest astronauts around, go on a weird adventure through space.
Current Projects:
SPACE GUYS
Coming: 2008, tops
Space is no longer safe when Joel and Steve, two of the finest astronauts around, go on a weird adventure through space.
- Quantum P.
- Level 17 Accordion Thief
- Posts: 1433
- Joined: Fri Sep 12, 2003 1:41 am
- Location: Edmonds, WA
- Contact:
Yes, it is both spelled correctly and on its own line.Quantum P. wrote:Also, about the error you got: Is the ":loop" part of the program on its own line, and is :loop spelled correctly?
EDIT: Another question. Geez. I want one object to control the movement of another object, so the two objects don't move at the same time. How do I do this? Zaphod
Purple Platypus Games - "We make games!"
Current Projects:
SPACE GUYS
Coming: 2008, tops
Space is no longer safe when Joel and Steve, two of the finest astronauts around, go on a weird adventure through space.
Current Projects:
SPACE GUYS
Coming: 2008, tops
Space is no longer safe when Joel and Steve, two of the finest astronauts around, go on a weird adventure through space.
well it's tough to know what you mean exactly. If you name your objects by making the first line:
@name
or
@bob
then you can have other objects #send bob a message and you can make bob use a piece of code to move. Something like this, though you'll have to figure out how to make it loop, as this will only make bob move once.
@thing
#send bob:move
@bob
#end
:move
?seek
@name
or
@bob
then you can have other objects #send bob a message and you can make bob use a piece of code to move. Something like this, though you'll have to figure out how to make it loop, as this will only make bob move once.
@thing
#send bob:move
@bob
#end
:move
?seek
*POW* *CLANK* *PING*
- Quantum P.
- Level 17 Accordion Thief
- Posts: 1433
- Joined: Fri Sep 12, 2003 1:41 am
- Location: Edmonds, WA
- Contact: