Due to time investment into app dev, it has been forever since opening Unity. As reckless as it may sound, I decided to join a game jam coming up soon. With that said, time to study the super basics.
Today, I learned how to use Spring Joint, and Invoke to call methods with a specified delay. Something I did today and tested on my iphone.
Unity 2D: Run while holding key and having energy left
I decided to try and add a Run feature to my 2D controller today. Couldn’t find what I wanted to achieve online, but after trial and error I got something working.
This is using the “new” input system. Some code is not shown, but you get the idea.
– Hold key down while moving to enable running. – While running, runTimeCounter clocks up. – Once runTimeCounter hits runTimeLimit, you can no longer run. – When isRunning is false, runTimeCounter regenerates (Goes back to 1f, thus enabling running again)
I have been spending most of my time working on my webapp / IOS app, but decided to take a break with some nice youtube blender tutorials.
Hopefully I could finish this tomorrow.
I’ve been working on my 2D movement controller, but having a rough time.
My todo list is still small, but I could see it increasing everytime I realize something new that a 2D platformer should have.
Now the question is, should a beginner game dev be studying art design, sound design at the same time? Or just work with blocks to prototype.
I read that prototyping is key because you wouldn’t want to invest so much time into art, when the game is simply boring. But at the same time, you have to feel some love.
I am going to approach my studies by rotation between art work tutorials, and the coding. This way, if you get stuck, you could study something else and challenge your problem again the following day with a fresh mindset.