-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|571|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Blogs Home -> Blogs


 
Forklift_Fred
Created : 25 June 2007
 

Learning to walk again

Before trying to run...

So this coding lark... brings back memories

I had a burst of inspiration on Sunday. A simple game idea that could get me back into coding but it soon developed into an idea that could get more complicated and be reworked/expanded but ultimately would start simply...

No name for it yet but it basically involves walking across a gridded floor in the correct sequence of coloured tiles to safely arrive at the other side.

Before starting, I realised that at some point I'd end up going back on myself, as I have in the past, to make a level editor and have to rework the in-game level set up code... I'm not making that mistake again! So I have started with a simple editor with basic geometry commands rather than graphics (It's only coloured squares after all!) and it worked quite nicely within just an afternoon. I added the ability to fill a whole row or column with a certain colour but realised that it would be better to be able to specify an area. Today I changed it and made myself a lasso/marquee style tool and added the option to either replace all the tiles or just fill in the blanks.

I'm very pleased with the speed at which I have managed to knock this up and with only a couple of errors (caused by typos!). Basic reference has helped but it's coming back to me

Once I can make and save levels, I will be able to use them for 2D, 3D or Isometric whenever I'm ready to. Genius!

 

Comments


Tuesday, 26 June 2007, 14:53
Blitz3Dman
Sounds cool! Good luck coding. What language are you using?
Tuesday, 26 June 2007, 19:27
Forklift_Fred
Thank you. I have Blitz3D but haven't ventured into the 3D part of it a great deal so this will start out in 2D. I was actually looking at Cyberseth's joystick demo that I downloaded way back when, and it was in 3D and featured a simple figure that could run and walk. I was varying the speed and took a couple of single steps and the idea came to me so ultimately I'd like to make it 3D.

The tiles will also have a variable height to add an extra layer to the puzzle and... well, I've got to get the basics working first
Thursday, 28 June 2007, 18:27
Blitz3Dman
Yea, I'm good with 2D, (still trying to get the hang of some of the maths) my favorite thing to do in programming is to find better ways to do things, for example, I recently tried to code a better Abs() function, but I couldn't make it any faster because of the language I also recently coded (with help from buddies here and from wikipedia) a loadwebimage function that loads .bmp images from the web for use in your program, no download required or used. I've also taken an interest in tile based games.

But I STINK at anything 3D.