dig1tt's profile picture. programmer @lfgroblox @firebitdev

digit

@dig1tt

programmer @lfgroblox @firebitdev

Roblox released this neat Luau feature earlier this year that allows you to use string requires! Here’s an example of how you could convert your code to use string paths #RobloxDev #RobloxStudio #Roblox

dig1tt's tweet image. Roblox released this neat Luau feature earlier this year that allows you to use string requires! Here’s an example of how you could convert your code to use string paths

#RobloxDev #RobloxStudio #Roblox

Dev Tip: Use boolean expressions in variables! Instead of writing bulky if statement blocks, use these shorthands for cleaner code: X and Y or Z or if X then Y else Z. What's the difference? X and Y or Z: Compact but tricky! It evaluates X first. If X is true it returns Y, but…

dig1tt's tweet image. Dev Tip: Use boolean expressions in variables!

Instead of writing bulky if statement blocks, use these shorthands for cleaner code: X and Y or Z or if X then Y else Z.

What's the difference?

X and Y or Z: Compact but tricky! It evaluates X first. If X is true it returns Y, but…

Struggling with AutomaticCanvasSize for lists or grids? It often sets the canvas height too short, clipping elements, or too large, leaving a huge gap. I made a module that perfectly sizes ScrollingFrame canvas heights! #RobloxDev #RobloxStudio #Roblox

dig1tt's tweet image. Struggling with AutomaticCanvasSize for lists or grids?

It often sets the canvas height too short, clipping elements, or too large, leaving a huge gap.

I made a module that perfectly sizes ScrollingFrame canvas heights!

#RobloxDev #RobloxStudio #Roblox

Dev Tip: Safely remove items from a table! Normal loops break when using table.remove because the table size changes when removing an item. Loop backwards instead! This method is commonly overlooked by devs. #RobloxDev #RobloxStudio #Roblox

dig1tt's tweet image. Dev Tip: Safely remove items from a table! Normal loops break when using table.remove because the table size changes when removing an item. Loop backwards instead!
This method is commonly overlooked by devs.

#RobloxDev #RobloxStudio #Roblox

Dev Tip: avoid magic numbers! Using hard coded values like "health -= 13.4" reduce clarity and makes things harder to find. Use constants instead and choose clear names like BLAST_RADIUS, PLAYER_RUN_SPEED, and WINNER_COIN_AWARD #RobloxDev #RobloxStudio #Roblox

dig1tt's tweet image. Dev Tip: avoid magic numbers! Using hard coded values like "health -= 13.4" reduce clarity and makes things harder to find.

Use constants instead and choose clear names like BLAST_RADIUS, PLAYER_RUN_SPEED, and WINNER_COIN_AWARD

#RobloxDev #RobloxStudio #Roblox

I made a simple guide on getting set up with Rojo & VS Code 🧵 #RobloxDev #RobloxStudio #Roblox

dig1tt's tweet image. I made a simple guide on getting set up with Rojo & VS Code
🧵 #RobloxDev #RobloxStudio #Roblox

I made a FREE module for easily managing player leaderboards! Get, set, and increment stats in one place! #RobloxDev #RobloxStudio #Roblox

dig1tt's tweet image. I made a FREE module for easily managing player leaderboards!

Get, set, and increment stats in one place!
#RobloxDev #RobloxStudio #Roblox

Control your obby’s lava with one script! Tag parts with "Lava" using CollectionService to damage players. #RobloxDev #RobloxStudio #Roblox


Loading...

Something went wrong.


Something went wrong.