Search found 779 matches
Jumping to an empty line seems inelegant, if not illogical. Then just use the NOP (=No Operation) statement: Dim bytvar As Byte Dim bstatus As Byte Do Input "Enter a byte value (0 to quit): ", bytvar If bytvar = 0 Then Exit Do End If ' If bytvar = 1, then Status = 1, else Status = 0 ASM c...
Sorry, "Generator" of what? From chessboard to FEN? And vice versa. You can set and read the FEN as well as the board: Dim As Integer board(12,12) Dim As tFen gamefen Dim As String myFEN myFEN = gamefen.fen 'generates a FEN from the members of "gamefen" myFEN = gamefen.fen(board...
This is your parser for extract data from the FEN? It's a parser as well as a generator. The advantage is that you don't have to care about the conversion. Just read or write either the FEN or any of its values as a variable. The example I've posted won't work as standalone, because it's linked wit...
In my Colochessum engine testing program I solved this with properties. You only have to write the fen string to the UDT and immediately afterwards you can read all corresponding values. Conversely you can get the fen from the actual values (you should replace the Integers with ULongs): Type tFen pi...
- Feb 05, 2021 11:43
- Forum: Game Dev
- Topic: An attempt to create a first person adventure game engine
- Replies: 38
- Views: 1446
Do you mean a kind of adventure? Or an egoshooter?
- Feb 02, 2021 17:21
- Forum: Game Dev
- Topic: an attempt to create a Tamagotchi cat program
- Replies: 41
- Views: 1408
@BasicCoder2: I had the same issue. After copying the whole content of the fbsound-1.1 folder (including the subfolders) into the tamagotchi program folder it worked. No clue which of the files are really required.