| Age | Commit message (Collapse) | Author |
|
Instead of directly setting the object accordingly to the mouse's cursor
orientation, use a 'speed' trick to move the object.
X and Y coordinates are now incremented according to the speed instead
of hard setting them to the current x*y hardware coordinates.
Use al_set_mouse_xy() to always reset the real mouse position (not the
object). This will avoid the mouse position to hit one of the limits
preventing the object to be moved further.
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Make the object follow the mouse position
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Add simple movement according to Allegro manual.
Signed-off-by: Carlos Maiolino <[email protected]>
|
|
Add basic Allegro initialization, draw the display and add sample object
Signed-off-by: Carlos Maiolino <[email protected]>
|