I am a small developer with low scripting skills, I wonder if I can make a piggy game like @MiniToon. I only wanna ask “What scripting element to make a piggy game?” such as Shop, Intermission and voting system, and Round system.
If you’re new to scripting, then please do not start a big project like this. You’ll need a lot of knowledge in order to understand and create things in the game.
But, I wanna know what scripting element do I need to make the piggy game like ReplicatedStorage or CollectionService. I have been scripting for 2 years and I said I have a low scripting skill because I didn’t know much about it, I didn’t know about tick() and more
Then you shouldn’t be just learn things that’s being needed for your game. You MUST learn everything, no matter what, even if they aren’t useful in the scripting, they would be useful at some point.
If you said you have a low scripting skills, then why bother defending yourself?
I have wanted to create a piggy game before, I’d say you should start with a basic version of it, for example
ok so what is included in piggy?
opening doors
keys with locks
custom characters
story system
etc…
but you need to make it basic so then do this.
instead of making the door smoothly open, you can just add a click detector and if it is clicked, then make the door invis and can collide to false and make a different part of the door appear and make it look like you opened the door
well this one is actually simple. All you have to do is that when the locked door is touched, see if the key tool touched it, if it is the key tool, then destroy the door, its how the piggy game works. This may seem hard but I’ve actually done it.
I usually would do this when you got the basic concepts down, then you can add some bonus stuff
now if you want to know the complete list of what you need to know and what to do to make the basic concept of a piggy game, here is the list.
list of things you need to do
make a round system and instead of making the player become a piggy character, you can just give them a killer tool and when the tool touches a survivor, then kill the player
you need to make a script that when the player dies, you remove them from this survivor table that you have to create because, then how is the script gonna know if it is another piggy for infection mode (a.k.a more than 2 piggies), or if they are just a player thats not a survivor
what you should learn
basics of scripting(I will give you a table of this)
the really basics of tools
basics of map making
events(this is gonna be VERY important, you better master this)
camera controls
the basics of scripting
variables
functions
for loops
for i,v loops
printing
paramaters for functions
events(I think)
and I little bit of animating
if then statements
I think this is the full list but I might missed a few