PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GapiDraw and TileStudio - creating character sprites

Hi everyone,

I'm just getting started with GapiDraw and I've been looking through the Demos that come in the package. I've managed to get things moving round the screen and some other basic stuff. I would like to be able to create an animated character that can walk round the world like the one in TileDemo. My question is this:

Should I (1) use TileStudio to create the sequence for the animation or (2) do it purely in GapiDraw?

Using method (1) I have managed to create a stationary animated character but I can't work out how to change the coordinates of the character sprite so he can move around.

I am a bit of a newbie to this stuff so please forgive my ignorance! Any help would be greatly appreciated. Ta.

gevans2000
I have written a few scrolling tile engines with moving charicters that I have never turned into actual games. I have never used TileStudio though, so I can not comment on that.

Pretty much the way I had done things was to have a charicter and coordinates not linked to the tilemap directly. You then move him around testing his bounding box to the tilemap tiles to see if the charicter is running into anything solid.

I'm not sure thats what you were asking, but hope it will help.
Conan · 11 Jun 2003, 21:51 UTC — animating your character
I think what you want is a sprite class with all the basics for moving your characters around such as speed, x,y info, direction, state ( ie: on or off ), amount of alpha blending, rotation, size, no of frames etc etc. I don;t know if GapiDraw has this but there's an animated sprite demo so I guess it does or comes close. Tiles are normally for backgrounds and as such are simpler and have different attributes to sprites.
Thanks guys. That does help. I'll work on it tomorrow and let you know. 8)