A very common set of functions that are often used by GUI creators are:
These functions are used to either take a 3D point and convert it to 2D or vice versa (with rays). I think most people can agree that these functions are super useful, but not many people know how they actually work under the hood! As a matter of fact these functions weren't added until close to mid 2015 so what did people do before them?
Snack Break problems have been a running blog series on Scripting Helpers for the past three years, originally started by Unclear. Since then, the authors and frequency of posts has changed, but the purpose is the same: Provide a quick and thought-provoking challenge for new programmers to overcome and experienced programmers to perfect. To start off our third year running of problems to solve, we have another challenge ready to go.
The last snack break may have been a little too difficult or a little too technical, so this time we're stepping it back it some with a much simpler challenge.
But first, the "winners" of 25!
As noted in the blog schedule post, Scripting Helpers will now be hosting monthly Game Jams for ROBLOX!
Details are still being worked out for how judging will work, but the most important information is that these Game Jams will not feature Robux rewards unless sponsored by a third party. These jams will be mostly-informal competitions to get you all making games, but the more people that participate the better!
Without further ado, the theme of this month's Game Jam is....
A lot of times when writing code you will have something that doesn't error but doesn't work either. These, very simply, are bugs in your code.
TL;DR: When your code isn't working but you don't know why, add
print() statements to every unique code block and figure out exactly which lines of code are and, more importantly, are not running! Use these
print()s to check what your variables are as well.
This article will be about how to use
print() as your most basic tool for "debugging" your code!
Hey guys! It's been a while! Sadly, I don't have the submissions for the last Snack Break, so we're starting fresh again.
Snack Breaks for here on out will be regularly updated! Be sure to check the schedule for the exact dates.
As promised, here's the blog's new Official Schedule!
|1||Game Jam Start||Snack Break|
|2||Tech Article||Tips & Tricks|
|3||ROBLOX Updates||Snack Break|
|4||Game Jam Winners||Tips & Tricks|
Introducing the new Staff Members
Hello everyone, I'm the new blog writer!
To start off my new job, let me introduce myself and the other new members of the Scripting Helpers team:
- adark (FuriousProgrammer#0842) - Blog Writer
- Andorks (Andorks#3802) - Community Moderator
- ImageLabel (Meechie#9943) - Community Moderator
- jackctaylor (jackctaylor#7478) - Community Moderator
- TeaSPoon273 (TinyPanda#5252) - Discord Moderator
- GoldenPhysics (GoldenPhysics#7829) - Administrator