Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
General two player movement
Old
Quilipayun
Guest
 
Status:
Posts: n/a
Default General two player movement - 06-11-2011, 08:23 AM

So I went to a camp a while back, and we learned how to use the WASD keys to make the character move, and it was an event but not something like

When [any key] is pressed Do [nothing]

changed to

When [left arrow] is pressed do [bopper move forward 1 meter]

It was more like this

While [any key] is pressed do

Before [nothing]
During [bopper move forward 1 meter]
After [nothing]

Anybody know how to get this?


P.S. I don't know if I am using the right anotation, but the brackets mean that it is a pop down menu.
   
Reply With Quote
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 06-11-2011, 09:25 AM

- Go to events.
- Add this event:
When [any key] is pressed Do [nothing]
- Right click on the added event.
- There should be an option in the menu that pops up to change it to a while key is pressed thing.

Quote:
Originally Posted by Quilipayun View Post
P.S. I don't know if I am using the right anotation, but the brackets mean that it is a pop down menu.
Its pseudo-code, anything goes really.


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Reply

Tags
moving, two player, wasd

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.