Migrating Controls for game.

Fabian_Russ

Newcomer
Joined
Sep 29, 2008
Hey, Any suggestions on how I should go about loading levels into my game? I have a very good piece of code working for my player... collision detection works 100%, doors work (including the ID property for teleporting to rooms).. I'm probably going about all of this the wrong way, and I don't want to make a 2D game using tiles.

I guess all I'm asking is... how should I go about this? I've tried making an MDIParent and MDIChild to get pre-made forms to load, I don't really like the idea of doing that... I've also tried getting each control off of 1 form onto another and that isn't working right.. I am probably going to make an editor to export each control name and their properties and then have the form to load the properties off of the text file based on the level ID, I could probably easily do that but would that be the right way? Any help is appreciated!
 

snarfblam

Ultimate Contributor
Joined
Jun 10, 2003
Location
USA
Have you looked into any tutorials about this sort of subject? There really shouldn't be many controls involved. You might consider using XNA. It is surprisingly easy to make a 2D game with (it even comes with a decent sample platformer). If you want something simpler, you can make a WinForms-based game using GDI+, just don't expect much in terms of performance. Either way you want to be drawing everything into a single image and showing that on-screen in a single control or directly on a form.

When you say you dan't want to make a 2D game using tiles, what do you mean? You are opposed to a tile-based game, or a specific implementation?
 

Fabian_Russ

Newcomer
Joined
Sep 29, 2008
Have you looked into any tutorials about this sort of subject? There really shouldn't be many controls involved. You might consider using XNA. It is surprisingly easy to make a 2D game with (it even comes with a decent sample platformer). If you want something simpler, you can make a WinForms-based game using GDI+, just don't expect much in terms of performance. Either way you want to be drawing everything into a single image and showing that on-screen in a single control or directly on a form.

When you say you dan't want to make a 2D game using tiles, what do you mean? You are opposed to a tile-based game, or a specific implementation?

I've seen tutorials on this, I might use XNA, This game is Winforms, and yeah, I'm not opposed to the idea of a 2D game, it is the implementation.

I might take a look at XNA, Thanks for answering :D!
 
Top Bottom