Jump to content
  • Advertisement
Sign in to follow this  
Tjaalie

What API???

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

Hi, I used DirectX for some time and i also took a look at OpenGL, but now i want to create a simple 2D game engine wich suports (for rendering) some simple image rendering and transparantion, nothing very advanced so wich api could i use the best of those too (maby a total different one). Ow and i want to mention i hate the D3DX library so im not going to use the spirte interface form the D3DX library). Thanks for you awnser. Tjaalie

Share this post


Link to post
Share on other sites
Advertisement
i think you answered your own question. If you refuse to use the 2d sprite library in directX, you should goto openGL for your needs and create your own sprite library. I always liked directX for 2d and openGL for 3D, but both work nicely in either case. Writing a sprite library doesnt take too much time anyway, so I would suggest openGL. Good luck.

Share this post


Link to post
Share on other sites
Before you make your decision, you might want to review this thread and then make an objective decision on the principles outlined.

http://www.gamedev.net/community/forums/topic.asp?topic_id=337097

Share this post


Link to post
Share on other sites
If you have any concerns as to whether or not you'll be able to finish the project or not, you should be starting as simple as possible.

eg.. use BitBlt.

Share this post


Link to post
Share on other sites
Becouse i don't like functions that cover away things
(like the D3DXLoadTextureFromFile() stuff) i prefer to
invite the weel and find out how it spins. The same way
goes for sprits (im on my way now to find out how it works and
when i find out i will make my own version). But till then
i would like to hear how i need to do this, should i create
quats and apply textures on them or can i just put raw pixels on
screen??? and wich one is better (if you can put raw pixels on
the screen don't know if its possible).

Tjaalie,

Share this post


Link to post
Share on other sites
Quote:
Original post by Tjaalie
Becouse i don't like functions that cover away things
(like the D3DXLoadTextureFromFile() stuff) i prefer to
invite the weel and find out how it spins. The same way
goes for sprits (im on my way now to find out how it works and
when i find out i will make my own version). But till then
i would like to hear how i need to do this, should i create
quats and apply textures on them or can i just put raw pixels on
screen??? and wich one is better (if you can put raw pixels on
the screen don't know if its possible).

Tjaalie,


Quads will no doubt be the fastest and easiest. Individual pixel manipulation is possible, but it would likely be slow (especially for the whole screen) and be fairly difficult to set up...

Share this post


Link to post
Share on other sites
Quote:
Original post by el capitan
Before you make your decision, you might want to review this thread and then make an objective decision on the principles outlined.

http://www.gamedev.net/community/forums/topic.asp?topic_id=337097


I would strongly suggest that you ignore this post and its linked thread.

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!