Showing posts with label laser. Show all posts
Showing posts with label laser. Show all posts

Wednesday, February 20, 2013

Plasma gun

No screen today, only a little note.
Yesterday I've replaced static laser canon with a plasma gun. Technically you can imagine it as standard spaceship weapon in Star Wars series. It requires quite more of CPU cycles, but I think the result is worth it. Collisions in 3D can really be pain in the ass, fortunately I'm using XNA math library for vectors, matrices, etc. Is has this set of functions in xnacollision.h like:
BOOL IntersectRayTriangle( FXMVECTOR Origin, FXMVECTOR Direction, FXMVECTOR V0, CXMVECTOR V1, CXMVECTOR V2, FLOAT* pDist );
So collision detection is quite simple with this. When I finally sit down and force myself to write instancing and frustum culling every model will have its own bounding volume which make collision detections even simpler and faster.

Tuesday, February 19, 2013

MVP ready!



MVP of Drumstep Defenders is on! Download it here:
And here's a little screen:


Fast track to beta version now! I need to replace laser with lightning machine gun, add few more enemies, some bosses maybe, and of course 2 more scripted tracks to play. Meanwhile, have you seen this video yet? It's hilarious :D