Bug Escape - My new game written in SmallBASIC

Started by J7M, March 05, 2024, 22:04:41

Previous topic - Next topic

J7M

I finished a little puzzle game. It is a little bit inspired by Minesweeper. The game is written in SmallBASIC using raylib. More on itch.io. You can find the source code on Github. Enjoy the game. :)




Steve Elliott

Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Qube

"Use your sixth sense to feel the traps" :))

Lovely simple game that's been done really well. Great work 8)
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

SToS

J7M, great example (showcase) for SmallBASIC using Raylib and a really good looking game.

I did find a small bug (no pun intended) though.

All testing done under Linux Debian (bullseye).
When exiting the game there is a segmentation fault due to you not unloading the font (I'm sure you know how to resolve that so I won't insult you by posting a fix) ;D
Also, although it never caused a fault, closing the audio device would be a belt and braces idea maybe?

Good work Sir.

J7M

QuoteWhen exiting the game there is a segmentation fault due to you not unloading the font (I'm sure you know how to resolve that so I won't insult you by posting a fix) ;D
Thank you, I forgot to unload the font. Never realized it, because on my Manjaro-Linux I don't get a segmentation fault.

QuoteAlso, although it never caused a fault, closing the audio device would be a belt and braces idea maybe?
I never thought about this. I'll do.

chrisws

In the newer/unreleased version of SB + the plugin, there is some extra cleanup for raylib variables that fall out of scope. Also some logging at exit time to tell you about any leaked resources.