Skip to content

u/BenRegulus

In this archive from Feb 2018 to Dec 2023

3
posts
23
comments
0
media
363
score

I would love it more if it wasn't wobbling that much. It kinda conflicts with the sense of speed. If feels like 'If it is wobbling, it has a problem that is slowing you down'. You can stretch it into an stable elliptic shape to convey a sense of high speed like Sonic the Hedgehog.

3 points

Thank you for your comment. I don't pay too much attention to my Github actually. I have around 50 repos but all the professional projects are either private or located in the private company repos, Bitbucket or Gitlab. You are right cleaning up the tutorials and adding my game projects there might be better.

1 points

I am asking for details all the time. You know how interviews are. If you are not useful for them, they usually don't even answer your emails.

I wasn't too careful about the indentation, commenting, naming, etc. Those are the things I can easily fix with a little bit of time.

I am more concerned about the structural, architectural aspects. Things like is it decoupled enough? Is it against the SOLID principles? Did I use a public variable while I should have used a private variable + property?

1 points

Thank you for your very useful comment. From what I see, about half of my mistakes are about clean and organized code. I have spent time bug fixing instead of a deep clean-up refactoring.

May I ask a few questions?

  • singletons - these are a sign of bad design because they're globals in disguise. To be fair 99% of games companies will use them, but that's because they are prioritising getting stuff out of the door over code quality. As an applicant you don't have that luxury.

I thought singletons were my friend and I was actually happy that I was using one for the first time. Singletons are used for keeping some objects having only one instance like manager objects or players etc. right? What should I have done instead?

  • Missing some modern features - e.g. Tile.cs has a get/set property for tileColor that is mostly pointless, but could be replaced with an autoproperty if you truly want a property and not just a public variable.

I couldn't get auto-properties to work no matter what I did so I wrote them openly. It might be because of the version of C# or maybe me doing something wrong.

​

  • Usages of FindObjectOfType again, many games companies will do this, but they know it's bad, because it's slow, and will get slower as the scene gets bigger. Ideally you would 'wire up' these references in the scene ahead of time.

Okay, this one is a mystery for me. I know that finding an object is costly and instead I can link them using a variable and the inspector. But are there any other alternative methods here to decouple these scripts?

  • Comparing Unity tags by name - this is slow. You should use CompareTag.

I didn't know this. Thank you for this. Also, where can I learn such things as "to avoid and use this instead"? Only experience?

1 points

Okay here is the thing. I have suffered from all these problems and still suffering. There are a few problems here. First: Game development when you are solo is hard. I have been to a few game jams so far. Those are the only projects I have worked with a team. Incredibly different experience. You have an art guy. He creates animations you never could by yourself and you just put it into your game. Suddenly, it looks so good together, your code and his art, you love the game even more! You get incredibly motivated. I had another coder with me and we only focused about coding. He knew things I was bad at and solved them right away so I could focus on things I knew. It all went so smooth and in the end you create something that you couldn't on your own. Try working with people. Don't try to make everything yourself and creating the perfect game in your mind. It is too overwhelming for one person. It is like saying I am going to colonize Mars on my own. Is it possible? Yeah but not likely or you can colonize it with some bugs not human beings.

Second problem: All the stories are cliches. Even the huge lore of Lord of the Rings. There are good guys, bad guys. Some strong good guys. Saruman betrays, Aragorn makes a self discovery/acceptance. Gandalf and Legolas keep it cool and Gimli is the funny guy. When you break down the stories every story is cliche because it talks to the human emotions and past experiences. If you make a story about an alien and its color changing ceremony, it sounds too distant and stupid to us humans. But if you add the feelings and events with details into that story and make it a bit more "cliche" it might be a good story. The difference is in the details, ambiance and atmosphere. Harry Potter: good guys bad guys, Dumbledore keeping it cool, treasons etc. Hiding the cliche behind good details is what makes a good story.

Then again, you don't need a story for a good game but I guess like me you like emotional single player games that makes the player feel connected.

Focus on one thing. Learn the basics of others. Coding, art, animation, story, sound... these are all at least one person jobs in a perfect game. Make one of them great so you can impress players and maybe attract other talents to your project.

4 points

End of this list.

Back to top

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.