Skip to content

Should I trust the process?

Greetings, I'm writing this post hoping to reach some game developers/computer scientists to get some tips and share their thoughts about what I'm writing here and my "concerns".

I'm 25 years old and I'm studying a Computer Science course for video games at the local university.
This is a 3 years course and once it's done, I'll get a degree in Computer Science Engineering (I'm Italian, so I don't know if it is the correct translation lol).
It's my first year and thanks to a great professor, I've acquired the necessary foundations to learn any coding language.

Now, me and my group of colleagues are dealing with a project for an exam: we have to create a 2D game using Unity.
They actually haven't taught us much about how to use it tho, and I'm learning it all by myself through videos and AI.
The main topic about this post is exactly AI. (DISCLAIMER: the professor allowed us to use it).
I know how to code very basic stuff like programs that run on cmd terminal, but I'm very ignorant about complex codes and scripts for games. (for example, no one taught me how to make a functional hexagonal grid on Unity that will be later used as a core game mechanic).
I've made this kind of script for this project and it's 90% AI... basically nothing is written by me from scratch.
I know exactly what it does tho, I've studied it, I understand it and I always "copy" the codes by typing instead of by doing copy-paste without even reading it.

My questions and concerns are: is it normal to lack this much knowledge? Or they are asking way too much from us for being our first year?
Are they making us learn how to use AI aswell as it will be a powerful tool for us devs in the future?
I feel like I'm relying too much on it, but right now I really don't know what I can actually do and can't do on Unity, I don't even know what methods/functions can do because no one taught me that. (I literally begun using Unity not even a week ago).
I really want to learn how to code properly and mostly by myself... are they going to teach me that in the future? Or will I learn it "seriously" when I'll get hired and start working? I hope so...

What do you think?
Are my concerns legit?
Do I just need to calm down, keep going and trust the process?

0 points25 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 43% up
Kind
Text
ID
1tf43kt

Author

1
posts
10
comments
0
media
View profile

26 comments

It seems like you don't have much experience with coding and are using AI as your developer instead of as a tool. In my opinion, this is a very bad idea because using AI as a crutch will not improve your coding skills. (Using it to teach you is fine, but make sure you are coming to the conclusions yourself, and the AI isn't giving the answers away.)

9 points

Thanks for your reply =)

Let's say I've never thought about coding until last september (the month I began this course), so I'm a complete noob.
As I said tho, I have the foundations to learn every code language (I started from C and now I'm dealing with C# and I've learned the basics of it very smoothly).
I've passed my first C exam by studying using AI because I couldn't find anything relevant on the internet on how to do what my professor wanted.

The game we are creating for this exam is a simple arcade game similar to Puzzle Bobble with a few more tweaks.
I'll try to make things on my own, I just need to gather enough knowledge about the methods and fuctions that are available on Unity.

0 points

The idea that a course expecting people to write programs wouldn't either list basic knowledge regarding programming as a pre-requisite or teach the basic fundamentals is absurd to me, and I can't help suspecting there's something you're not communicating.

3 points

Honestly, I don't think you should expect to learn "real" programming in school. You get good a programming by writing a lot of code and here's the key: using the code you wrote. Good code helps you develop large relatively bug-free projects. Theory can only take you so far; you have to see how your decisions work out in practice.

As for AI, I think of it like a tutorial. If you don't know how to do something, the AI can (sometimes) get you started. As you get better at programming you'll get to the point where you have a better understanding of the requirements for the code than the AI does so you'll need to rewrite pretty much anything it generates. AI is beneficial when fixing the code it generates is faster than writing the same thing from scratch.

2 points

Thanks for your reply =)

Yeah I think of AI as a tutorial aswell (it's basically what I'm actually lacking right now, the "advanced" basics of C# and Unity).
I feel like I'm commanding a crane without even knowing what I can and can't do.
As I said, I 100% know what my script does, even if it's written using AI.
That means: if I have to adjust some settings, I know where to put my hands on and it's rich of comments that explain what everything does (I've written those)

