Hello, everyone. I have just joined the group, and I hope the distinguished gamers and writers in this gaming community understand that I am very much a beginner, trying to write perhaps a couple of simple dice or card games. I wrote a dice game script in BGT, and the script doesn't generate any compilation errors. However, the game window stays open only for a couple of seconds, and then disappears, so none of the program's keystrokes can be executed. I realize that BGT is no longer supported, but it does work under Windows 10, and it is the only engine where I know how to implement keystrokes and add and manipulate sounds. I checked basic tutorials for a few programming languages, and realized that game logic can be programmed in any of the languages but none of these tutorials addresses keystroke-driven implementation, or addition of sound. And even in the BGT tutorial, I have not found answers to some of my questions. The game I am currently trying to write is a dice roller, but if one tries to create, for example, a card game, how do you make a card playable? If cards exist as strings, or parts of an array, or even instances of their own class, they are just abstract logical structures. But cards need to be manipulated - picked up, discarded, etc. If I have a hand with 5 cards, how do I program a way to navigate the list of cards and then perform an action on a card currently in focus? How to make it an element of interface so it can be selected? I hope I clearly expressed my questions, and I am grateful in advance for any clarifications.
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#123320): https://groups.io/g/blind-gamers/message/123320 Mute This Topic: https://groups.io/mt/80623843/21656 Group Owner: [email protected] Unsubscribe: https://groups.io/g/blind-gamers/leave/607459/1071380848/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
