i’m currently in the process of trying to make 2d explosions for a 2d shooter type game.
there are various approaches i can take, the one i took initially was using various images to make an explosion the problem with this is that the explosions look too similar.
i was thinking of making them in real time using maybe particles or something, what would be the best approach to this problem using opengl?
I think a combination of images and particles would look nice.
i dont know opengl. i m a learner. but i tried 2d explosion in c++ using multithreading and simulating the following physics formulae.
v = u - gt, v(square) = u(square) - 2gh and
h = ut - .5 g t(square)
particle mass varying from 100 gms to 500 gms. initial valocity of particles ranging from 500 km/sec to 100km/sec. initial velocity direction varies in all angles. i think it will be easy in opengl. my another imagination is recursive explosion, i mean, exploding the particles generated in one explosion.