473,748 Members | 2,276 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

coding directional movement with animations

2 New Member
I've been searching for a while now, and I really can't find how to do this anywhere. I'm making a game, where the player controlled character moves right and left only, but has a separate movement animation from the standing one (I'm using sprites). I have a movie clip with the character using the standing animation from frames 1-20, then moving right from 21-23, then left from 24-26. If I could get any help with this it would be awesome.
Sep 24 '08 #1
2 2051
GavReynolds
16 New Member
Hi

Im not sure if this is of any help to you....I have been developing a flash RPG game and have used character sprites that move up, down, left, right and also use a walking animation? I could send the fla if you like?

Cheers

Gav
Sep 29 '08 #2
blackplague68
2 New Member
That'd work great, I could probably take a look at your code and see if I can modify it to suit my game. If you could send it to blackplague68@y ahoo.ca that'd work the best for me. Thanks a lot :)
Sep 30 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1529
by: Michel Gaudry | last post by:
Hello, I want to create a svg with multiple animations. It starts with <path> describing a Triangle and it's moved with a series of <animate>. An example : <path ...> <animate .../> <animate .../> <animate .../>
5
1828
by: AlesD | last post by:
Hello, could you please help me with following problem: I have reversible container which holds (unsorted) instances of objects with common base class. From time to time I need to search for last occurance of instance meeting some criteria. When I find it I need to move all folowing instances ("tail") into different cointainer (of same type) while preserving their order.
1
3646
by: paakwesi | last post by:
I'm looking to modify the javascript behavior on http://research.yale.edu/%7Ekamusi/exercises/learners/index.php to do two things: Initial State: Both menus are populated with all their entries (as is the case currently). 1. On selecting a topic, the Skills menu will only show those Topics with dependencies (which will be provided) and vice versa.
7
12603
by: kvnsmnsn | last post by:
I've got two GIF files named "Tigger.gif" and "Angry_barbarian.gif" that contain animations that I want to display on a web page. I've written the following XHTML code which works for a fraction of a sec- ond but no more. That is, the animations run for a very short period of time and then stop. My guess is that they're running through their short animated period and then stopping. How can I display animations like this that keep...
19
3973
by: auratius | last post by:
http://www.auratius.co.za/CSharpCodingStandards.html Complete CSharp Coding Standards 1. Naming Conventions and Styles 2. Coding Practices 3. Project Settings and Project Structure 4. Framework-Specific Guidelines Naming Conventions and Styles
14
1646
by: Mark | last post by:
I'm making a game. I need to maintain a bunch of objects, in this case animations (explosions and stuff). I've decided to use an STL vector. From my understanding, I need to declare it as vector<Animation*so that I can insert new animations with something like myAnimations.push_back(new Animation(...)); So that's all fine and dandy, but what I can't decide on is how to delete this animation after it's done playing (the explosion should...
2
5849
by: chinmayagoyal | last post by:
Hello, I have been working on a dragonball z game recently and I have encountered a problem with the sprites.I have traced the bitmap and everything else and even created a movieclip of the sprite.I have put this code on the movieclip- onClipEvent (load) { step = 5; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT) && this._x<550) { this._x += step; gotoAndPlay(2); } else if (Key.isDown(Key.LEFT) &&...
1
2193
by: crawfordr | last post by:
Hello, I have created a perl script that connects to a specific socket (Ip address/port) using protocall of TCP. It is the server socket script. There is also coding to manage multiple handles by usung the select() in the coding. This was needed due to the fact we expect a large volume of transactions at any given time on the client's side. The script's purpose is to connect to the client's port and listen for connections, accept the...
1
2040
by: Lilly Torres | last post by:
Hi, and I have other question, I want to make a splash form at the begining but I wanted to be more animated(With movement) I know there is a way because I saw an example but the thing is I don't have the code. Can you help me in that? What is display in this web site is what i want but not idea of the code behind that. http://www.fmsinc.com/microsoftaccess/controls/components/animation/index.html
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9378
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9253
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6798
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2216
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.