Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-27-2008, 02:18 AM   #1
jaya91
Registered User
 
Join Date: Jul 2008
Posts: 1
Default Change the type of movement of a character. EXPERIENCED CODER NEEDED.

I was using this guide to create an rpg in flash 8. If you notice the last part of the code, you have to reprogram the movement code. The new movement code makes the character rotate, as opposed to just change direction. Basically, how can I adjust that code so that it still functions but it gives a result like this.

(the zip is safe, just contains a flash document and a guide from another website).

I basically want it so that you can change what the character looks like when you move in different directions as opposed to just rotating it.

If I'm not being clear enough just say so.

Last edited by jaya91; 07-27-2008 at 02:57 AM.
jaya91 is offline   Reply With Quote
Old 01-09-2009, 05:00 PM   #2
Chrono Paradox
Crow
 
Join Date: Jan 2009
Location: Richmond
Posts: 13
Default i think i can help

not expeirenced at all but this help me a bit


place this below the button code like this

flip.......
Key.isDown(Key.RIGHT)
_xscale=100; (= right)


Key.isDown(Key.Left)
_xscale=-100; (= left)

(this is not exactly how the code looks if you want that tell me
hoped this helped
-crow-

Last edited by Chrono Paradox; 01-09-2009 at 05:03 PM.
Chrono Paradox is offline   Reply With Quote
Old 01-10-2009, 08:47 AM   #3
orange gold
got as?
 
Join Date: May 2007
Posts: 628
Default

yea but make sure at the start frame you set its _x to 100 otherwise it could expand when you press right or left for the first time
__________________
Feel free to PM me if you have a question
orange gold is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[AS2] Character Movement NoDQForums Gaming and Game Development 2 01-09-2009 07:05 PM
Character Movement Bug? patrick3675 ActionScript 1.0 (and below) 0 08-19-2006 11:12 AM
mouse movement with character walking fiore ActionScript 2.0 2 10-12-2005 10:21 PM
small type quality? stos Other Flash General Questions 3 04-12-2005 10:54 PM
Get movieclip type deogee ActionScript 1.0 (and below) 12 06-01-2003 06:11 PM


All times are GMT. The time now is 08:16 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.