-
is win good enough?
I need to make a 2d game with sprites, they all should rotate, scale, alpha blend.
I'm gonna use double buffering.
So what do you think is windows good enough for this, i mean is it possible to create
such game, and have high preformence. I gues it's much slower than DirectDraw. :confused:
-
you could use the SDL or Allegro libraries if you find DirectDraw intimidating. They are fast and portable and quite easy to program.
-
-
Quote:
but could i use win?
Yes. Keep in mind it is probably easier to use a graphics library like opengl, but you could certantly do it using the windows GDI functions.
-
and is it gonna be slow like hell, or what??? ( i mean the FPS compared to OpenGL )
-
>> and is it gonna be slow like hell, or what??? ( i mean the FPS compared to OpenGL )
It would be slower, yes.
-
Rotating bitmaps in GDI and using alpha blending in GDI+ is still going to be extremely slow.
Use DX or OpenGL.
GDI is good for creating GUI apps, editors, tools, utilities, word processors, etc, but not really good for large games. You can get away with Tetris or other small games but when it comes to full-scale sprite games it gets a little messy.
-
i thought so...
well allegro here i come!
-
acctualy i want to learn DirectX, any good tutorial links?
-
-
If I were you, I would stay far, far away from DirectX. This isn't one of those "DirectX sucks" opinions at all, it's just really not the easiest API to learn.
OpenGL will create your game with ease, and it will be a hell of alot easier to program in than DirectX. OpenGL's function and variable naming schemes are compact, consistent, and understandable. Compared to DirectX, OpenGL is alot easier to learn and understand from the start.
The learning curve for DirectX is just a bit steeper than with OpenGL. DirectX is a very powerful API, but the features you'll be using in your game will be much easier to program with the OpenGL API.
-
SDL uses OpenGL, therefor i will use SDL!
-
Excellent! SDL is also alot simpler than using OpenGL directly. XD.
-
Do you know any good tutorials?
The ones on site are german (two of them), and others don't cover graphics.
-
Man....this is so wrong =/. I sware, someone hates me somewhere. I've lost all of my cool links -_-; First the MP3 Encoding / Decoding API, and now my SDL tutorial...gah. Maybe I'll find it again x.x, but I can't promise anything.