View Full Version : long time no see ^_^
sammi
October 24th, 2005, 06:42 PM
Long time no post haha ran into some technical difficulty wit my pc so all my project was cancled. For now im starting over I manage to save very little of my work and only had my hero MC left. I manage to get my hero attacking but cant seem to put it in four directions. When I press the space bar the hero plays the swordup MC what i want is for each arrow pressed followed by the space bar, the hero should attack in that direction. Thanks
nathan99
October 26th, 2005, 05:40 PM
jus rotate the char on the keypresses
sammi
October 27th, 2005, 03:29 PM
Thanks I already came up with the solution but I have another question how do I make a login screen that require players to create a screen name and password but other infos are not needed. oh and one other thing I want to use some of the letters on the keyboard to play a certain action how would I do that?(example) press the Z button to talk to NPC, is there a way to use these letter buttons to trigger somthing? Thanks Alot
nathan99
October 27th, 2005, 05:18 PM
i dont see any purpose fo password, unless u have interleaved it with php so it sets up an acount, or you have pre-determined passwords.
and you would check that they have more than a certain amount of characters before they move on, ie:
if(text_box.length>0){
///do action;
}
and your second question, look at this:
http://www.kirupa.com/forum/showthread.php?t=195182
sammi
November 1st, 2005, 05:25 PM
thanks for the update it really help me alot.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.