Game Development Community

The sprites won't update: [Major Error]

by Orion the Hunter · in Torque Game Builder · 03/05/2012 (4:48 pm) · 7 replies

Hello, I was trying to make a sprite for a character for the Platformer Kit so I did the following. Made the sprite, edited "DragonRunImageMap" and fixed it to fit the sprite, edited "DragonRunAnimation" (note I am saving all these changes) and I launched the game but nothing happened. Same old dragon. It didn't update in the slightest to my character. I looked at "run.png" in data/images/dragon and it wasn't changed! It didn't change at all. I replace it with my new sprite and I launched the game. When I moved the player, instead of the dragon it would flash in and out of all sorts of parts of the sprite I made. It would be like cutting my animation randomly and throwing them sloppily into the sprite. I attempted to edit "datablocks.cs" but it didn't seem to do anything either. Please help me, this is a most frustrating bug.

#1
03/05/2012 (8:25 pm)
Did you delete the .DSO files before running?
I ask because we have extensively changed the files out and they work great here.
#2
03/06/2012 (2:23 pm)
Ohhhhhhhh! I remember that can-and will cause problems. I will tell you the outcome. Thanks!
#3
03/07/2012 (1:31 pm)
Mmm, no change.
#4
03/10/2012 (11:29 am)
Hello?
#5
03/10/2012 (12:20 pm)
ok.... the actuall Animations and imagemaps for the dragon are defined in the actual platformerArt resource.

Gamedir\resources\PlatformerArt\DragonData.cs

the reason you are not seeing your changes saved is because it is defined in there. Modify that file or simply comment out the loading of that file and redeine the image maps and animations in the editor with your own custom images and animations.
#6
03/12/2012 (4:53 am)
Also I have found the editor won't update the image in the data\images folder, so I just copy the new texture there then reload the project.
#7
03/12/2012 (12:54 pm)
Thank you! I edited the blocks the folder provided. It works now!