GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 2013-07-05 02:25:32

Draco4588
Member
Registered: 2013-07-05
Posts: 1

BIG NOOB HELP

Not only am i new to Game Maker: Studio, I'm new to GML code (or any code) altogether. I have figured out the basics, creating a character, getting it to face the right direction when the corresponding key is pressed, and move in that direction. But I can figure out how to animate the walking. I have the sub-images for the action but cant get it to work while moving, only while stopped. Anyone got advice?

Offline

#2 2013-07-10 16:59:18

xot
Administrator
Registered: 2007-08-18
Posts: 1,201

Re: BIG NOOB HELP

Can't really help you without seeing what you are doing. The simplest thing to do is have separate sprites for each of your animations and change sprite_index when the instance's state changes.

This is surely a question that comes up a lot on the GMC. My advice is to search the Q&A forum.


Abusing forum power since 1986.

Offline

Board footer

Powered by FluxBB