Merge pull request #6 from variousauthors/megaman_controls

Megaman controls
Merge branch 'megaman_controls'
Pellet gun is working.
Basic input library.
Instantiate input library in main for fiddling.
Different kinds of bullets look different
Added collision with bullets

Entity takes damage from enemy bullet, and bullet is cleaned up
Added from = "any" state transitions

- from any state to damaged if entity has damage
[WIP] trying to get the damage slide working

When megaman is hit by an object or enemy, he slides away from
it.
Got it!

The direction and facing are based off the centers of the colliding
objects.
Megaman is temporarily invulnerable after being shot

Bullets pass through him, he flickers and flashes
Deactivate the x_buster when megaman is damaged
OMG is it working?

In theory, yes. But the player object kind-of confuses me, so the states
don't get passed along yet.
Player receives input from Input

also handled the case when there are no joypads :)
Added separate controls for p1 and p2

Which should just work on joypads? Keyboard only works for player
1 because there are no bindings for player 2.
Merge pull request #8 from variousauthors/input

Input
Merge branch 'input' into chill_penguin

Conflicts:
	main.lua
	player.lua
	player_movement.lua
Merge branch 'chill_penguin'
Implemented wall jumping
OK WALL JUMP works on both sides now

UGH.