surfordie6 wrote:For 2D programming, I recommend checking out CDX
http://www.cdxlib.com its a really easy 2D game library for C++. Not that Irrlicht can't do it, but I think irrlicht is geared much more for 3D. Anyway, in CDX you would Lock the surface, then call functions like Screen->GetBack()->PlotPixel(x, y, RGB(255, 0, 0));
I've made a particle engine using the above technique and its quite fast, up around the standard 60 FPS even with layers in the background moving. The most I've done in 2D with irrlicht, is just bitmap animation.
(First: I am the Treatstarter, but now withe a registred name
)
I like the Irrlicht Engine, and want develop 3D Games. But i want to start first with a small 2Dthing to learn the Basics and the 2D-Part of the Engine.
Now i try to make a Breakout, but not a simple 2D-Standard-Game.
So i made a litte 2D-particle Engine to use in the Game.
Here is a little Demo of it:
http://www.Thurand.de/downloads/Firework.rar(irrlicht.dll not included)
It have 2 Scenes (Firework/Starfield)
A Console
It can draw simple pixels and textured Particles.
Tu show the Console type "^" (on the Germen Keyboard)
some commands:
/show info 1 (shows FPS)
/exit
/console
/set state game (shows starfield scene)
/set state menu (shows firework scene)
Could you test it, and tel me if the Performance is OK ?