2 months ago

Hello Clickteam Nerdz!

Here's another simple tutorial I threw together while bashing my head against the table due to hours of troubleshooting:

A whitelist system!


Alright, so basically this code you’re looking at in the screenshot is a beta tester whitelist.

First, it checks if the INI group for testers exists. If it doesn’t, it makes the group and throws in some default usernames like mine and my alt.

Then, every frame, it loads the usernames from the INI into alterable strings so the game always knows who’s allowed.

When someone logs in through GameJolt, their username gets saved into a global string (Don't worry, it is cleared once the game is closed, no shady collection here). The code then checks: if the username matches one of the allowed testers, a tiny timer fires and takes them to the next frame. If it doesn’t match anyone, a different timer fires and locks them out, showing a little message.

Using timers here makes sure the frame jumps happen smoothly without messing up the event loop.

That’s it. Simple, safe, and it keeps the game locked down to just the people you want testing it.


Slightly off-topic, but this is exactly the same whitelist code structure I will be using for when I start doing Cube's Dark Hours 2 Reshined beta test builds!



3 comments

Loading...

Next up

great game

five nights at frickbear’s 3 is good or something burp

This guy is getting a redesign, AND an official name!

Many thanks to @Eantyant for giving me inspiration on his new upcoming design; go drop him a follow!

In today's Fusion3 blog we discuss Auto Compiling and the new Shader Editor! #MadeWithFusion #Fusion3 #Indiedev

https://www.patreon.com/posts/fusion3-blog-137895395

Haven't posted stuff here in a bit.

CDH2 Reshined's development is chugging along nicely!

"Create a New Active" 640x480 Drawing in MS Paint. No drawing Tablet used (All via Mice). You can classify this as Fusion Fan-art :P

okay this is actually cool

Steam Winter Sale 2025 is in full swing! Get up to 80% of Clickteam Fusion products and up to 75% off of select games! #MadeWithFusion #Indiedev

https://store.steampowered.com/publisher/Clickteam

https://www.clickteam.com/web-shop

https://itch.io/s/171761/clickteam-winter-sale-2025

butter brick