Chapter 20 Games Programming Terry's Tutorial
#1
@TerryRitchie

I was looking for drop menus code and Search directed me to Chapter 20:
Quote:Lesson20
... game; A button library to create Windows style clickable buttons on screen, a menu library to create Windows style drop down menus, and graphics ...
Last modified on May 7, 2023
Looked like just what I wanted to see but I read through Ch 20 found a Collision Library building example and an API thing but nothing on Drop Menus and clickable buttons.

Is this an omission or misdirection (another Chapter has these things)?
b = b + ...
Reply
#2
Oh Admin posted one labeled Terry's library! 
https://staging.qb64phoenix.com/showthread.php?tid=83

OK I will check that out.

Update: Very nice work! Looks great!

Hmm... can I work it into my GUI?
b = b + ...
Reply
#3
I did download the button, menu and sprite libraries without thinking much about it. I liked how Terry wrote the documentation for the sprite library.

One day I was very bored. Downloaded a couple of button icons from somewhere, made sure to have "on" and "off" pairs of similar-looking buttons. Then I wrote a QB64 program with that button library which got complicated quickly. It's just a silly program that scrolls some things from left to right on the screen with buttons in the midst, stupidly and randomly turning "on" and "off". Irked that I didn't "select" the button images very well on most of them so it wasn't very professional looking.

One thing was that Terry's button library was quite easy to use.

Also used the menu library for a program I wrote for a laptop I had which had some broken non-operating keys on the keyboard. I created it for "mouse-typing". I got carried away and added the menu to select a few more entries without having to type them whole. I had the program read an input text file to tell it how to fill in the menu. Smile

Sadly, soon after I got that working more or less how I wanted, and the next time I tried to boot into WindowsXP I got a SMART failure of the internal HDD and it was the beginning of the end for that 15-year-old computer. Sad
Reply
#4
(06-29-2023, 05:33 PM)bplus Wrote: Oh Admin posted one labeled Terry's library! 
https://staging.qb64phoenix.com/showthread.php?tid=83

OK I will check that out.

Update: Very nice work! Looks great!

Hmm... can I work it into my GUI?
Sorry about that, a few days ago you asked about my menu library and I said I would post it but I saw it was already posted by the admin. I forgot to tell you it was already there.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply




Users browsing this thread: 2 Guest(s)