Serebriakov / dwlab

Automatically exported from code.google.com/p/dwlab
0 stars 0 forks source link

[Framework] Collision registration mechanism #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Collisions will be separated into following types:
* All collisions
* Vertical collisions
* Horizontal collisions
* Up collisions (while moving up)
* Down collisions (while moving down)
* Left collisions (while moving left)
* Right collisions (while moving right)
User should be able to register sprite map or tile map collision using one of 
these groups. Sprite and tile map should be specified then. User also can 
specify one or more classes of collided sprite for sprite map collision 
registration and one or more tile numbers for tile map collision registration. 
Handlers specified in registration commands will be executed only if 
corresponding conditions are met.

RegisterCollision( Group = All, Map, Elements[] = Null, Handler )

Original issue reported on code.google.com by MattMerkulov on 22 Apr 2013 at 3:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by MattMerkulov on 14 Aug 2013 at 5:26

GoogleCodeExporter commented 8 years ago

Original comment by MattMerkulov on 14 Aug 2013 at 5:26