1 points

Mind you, I learned to code before there was AI (or YouTube for that matter). There is a lot of power, I think, in being able to figure things out entirely on your own.

When I started learning Unity (about 8 years ago), I went through a few tutorials early on but stopped needing them after about 3 months. If you are getting good value from a tutorial or AI, you should be learning how to do things on your own and, over time, find yourself using them less and less. If, after a year, you are still heavily reliant on AI then you are not learning some skills that you will need in the future and its time to make some corrections in your approach.

This video is worth watching: https://www.youtube.com/watch?v=gmb0Zo8ONSU

1 points

If you're trying to learn, and especially when struggling in this endeavor, outsourcing coursework at all will not help you.

If you're just trying to arrive at a solution that satisfies the assignment requirements, your assignment or something similar enough is probably in the training data for the AI system. Know you'll be handicapping yourself long term like that though.

1 points

Thanks for the reply =)

I'm genuinely trying to learn, although, this is an exam, I must do it somehow.
They didn't give me enough knowledge to get it done all by myself, so I need to use other methods and tools to make something out of it and AI is the perfect tool, but it has to be a temporary crutch for now

1 points

How long do you have before your project is due?

Hopefully there's time for you to at least do some of the intro courses through learn.unity.com. That will teach you how to use the engine to make things.

Basically, every GameObject has several functions that are called by the Unity engine at specific times. I think the important ones are ready, Update, and PhysicsUpdate. Ready is when an object is added to the scene, Update is called every game frame, and PhysicsUpdate is called every physics frame.

At the end of the day, most of what you're doing in making a game script is updating values of attributes of the GameObjects over time. If you look in the Inspector, you'll see what attributes are available, such as position, velocity, etc. So think about what should be changing about those attributes over time and what should cause those values to change. That's what you put in your script.

1 points

Thanks for your reply =)

Our deadlines are on June or July, depends on us actually.
Thanks for the tip about taking a look at the page to learn unity, I'll definitely do it!
I've actually grasped the basics of the editor, but what I lack is surely some maths and physics and how to implement them as I want on Unity with C# scripts.

2 points

If they told you "go make a game in unity" and didnt teach you anything about the basic framework its kinda shitty on them.

From the sound of it you are definutely using it way more than I would be confortable with. Copying code is not the same as doing or revalidating. AI is a good tool that can speed up your learning speed, research can be faster etc. But in my opinion you dont get the benefit by asking it to do work that is completely unknowable to you.

Was the hexagonal grid something you were demanded to do from the project, or did you decide on the feature without knowing how to do it?

1 points

Thanks for the reply =)

We are creating a game similar to Puzzle Bobble (Arcade) and making an hexagonal grid was necessary for the core gameplay.
I mean, I know how to create 2D arrays, but how can I create one on Unity and make it act as a grid? How can I make them circles instead of real hexagons? That's are the kind of questions that I asked to AI, I'm not the kind of person that types "Create an hexagonal grid for my game" and then just copy-paste the result.
I want to understand what I'm doing and so far I've grasped almost every aspect of it, i just didn't know what tools to use and how to use them.

1 points

I camr from days when allegro was a thing. From my limited experience the fundamentals of coding video games are

  • put things on screen

  • transform (translate, scale, rotate, etc) things on screen

  • take user input

  • listen/detect for certain events

  • play sound (optional)

Thats it. If you know how to do all of those, any gamr is approachable. Some tools are just made some of those things easier.

1 points

I mean its a course, don't cheat but do what you need to get the grade and move on. As for knowing it you could tell your tutor you know how it works but don't feel comfortable. Or once done with this do some of your own projects by yourself until you are comfortable.

The thing with all tech is outside uni you are expected to be pretty good at picking stuff up yourself. It becomes a lot easier with practice but even a lot of stuff courses tech are....different in the real world so you need to be adaptable.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.