5 years agoThe view movies with the collided astroid's frame on ship's destroy. ondestroy_astroidframe
Karol Krizka [Mon, 27 Aug 2012 10:44:35 +0000]
The view movies with the collided astroid's frame on ship's destroy.

5 years agoTweaked the ship's smash properties.
Karol Krizka [Sun, 26 Aug 2012 22:52:05 +0000]
Tweaked the ship's smash properties.

5 years agoIt is now possible to define different smash properties for different
Karol Krizka [Sun, 26 Aug 2012 22:48:10 +0000]
It is now possible to define different smash properties for different
objects.

5 years agoThe ship is rigged to lose control if hit by an astroid.
Karol Krizka [Sun, 26 Aug 2012 21:35:20 +0000]
The ship is rigged to lose control if hit by an astroid.

5 years agoClear forces after simulation, as suggested by pybox2d documentaiton.
Karol Krizka [Sun, 26 Aug 2012 21:29:54 +0000]
Clear forces after simulation, as suggested by pybox2d documentaiton.

5 years agoGObjBox2D now has an area attribute. When the body's position is outside of this
Karol Krizka [Sun, 26 Aug 2012 10:35:47 +0000]
GObjBox2D now has an area attribute. When the body's position is outside of this
area, the object is automatically deleted.

5 years agoGame objects now require a name, GameObject.update() is called every
Karol Krizka [Sun, 26 Aug 2012 10:22:47 +0000]
Game objects now require a name, GameObject.update() is called every
turn, GObjBox2D stores a pointer to itself inside user data of a Box2D
body, bullets are removed when they hit an astroid.

5 years agoPut bullet into its own class.
Karol Krizka [Sun, 26 Aug 2012 01:06:01 +0000]
Put bullet into its own class.

5 years agoThe gun is now managed by its own class.
Karol Krizka [Sat, 25 Aug 2012 23:52:59 +0000]
The gun is now managed by its own class.

5 years agoMade the ship rotation slightly faster.
Karol Krizka [Sat, 25 Aug 2012 23:47:17 +0000]
Made the ship rotation slightly faster.

5 years agoThe ship now rotates with the speed and the bullets are fired relative
Karol Krizka [Sat, 25 Aug 2012 23:43:09 +0000]
The ship now rotates with the speed and the bullets are fired relative
to the ship.

5 years agoShip now moves left and right within 0+-100 using left and right
Karol Krizka [Sat, 25 Aug 2012 23:29:14 +0000]
Ship now moves left and right within 0+-100 using left and right
keyboard buttons.

5 years agoDon't draw AABB boxes anymore.
Karol Krizka [Sat, 25 Aug 2012 23:09:12 +0000]
Don't draw AABB boxes anymore.

5 years agoThe beginnings of an astroid game. A ship that can fire at a randomly
Karol Krizka [Fri, 24 Aug 2012 16:28:32 +0000]
The beginnings of an astroid game. A ship that can fire at a randomly
generated astroid.

5 years agoThe only way to update a Game state is through listeners now.
Karol Krizka [Fri, 24 Aug 2012 16:28:18 +0000]
The only way to update a Game state is through listeners now.

5 years agoSmasher now doesn't try to break-up non-polygon shapes, as we don't know
Karol Krizka [Fri, 24 Aug 2012 16:27:44 +0000]
Smasher now doesn't try to break-up non-polygon shapes, as we don't know
how to do that yet.

5 years agoMoved the code that performs smashing on contact to the smasher module, pointbasedsmash
Karol Krizka [Fri, 24 Aug 2012 14:50:19 +0000]
Moved the code that performs smashing on contact to the smasher module,
so it can be reused in other code.

5 years agoThe area over which points are generated for contact based collision
Karol Krizka [Fri, 24 Aug 2012 00:22:51 +0000]
The area over which points are generated for contact based collision
smashing is now proportional to the impulse at the point.

5 years agoAdded a minimum area for new polygons in smasher.
Karol Krizka [Fri, 24 Aug 2012 00:19:51 +0000]
Added a minimum area for new polygons in smasher.

5 years agoAdded a bit more debugging output, the test is now focues on boxes 2+3
Karol Krizka [Fri, 24 Aug 2012 00:19:16 +0000]
Added a bit more debugging output, the test is now focues on boxes 2+3
and made box 3 a bullet.

5 years agoSetup first box as the main test of smash-code and implemented it using
Karol Krizka [Thu, 23 Aug 2012 23:58:45 +0000]
Setup first box as the main test of smash-code and implemented it using
a gaussian spread around impact points with a static width.

5 years agoInitial import.
Karol Krizka [Thu, 23 Aug 2012 20:37:45 +0000]
Initial import.