Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Week 2

Pershendetje~ ヾ(^▽^)

I have been working on the first floor this week, but not quite finish yet. The map and concept is ready, only implementation is waiting. Here's the list of what have been added or made since last week.

Player Movement

Player is ready to be controlled and it has animation. The main camera will follow the player as it moves. 

Regarding the camera, I was contemplating between using the default camera or pixel perfect camera from unity package, and also between using my simple camera follow script or cinemachine. In the end, I decided to use the default camera and my own script. It's because two things; first, the pixel perfect camera is really good, but it has restriction in resolution, which is okay for PC, but for mobile I don't really think it's okay, and second, the cinemachine is awesome, it has a lot of stuff you can do with it, but since I just need the camera to follow the player, it feels kind of overpowered to use cinemachine.

Another thing to mention is the player had a stutter issue when moving. By the power of google, I found the solution, just set interpolate in the rigidbody and it's resolved. You can see the differences below.

   

Environment and Traps

It is dark in the first floor, you can see only a little around you. The concept of the first floor is traps, try not to die by the traps.

I added the darkness and light using unity package URP (Universal Render Pipeline). It has 2D light that can be used for 2D environment, even though it still experimental. There are two kind of traps in here, and I don't want to spoil it, hehe. One thing for sure, one of the trap needs object pooling.

HP

The player starts with six hp which is represented with 3 hearts. When damaged, the player will be knocked back and blinking for some time, while blinking the player will be invulnerable to any damage.

===

I hope the first floor would be finished by next week, and I can upload it so you can test it out. Yey~ \^o^/

Anyway, thanks for reading and also thanks if you just skim through it. If you have questions, suggestions, or critics, I am happy to hear it. See you~  LOVE, PEACE, and GAWL! o(`^´*)