I love this! I really tried to do an earlier puzzle (the passport regex) in Roblox with my daughter but I couldn't figure out how to make the NPC Humanoids work. Would you share any guides/tutorials that you followed or other tips?
Sure! you can generate characters using the built-in rig builder (plugins tab -> Build Rig). they're not animated by default, but I found that you can just copy the animation script from your player character when you test the game and paste it into the rig. as for the programming part, here's the tutorial I followed to make them move around.
they're not really ripped, they're just... blocky. they actually are the default characters provided by the engine. but now I can see how they look kinda buff and I can't unsee that now
Basically: you build a game world by placing items such as blocks, meshes, effects, UI elements, etc, then you can create Lua scripts that are able to access these items and change their properties, trigger some of their behavior, listen for events, delete them, instantiate them...
while Lua is great for being a simple and easy to use language (I actually learned programming using Lua as a kid), it's not really good for performance-intensive work, thankfully Roblox does provide a ton of built-in functionalities. that pathfinding system I used here is one of those: I just give the start and end positions and the underlying C++ engine does the work. the characters and their animations were also provided by Roblox. other examples of built-in features I use often are, to name a few: the persistent database, the ability to fire events across other live game servers, and the HTTP library which allows my games to communicate with external web servers...
I was just looking at this with my kid last night. There's a pretty solid base of built-in primitives that makes getting started quite easy. Here's the movement scheme, for example: https://developer.roblox.com/en-us/api-reference/class/PathfindingService. (But I've seen reference on the forums to people writing their own A* pathfinding, as well.) Lots of community scripts to, er, borrow from. If you're AOC'ing, I think you'd pick up Roblox pretty easily.
60
u/daggerdragon Dec 14 '20
What is this, musical chairs for rugby players?
37
u/boldcounselor Dec 14 '20
i think out of all the visualisations i've seen this is one of my favourite! reminds me of the fun times i had playing roblox as a kid :)
6
u/thickburb Dec 14 '20
So glad someone did this!
1
u/cp4r Dec 14 '20
I love this! I really tried to do an earlier puzzle (the passport regex) in Roblox with my daughter but I couldn't figure out how to make the NPC Humanoids work. Would you share any guides/tutorials that you followed or other tips?
0
u/[deleted] Dec 14 '20
[deleted] — view deleted comment
0
u/[deleted] Dec 14 '20
[deleted] — view deleted comment