mdkess / Platformer2

A second attempt at making a 2D platformer, this time with libgdx
3 stars 0 forks source link

Create a trigger system #19

Open mdkess opened 12 years ago

mdkess commented 12 years ago

We need a trigger system to make interesting levels. The system should be hierarchical (that is, triggers should be able to trigger other triggers).

Area triggers: Triggered when an entity which passes the trigger's filter goes through the area.

Interaction triggers (ie. switches): Triggered when an entity interacts with it.

Timer trigger: Triggers after a count down finishes.

Periodic triggers: A timer trigger which pulses, that is, triggers every fixed interval.