jleahey / Minicraft

A Minecraft 2D Demake
http://gamejolt.com/freeware/games/adventure/minicraft/2818/
Other
9 stars 0 forks source link

Toss objects toward the mouse #15

Open perimosocordiae opened 11 years ago

perimosocordiae commented 11 years ago

Right now, tossed objects are placed randomly somewhere near the player, on the side that the player is looking toward, with a small upward velocity.

I propose changing this behavior to instead give the object a velocity vector pointing towards the mouse, with a small random magnitude. The object would start roughly near the player's nose.

jleahey commented 11 years ago

This would be nice I agree, but we should be sure to leave in the code we have already as well for future touch controls.