Welcome!

Hey, I'm Skylar, a kid aspiring to become a competent programmer. This blog is here to detail my dabbles in development.

My dream is to one day become a professional programmer and do some game development in my spare time.

Thanks for visiting my blog, and I hope you'll come back!

Pages

Update for the Sake of Not Updating?

Well, I've been going mad over this bug, I've even rewrote every relevant piece of code, and it just doesn't look like it's going to get fixed. I've decided to take a short break from that, and explore some other things. So I started today and I looked at LazyFoo's tutorials for Creating a Level Editor and Tile Engines. I made my own little demo, and it's pretty sweet =p.


It works just like LazyFoo's but I changed a few things here and there (Didn't Copy + Paste, Mind You). I changed how it checks for a click, by using the state, and not checking only when there's an event, so that you don't have to have a new click. You just click and drag every where. There's also some other stuff I changed, but I can't exactly remember, I'm quite tired right now.

When the level editor exits, everything is saved and then the generated map file can be put into the demo that displays the map and let's you move around. I spent well over an hour creating some complex map with it, and then found the sprite moved much too slow, so I had to crank up the speed =p.

Anyways that's what I got done today. I'm thinking of changing the scrolling in it and having it display the different tiles in a bar that can be dragged around to put it somewhere out of your way. Then you could click to select the tile you want to use. (Thanks to retrothomas for the idea)

Anyways I'm thinking of learning some kind of GUI library, so I can make a nice looking and complex level editor that I can use in future projects.

I have ideas for 2 games I want to make, and I'm thinking I want to make them 8-bit, so I can first of all play around with SDL's Palette system and then I can also make them the awesomeness that 8-bit is.

So right now I'm gonna play around with the simple level editor and make some adjustments with it, etc. Once I'm familiar with the method, I'll start looking into a GUI Library, so if you know of any good ones, comment below =p (Not that anyone even reads my blog xD).

0 Response to "Update for the Sake of Not Updating?"

Post a Comment