Hello,
A friend sent me this code. I’ve spent literally ages going round the the Getting Started section and then “Tips for new users”, which tells me incomprehensible things like "Only use Unity versions with an “f”, no “a”, no “b”. All I want to know is where I can paste this code and test it? Is it on this website somewhere, in a browser? In an application? Do I need to download some tools or utilities? I’m sorry for what must seem like a really stupid question to all you experienced users, but I am as frustrated as hell by not being able to get started. I was just looking for a simple place to develop some simple games but I seriously wonder how many people like me register and then can’t get started?. The majority of them probably move on quickly to the next programming tool.
Let me show you the code I would like to test:
void Update () {
// Update the position of the ball
Vector3 pos = transform.position;
pos.y += speed * Time.deltaTime;
transform.position = pos;
// Check for collision and bounce
if (pos.y > maxHeight) {
speed = -speed;
}
else if (pos.y < minHeight) {
speed = -speed;
}
}
You need to download the Unity software and use that. There is a button/link at the top of the forum for “Get Unity”, so that is where you should be starting.
When you look at the Unity versions, each will have version numbers and some letters. That is what this refers to. ‘a’ are alpha builds of the IDE; ‘b’ are beta builds of the IDE; ‘f’ are the ones you want to look at getting as these will be the ones that are also marked as LTS (Long Term Support).
I doubt this happens. I think most people will understand that if they want to develop something in Unity then they actually have to download the Unity IDE and then following any tutorials/learning is pretty straight forward from that point on.
Very seriously you should avoid predictions based upon extremely limited knowledge of (from what we can tell) Unity, game development and programming in general.
You even stated “A friend sent me this code” so where is your friend now?
That is a common theme in your replies. It is not helpful, it is not accurate and the Unity examples work for many of us. What have you written? Post your favorite tutorial or better yet write one. Solve a problem don’t rag on about everyone and everything else.
This is my attempt just now to do the John’s 3D Haunted House tutorial project in the learn section! Won’t even install the package files! I’m on Unity 2021.3 on Ubuntu Linux, allegedly a supported OS.
And again you repeatedly include “I’m on Unity 2021.3 on Ubuntu Linux, allegedly a supported OS”. We can read, please at least believe that. We users are aware that some tutorials are out of date but if you are inferring that the demo did not work at the time the demo was posted I believe you are wrong.
Software is a dynamic medium. Updates have been applied to supported libraries, bugs are introduced, situations change and a professional learns to adapt.
No professional follows are uses a product/tool that they honestly believe can’t post working demo projects. Find the fix and post the solution like other professionals.
If you can’t find a fix in due time move on. Meanwhile what is the point of an entire screen shot for what is a single line errors.
Start a thread named “Does anyone have a solution for this type of error” and post the name of the project, the version you are using and the error message.