Wednesday, May 31, 2023
Saturday, May 6, 2023
✏ _MOUSEBUTTON and GETMOUSE
For both functions, "1" would be returned to indicate that a mouse button is pressed.
Now, both functions return "-1" (i.e. the system constant TRUE) to indicate that a mouse button is pressed.
Unchanged: a "0" (i.e. the system constant FALSE) is returned to indicate that a mouse button is NOT pressed.
In any previously created BAM programs, you will need to change things like "IF _MOUSEBUTTON = 1" to one of:
- "IF _MOUSEBUTTON = TRUE"
- "IF _MOUSEBUTTON = -1"
- "IF _MOUSEBUTTON"
Subscribe to:
Posts (Atom)
đĽ "Spirographed" ellipses to create a colorful (32-bit, gradiant) spherical shape
This sample program shows how to use DRAW to create ellipses (I like to call this a "spirographing" approach. The program generate...
-
This BAM program is a port, with mods, of the GW-BASIC "CALENDAR" program by Taung-Chao Lee and Benito Navarro Mtz, as found on Fa...
-
This program by Charlie Veniot is a port and mod of Ian Witham's C64 program found in this YouTube video. New colours are randomly proje...
-
QB64 is a performance demon. BAM, not so much. So I had to mod this program a fair bit as part of reducing the resolution of the screen. A...