Jump to content
  • Advertisement
Sign in to follow this  
zappernapper

Developing a level gui for the first time

This topic is 4742 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm programming using the windows api and up till now have only ever built single screen games (i.e. breakout, tetris, bomberman...), I know how to put together a scrolling background using viewports and bitmaps, but I have no idea how to go about setting up something to efficiently place objects into my game. All i can find is stuff that tells me how to make a gui with directx, i'm not ready for 3d and would just like to stick with the windows api for now, so does anyone know where i can find something going through the steps on how to put levels together using mfc (not sure if that's right), or maybe know of a prexisting one out there that free and easy to use (will take free over easy... ;) ).

Share this post


Link to post
Share on other sites
Advertisement
For GUI purposes, I've found wxWidgets to be both free and easy.

It also has the benefit of being cross-platform capable, simplifying the process of porting your program to say, Linux. If you have an interest in such things.

Share this post


Link to post
Share on other sites
while wxWidgets sounds very useful (will be dowloading it soon), it's not exactly what I'm talking about. I must not be clear, b/c after over 35 views, only one person has so far responded :) Where is there information on HOW to build a top-down scroller? I don't know how to develop a level editor so i can easily place different objects (scenery, items, NPCs) on a map. Something akin to Soldiers of Fortune for Genesis. I'm interested in how to do this using #include <windos.h>, and any other simple tools... but I need info on where to learn HOW to do it in addition to the tools out there.

Share this post


Link to post
Share on other sites
Well Zappernapper, what exactly are you looking for? I've found (through a lot of trial and error) that you'll never find any tool that fits perfectly into your needs unless you write it yourself.

It's pretty much a toss-up between writing auxiallary programs and modifying existing ones. I've never looked at it, but I've heard good things about mappy.

There's just a few basic algorithms you need to know for tilegames. Have a look through the articles section here on gdnet, and if you get stuck, we'll be glad to help you. :)

Until then, happy codin'

--scgrn

Share this post


Link to post
Share on other sites
developing the tools myself was my orginal plan, and I've been looking through the articles on tile and isometric maps, but haven't found anything low-level enough for me yet... I think i'll try this mappy, it looks useful and doesn't seem to require lots of reworking of code around it. Thanks!

Share this post


Link to post
Share on other sites
Well if you want to go really simple you could always just make a text based level editor console app. You could input the x,y location in a matrix and a tile ID number to build the map, and have it output a map file. Then your game reads in the map file and draws the tiles stored in it.

Share this post


Link to post
Share on other sites
I've always developed my own custom tilemap editors in a RAD suite like Visual Basic. This is the editor I use for my current project and took all of about 15 minutes to write. [smile] They're called Rapid Application Development suites for a reason... GDI+ is incredibly simple to use.

Share this post


Link to post
Share on other sites
ok... I think I've figured out how to put together the map itself, but what about placing objects (items, NPCs, trees, rocks), it doesn't seem efficient to have each tile be checked to see if there is an object sitting on it. so i don't think i would want to include that in the map itself, plus if it's an NPC they'll be moving around, it seems to me that they should be independent of the map object.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!