Showing posts with label sprite. Show all posts
Showing posts with label sprite. Show all posts

October 23, 2011

B.V First Class(es)

Hi, here are some classes, that I finished during the week.

SourceLoader class load my resources from a directory or just one specific resource. Use MassSourceLoader to load sound, text and images from a directory and from its subdirectories. If something went wrong the ErrorLogger class give you a feedback. Use OpenTxt, OpenWav and OpenImage methods to load a single source.


SplitSheet class to split my spritesheets. Give the source image and the width and hight of one sprite on the sheet and the class return an image list, where every element is an individual image, use Images[x] to get them


ErrorLogger class to log errors that occure during the source loading or other activity. If something get wrong you can find an ErrorLog.txt on your work directory with some information about the error.


Thats for now, next week I will share more, I hope, finished classes.

October 4, 2011

Tech Demo v0.2

I'm back again with Tech demo v0.2. You can watch the video below.
Here is some changelog:

  • 8 ways player sprite was added, figure 1,
  • isometric background was added,
  • map boundaries and unwalkable places was implemented (check video),
  • changed control to WASD and mouse,
  • throw shuriken with left mouse button click, to the direction of the cursor (check video),
  • shurikens can throw at a 90° angle, in front of the player (check video).


Figure 1. 8 way player sprite

You can download the source of the Tech demo v0.1 here.
See you next time!

September 28, 2011

New Project

After Pyweek, I hadn't have any good idea to make a similar program to my image browser, so I started to write a new game. I had a suitable idea in my mind for some time, so I started to develope it. Furtunatelly two of my friends joined too, so now my project have a lot of creative minds. :) At first step I started to make tech-demos, to develope and implement the visuals for the game. My aim is to make a Diablo I looking game. So it will have an isometric point of view. You can watch a short video about my first tech-demo. Its about how I can animate things like shurikens, and how  I can move a character in 8 different direction, unfortunatelly I have just a 4 way sprite, yet.



The code is need some refactorization, so I will give a download link when I'm done with it. During the coding I got great ideas about sprite animation from this blog, what is more, you can find good advises about time managament here. My sprites are free, I downloaded them from here

He is my first avatar.
My game  don't have any title yet, we just started to work on the games world.
Stay tunned for more info about the project!