I’m in the process of making a game, progress is great, I’ve dropped some money on its soundtrack and more. I’ve worked very hard at making every model and UI myself along with coding the UI. I’m not asking anyone to write the code for me, obviously that’s not beneficial for me anyhow, considering I’d like to update my game and understand the code myself. However, I’ve come to a standstill, as I have in my past creations.
The issue? I’m mainly a builder, I love to 3D model, I love to create UI and I’m an absolute beginner when it comes to code. I have ventured as far as to create an in-game lobby, camera angle scripts, and just various codes that work with the UI I’ve created for my game. However, the main engine for the game I need ideas on how to go about starting this script.
Some screenshots I’ve taken of my game in progress… The second one is essentially how I would like my engine to work. But I just would like ideas on how to go about this.
What I’ve thought about…
It has a 12 player max, the encounters would work like this.
The player is moved here, along with monsters spawning from my replicated storage after each is defeated.
I have thought to create 12 of these templates so that if all 12 players are fighting, they each have a spot, however I get stuck making the code figure out which encounter area is empty opposed to not, would I have to script something to assign each individual player a player number 1 - 12 and each spawn be specifically for that player? Same would go for the monsters that spawn… I’m mainly just looking for ideas. What could be my go to for this type of script?
If you’ve gotten this far, the basic concept is doing damage, taking damage dependent on what UI icon you’re clicking on during the combat. Its whack-a-mole with more thought behind each click as there are some you will not want to click.
Down the line I would like to learn more about datastores, but for now I am just working on getting a prototype out there that works. Thank you for reading all of this if you’ve gotten this far!