As you can see there has been a couple changes to the UML model I originally was going with. For starters changed the name of AutoSprite to NPC, I also added a bunch of attributes and methods to the class as well. Coding this went pretty smoothly, Sprites can now be animated with spritesheets and now my NPC's move around on screen in a set path based on a text file that is loaded via LoadPath() method. Groundbreaking hey;)
Heres my little Egyptian towns person in all his pixel-ey glory. hes moving/animated you just can't tell from the screen shot
Next goals are:
- make more spritesheets for this guy ( he currently always faces forwards no matter which way hes moving) and update my code accordingly
- let them move randomly if need be, so they don't need to follow predetermined paths. Not sure how useful this will be to me but it can't hurt.
- start working on player controlled sprites
Thanks for reading,
ciao.
Just got started on learning some basic coding myself, so kudos on the Egyptian man! Is this part of a bigger project? I haven't read any of your other journal entries so sorry I'm a little out of the loop...
-Peter