3.3 - Mouse Input in Allegro 5

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
777 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 6, 2011

More tutorials can be found at http://fixbyproximity.com.

This post is a portion of my ongoing series about 2D Game Development using the Allegro 5 library. You can see all of the posts by going to http://fixbyproximity.com and clicking the "2D Game Development" button at the top of this site.

Important, during the video I mention how to turn off the mouse cursor. In the video, the cursor is still visible. This is due to the recording software. I assure you it works.

Continuing our look at input in Allegro 5, it is time to talk about mouse inputs. You will find that mouse inputs (in my opinion) are easier to utilize than keyboard inputs. This makes sense, of course, if you consider how many more keys there are than mouse inputs.

This will conclude our look at inputs in Allegro 5. In Part 4 we will be looking more into the event system and learning how to make a good, consistent game loop.

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • so what would be the mouse wheel numbers? we have 1 = left, 2 = right... is 3 mouse wheel up? and 4 mouse wheel down? please reply. and thanks for the vids!!!

  • Brilliant .. thank you so much

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more