Skip to main content

Back to Unity

After playing with Unreal Engine, it is time to get back to my work with Unity3D. Had a couple of projects abandoned and decided to make a little offensive on issues that I thought  did not know how to solve, but seems that I had some extra power up hidden somewhere.

I am glad to say that at last I implemented the foundation of weapon reloading. Just the foundations, but at least it is there. I need some more work on the inventory system, to unify duplicated code, and additional checkings like if the right caliber exists, which then will lead to other issues like same caliber/different damage type ammo.

Also I added some more info to trade window, but still have to implement item comparison, same as in player inventory window. I implemented another basic quest, which in turn, required to deal with an old pending issue: events, like NPC dying.  My first approach was correct, but the implementation was totally wrong. Adding this quest needed some additions to dialog system, now it can give items and set quest stages, which are now properly displayed in the player journal. I still have the feeling that the quest system is not actually a system, but many loose ends, but have no better solution.

And, I have to say that the camera system received some important contribution from another developer. Now it behaves as it should be when collides with scene elements!

Comments

Popular posts from this blog

Unity3d isometric camera tutorial

I had pending this since a month ago, so Im forcing myself to post it today. The goal is to provide a fully functional isometric like system that you can use with few or none modifications in your own game. So, lets get started. Start Unity3d and in your scene, add an empty GameObject, we will call it target . Create a camera object and drag it to target to make it child. The result looks like this: Now select Camera and set the values to this: For a true isometric like feeling, ortho projection is essential. You could use perspective, but it is not the same. Play with Size to suit your needs (we will be using this later, when implementing zoom). Now, lets create an script named CameraController, or whatever, and drag it to target GameObject. Lets implement scrolling, the easier part: go to Update() and add the following code: if (Input.GetKeyDown(KeyCode.W)) {             dir = UP;         } else if (Input.GetKeyDown(KeyCode.S)) {             dir = DOWN;         } e

Isometric camera with Godot

Took some effort and some of my sleep hours, but at last, I made it. Here is my first videotutorial: implementing an isometric camera in 3D, with Godot. Useful if you want to emulate the look of old classics like Fallout 2, but with some extra features. Considering that my voice is not so nice, and my english pronounciation is even worse, I also added texts to help you underestand what Im saying. You will also notice some background noise, but cant do anything to solve that. Any suggestion is welcome. Expect another tutorial soon.... or sor tof. This time, will be about my AI system.

Testing animation retargeting in Godot 4

 We have finished the project and it is time tostart a new one. This time, I have convinced the team to work on a combat  prototype and try Godot 4. After a month, Im quite pleased with the progress. Specially, we have applied animation retargeting, which is a new feature in Godot 4. In previous project, our main artist devised a clever way to reuse animations, but now we have a native solution. Our first attemp didnt worked, but I found that remapping the armature starting by the feet solved the problem. Weird, isnt it? By the way, you can see the prototype here . WE are keeping it public to let people learn from our mistakes. And, if you need some animation retargeting tutorial, this is the guide we used: