HOME | DD
Published: 2005-02-01 06:12:25 +0000 UTC; Views: 2838; Favourites: 31; Downloads: 688
Redirect to original
Description
Another Tutorial... Keyboard Movement...Related content
Comments: 30
HellyaCross [2008-06-15 02:47:29 +0000 UTC]
Sorry... I know this things probaly been up for agest but since It's a tut.I thought I'd ask. You say when you type 'on(' on a bunch of commands pop up... What if it doesn't?
👍: 0 ⏩: 1
h3llbringer In reply to HellyaCross [2008-06-16 14:47:28 +0000 UTC]
I haven't used Flash in ages and don't even have it on this computer, but here some things you could try:
* Press backspace and type '(' again
* Do you have anything typed before that? There might be an open quotation mark or bracket
There also have been quite a few versions of Flash out since this was written, so they may have made some changes to the way their auto-complete works.
👍: 0 ⏩: 0
jujuXbean [2008-03-25 01:15:11 +0000 UTC]
This confused me soooooo frickin much. I completely failed at this.....
👍: 0 ⏩: 0
h3llbringer In reply to hi-i [2005-05-18 23:05:15 +0000 UTC]
I didn't bother putting movement restrictions on it, so the head just keeps moving x distance away, so obviously it will have to move x distance to get back!
👍: 0 ⏩: 1
alan-whit [2005-02-09 09:39:29 +0000 UTC]
Very clear and easy to understand.
The hit area for the continue button is not big enough!
Alan
👍: 0 ⏩: 1
h3llbringer In reply to alan-whit [2005-02-12 18:08:55 +0000 UTC]
Well, you managed to find it
Thanks for the comment!
👍: 0 ⏩: 0
smurfmx [2005-02-01 22:21:28 +0000 UTC]
It'd probably be better to setup a key listener then you could just use the onKeyDown event with that listener to control the mc.
👍: 0 ⏩: 1
h3llbringer In reply to smurfmx [2005-02-02 02:57:28 +0000 UTC]
I know, but that's more complicated >_> and harder for me to explain.
I was gunna write a 2nd part explaning the keylistener.
👍: 0 ⏩: 1
smurfmx In reply to h3llbringer [2005-02-02 22:50:38 +0000 UTC]
*Cracks whip*
Get on it then!
It's also alot better because it doesn't treat it as a button and the user's cursor doesn't change when they roll over the symbol.
👍: 0 ⏩: 1
h3llbringer In reply to smurfmx [2005-02-04 19:46:27 +0000 UTC]
Done
No need for a keylistener.. hahaha.
👍: 0 ⏩: 1
smurfmx In reply to h3llbringer [2005-02-05 20:02:52 +0000 UTC]
You don't need to use one but infact it's more CPU efficent as you don't have an OEF running all the time testing if tests only when a key is down there's an OEF running then just kill it once the key is up.
👍: 0 ⏩: 1
h3llbringer In reply to smurfmx [2005-02-06 00:48:29 +0000 UTC]
oh well... Join the club and write your own tutorials
👍: 0 ⏩: 0
Neryam [2005-02-01 13:30:16 +0000 UTC]
Yay cool a first step in rpg game making. What if I want Mr Stareplz to move diagonally when you press up and left or up and right etc..?
GJ!
👍: 0 ⏩: 1
h3llbringer In reply to Neryam [2005-02-01 15:11:45 +0000 UTC]
I don't think you can with this method...
I'll get working on the other method, which is a little more complicated...
👍: 0 ⏩: 0
nightsfan4 [2005-02-01 13:11:16 +0000 UTC]
i cant find were i need to go to find the commands
👍: 0 ⏩: 1
h3llbringer In reply to nightsfan4 [2005-02-01 14:40:12 +0000 UTC]
Commands?
If you're unsure how to use buttons, I suggest you check out my button tutorial first [link] >_>
👍: 0 ⏩: 1
nightsfan4 In reply to h3llbringer [2005-02-01 21:47:31 +0000 UTC]
no i cant find the left,right,ect. things are
👍: 0 ⏩: 1
h3llbringer In reply to nightsfan4 [2005-02-02 02:58:01 +0000 UTC]
when you type on(, the second you type the (, a list of events will pop up.
👍: 0 ⏩: 1
curtisEbear [2005-02-01 07:19:54 +0000 UTC]
nice one, looks interesting, didnt have time to go trhough it all, but i will later on. Great work! Hope your exams went well for you!
👍: 0 ⏩: 1
h3llbringer In reply to curtisEbear [2005-02-01 15:14:59 +0000 UTC]
=] Thanks.
Exams were ok, I suppose.
👍: 0 ⏩: 0




















