does anyone know a script i can use to make a snake game, im sorry, im just horrible at scripting
There are lots of scripts on the wiki and in the forums, you could use any number of them.
That is to say,
what an incredibly broad question, and no, no one is going to write your game for you for free. You’ll want to go through several tutorials, get better at scripting, and come back with a specific question. ![]()
actually, i meant a random spawing script, i have the one for the snake, and thats how i know im horrible at it, it took me 3 days to do, and i made the script short
Use Random liberally.
Create a bunch of locations things can spawn in and
Instantiate( spawnable, spawnPositions[ Random.Range(0, spawnPositions.length) ], Quaternion.identity )
or make them spawnable at certain points and
Instantiate( spawnable, Vector3( Random.value * spawnGridSizeX, Random.value * spawnGridSizeY, Random.value * spawnGridSizeZ ), Quaternion.identity )
There are more ways to do it but Random is the key.
thank you
hello
Can you please help in developing this game…really i need your help in doing this.
will be waiting for your response. This snake game is really hurting me. Help me out…i am new to this unity tool.
to create the snake game we need to have some surface for the snake to roll on. Is it the right process to create that surface with terrain? or do we need use some thing else to use? and what we have to use to create snake? please reply to his post.
are you willing to pay someone to help you learn or program for you or are you just looking for help?
I am a student and I am learning it for the sake of my project, for my academic project I am looking for help? Is it possible to you to help me.@shredder2500
Sigh…not sure if I’m more depressed by the Unity forums lately, the state of the education systems across the world, or just people in general.
It is possible to learn scripting. In this case you need to start by finding what other people have done. To learn Object Oriented Programming (OOP) scripting the first thing you have to do is let go of any “forward” or “practical” method of thinking. Things in OOP have abilities unto themselves, so you don’t have to say, “This frame update all of these.” They should do that themselves.
For scripting at it’s core. Find what other people have done and start using it. Make what they did work for you. (even if it isnt what you are working on) Then seek to change it.
Start Here with the Wiki. This will give you examples of stuff that has been done and ideas for the future.
If you have any questions Ask them here first. Searches do wonders.
I would not be depressed. Many times people who come here are looking for something and either are too young, or find English hard. Young people just need to be prodded in the right direction. And though translating can sometimes be a pain, people of different cultures wish to use this stuff too.
I only fault the people who don’t try, or expect everyone to do it here for them. Those people are the people who need to be paying for services. ![]()
You asked the same thing here (the above is apparently just a copy-and-paste), and I answered there. Instead of reposting the same question again, it’s generally better to post follow-up questions to the original thread. That way the discussion stays in the same place and is easier to follow, and people won’t duplicate their efforts ![]()