Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

sparksfly

3 easy question @ experienced dxers.

This topic is 5717 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

Hey, I am new to directx programming but an experienced games programmer using former APIs. Thanks to all people who''ve replied to my posts. 1. When loading graphics for my game (2D iso. tile/sprite based), should I load all my sprites and tiles onto ONE animation surface, or use separate surfaces for groups of sprites (e.g. a surface to hold all frames of one sprite, or surface for all tiles) 2. When using graphics should I load them straight from files, compile them into the exe as a resource, or compile them into a dll? 3. Is it better to use ddutil.h shipped with SDK examples or just write all the code yourself? Thanks for any/all answers to these questions, it helps more than u think. Rob

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by sparksfly
1. When loading graphics for my game (2D iso. tile/sprite based), should I load all my sprites and tiles onto ONE animation surface, or use separate surfaces for groups of sprites (e.g. a surface to hold all frames of one sprite, or surface for all tiles)


You decide. Tiles at same size COULD be located on one big surface, but if you have MANY tiles it will probably become annoying to handle.
My 2D engine has a tool for creating my own graphics format which supports both methods.

quote:
Original post by sparksfly
2. When using graphics should I load them straight from files, compile them into the exe as a resource, or compile them into a dll?


hmm..Don''t know. I convert tga''s to my own format (which can contain many frames in one file) and load those from disk.

quote:
Original post by sparksfly
3. Is it better to use ddutil.h shipped with SDK examples or just write all the code yourself?


If it does what you need then use it. But it loads bmp''s and everybody will be able to view and alter your image files.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!