Sign in to follow this  

Quick question

This topic is 2812 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 mean it depends on what you want to do, but for what I think of as a tile map editor, i.e. 2D in a window with scroll bars and tool palettes, I think DirectX would get in your way more than anything else. Use DirectX if you need hardware acceleration otherwise it's the wrong tool. Personally I'd use the GDI but I understand that GDI programming is a pain if you haven't done it a lot before. Isn't there GDI+ nowadays? -- I've never touched it, but maybe use that.

Share this post


Link to post
Share on other sites
Quote:
the new GDI+ does support pngs. I might go with this.


Yeah, regular GDI definitely doesn't have built-in support for anything besides BMP files via LoadImage(). GDI+ will probably work. Also, you could use SDL maybe?

[Edited by - jwezorek on April 1, 2010 6:56:01 PM]

Share this post


Link to post
Share on other sites
You might think about using the same graphics API (and code even!) to render for the editor as you do for the game.

The reason being, if they are different, it might look a certain way in the editor but a completely different way in game.

The more the editor is like the in game experience, the less of a pain it will be to use the editor.

The unreal engine for example does this

Also, if you are using C++, i recomend using wxWidgets for your UI code, it's very simple to use, it's open sourced and it's very nice.

Unlike some other UI libraries, it gives you native looking UI too, which means when you run it in windows, it looks like a regular windows app (cause it is).

But the same is true when you run it on other platforms, it looks like you would expect an application to look on that platform.

And funny enough, unreal engine uses wxWidgets for it's UI too :P

(not tryin to push unreal hehe...)

Share this post


Link to post
Share on other sites
Quote:
Original post by Wizecoder
Have you looked into using Direct2D? I haven't used it much before but I think it is the current Microsoft technology for 2d games.


If if he uses Direct2D he is limiting his users to people running either Windows 7 or Vista right? -- I mean that may not be a problem but a lot of people still use XP.

Share this post


Link to post
Share on other sites

This topic is 2812 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this