DEV Community

Rafael Ahrons
Rafael Ahrons

Posted on

Devlog #01 - My first game jam winter 2020 Day 2

You can read my original post in my personal blog

The Jam

I've received an e-mail last week about a game jam that is happening right now. My First Game Jam Winter 2020 is for begginers like me, so you can try to learn a new tool, try to learn how to code and receive a feedback of your work.

The theme is Cold.

Let me tell you my background. I work as a software engineer and know how to code in C# and my brother work as a software engineer too but knows Java. So to help each other, we are going to try to lear Unity engine. C# is similar to Java, hence he won't be facing such difficulty in syntax.

Our Idea

While talking to my brother we got an idea that both of us got interested of doing. The ideia is:

We are going to try to build a survival game more like an Enfos map from Warcraft 3 that you have to protect something and has a hero. That hero will be you. So you have to protect a bonfire in the snow from monsters trying to extinguishement the bonfire. If the bonfire extinguishes you gonna die from cold and wont be able to see in the night. You must survive till dawn.

The player will be able to move up, down, right and left. Will be able to attack other monsters and if he got hit by a monster than we want to display an animation for that, same as if he dies. Monsters will be able to do the same, but we wont be able to control.

What we want is the monster to have a path finder to got directly to the bonfire or to the player if he is near the monster.

Our development journey from Day 2

Day 1 we were in the beach and couldn't code, so we started coding in day 2 (sunday 26/01/2020).

We don't know how to use Unity... We are using tutorials from Brackeys and Blackthornprod to learn how to do the stuffs we want.

In day one, we built the movements from player and the add animations parameters to activate the right animation when he is going up, down, left and right. We add a simple combat system that when the player gets near to a monster he can hit until he kills them.

The monster can't move yet, soon we will add movement animations and a path finder.

We hope that in the next days, we add some art made by us.

You can check ours repository in github to check our progress.

This is what we have right now:
Sprite of an idle character and an idle monster in Unity

The player can attack the monster if he gets near and can walk up, down, left and right with their own animations.

Gif of the character running up, down, right and left

Problems that we faced

  1. Gizmos doesn't appear

While in the development we could add a Gizmos Sphere to see the range of the attack object. We add a gizmos in some scriptable object but it wasn't showing up. I've been searching in a lot how to fix it but when I found one, i laught about it. Gizmos was disable in the scene...

  1. Collider from player is pushing monster away when collide

As the title suggest, the player couldn't attack the monster because he was pushing them away. The bug is funny, but we couldn't solved very well yet. We changed the rigid body property to use kinematics instead of dynamic. Now the player can pass through the monster, but it isn't what we want. We want the player can't pass through the monster.

Character pushing monster away when gets near him

Even posted a question to Game Development stackexchange to get some help.

Top comments (2)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.