Greetings everyone, today I would like to introduce you about the Hiro, main character of our next title, Dungeon Go.
Dungeon Go is a puzzle game that start with the a young boy named Hiro start his journey to become a strong and independent Knight. His enthusiasm and perseverance has kept him away from going the wrong path and stay away from darkness.
Dungeon Go is in the middle of the development and we will keep you posted if there are any news. Thank you and have a nice day!
You may want to read our previous blog about Sorting Layer and Sorting Group before continue reading this.
If you are developing for 2D top down games where the sprites will move from top to bottom or vice versa, sorting layer and sorting group may not enough for you. You will probably face some problem when one of your sprite is moving from top to bottom of another sprite.
When the green T-Rex is moving from the bottom to the top of brown T-Rex, it's suppose to render behind brown T-Rex but it does not. Luckily, Unity 3D provided a very convenient settings to solve this problem, it's called the Transparency Sort Mode and Transparency Sort Axis.
These settings can be found from Edit > Project Settings > Graphics. By changing the Transparency Sort Mode to Custom and Transparency Sort Axis's Y-axis to 1, it's tell Unity3D to render the sprites with higher Y position at the back of screen. Now we can see the green T-Rex will render at the back of the brown T-Rex when we move it up.
That's all for today! See you guys again.
When building on 2D games with Unity3D, one common issue that we will be dealing with is the sorting the layer of the sprites. In the common way, we can use Sorting Layer and Order in layer to solve most of the 2D game sorting issues.
You can find the sorting layer and order in the Sprite Renderer component of your sprite. By clicking the sorting layer drop down, you can assign the sprite to any layer such as foreground, mid-ground, background and etc. If you want to create or delete the layer, you may select Add Sorting Layer which will bring you to the Tag and Layer window to edit modify your sorting layer.
In some cases, you may want to sort different sprites within the same layer, for example, a grass sprite in front of a rock sprite. In this case, you can use Order in layer to sort the sprites within the same layer, the sprite that has higher number of the order will render in the front.
Sorting Group For Nested Sprites
Sometimes, you may have a nested sprites which contains different part of an object, for example, head, legs, body and etc. If you have more than 1 nested sprites in the same sorting layer, you may have some issues when the nested sprites is overlapping with each other, just like the cute T-Rexes below:
You will notice that when the green T-Rex is overlapping with another T-Rex, the head and the leg of 2 T-Rex is not sorting in the right way, they just look like dislocated from the body. To fix this issue, we will need to use Sorting Group for all the nested sprites.
By adding the Sorting group components in the T-Rex, all the child sprites will be sort accordingly with the correct order like a single sprite. If we try to move them around, they will just overlapping each other as a whole.
If you are creating 2D platformer game using Unity 3D, using sorting layer and sorting group will help you sort different sprites in the correct order. That's all for today! Hope this tutorial help you and have a nice day!
If you are developing a 2D top down game, we would like to recommend you to read our tutorial about Transparency Sort Axis and Transparency Sort Mode
Shiba's Adventure is the new roguelike RPG game that we developed in iOS and Android that using tile-based movement. The tile-based movement is very easy to implement and today we would like to share with you how do we achieve the movement like this:
The secret recipe that we use is iTween! (Oopsss...it's no longer secret now). iTween is lightning fast, lightweight and FREE animation system that makes implementing animation easier than ever. To implement tile-based movement with iTween, you just need to use MoveTo(GameObject target, Hashtable args)
The code above allow you to move your game object from tile to tile. However, if you wish to make "jumping" effect thru the tiles, you can can use path.
Hi everyone, today we would like to give you some updates regarding our latest game, Shiba's Adventure, a roguelike turn-based RPG featuring the super cute and adorable cube-shaped doggies. You can choose your favorite dog and explore the dangerous dungeon.
There are more than 15 types of dog breed in Shiba's Adventure and we would like to give you some sneak peak on our first 4 cute little doggies:
• the stupid Shiba (Of course, it's the main character)
• the elegant German Shepard
• the smart Husky
• last but not least, the cutie Corgi!
Aren't them very cute! Oh wait...they are not your favorite? Don't worry there are more cute and adorable dogs are coming soon!
Shiba's Adventure is in the final phase of development. We are exciting to tell you that we are targetting to launch the game on 30th October 2018 in App Store and Google Play.
Follow our Facebook page or Twitter and we will keep post you updates!
Sometimes, you may need to take a good looking screenshot of your game for successful press kit or artwork. It can be tricky and tedious to take a high-resolution from your Unity 3D editor. But don't worry now, we found a great Unity plugin that can help you solve the problem.
Install the Instant Screenshot by Saad Khawaja from Asset Store and you can take fullscreen high-resolution screenshot quicker and easier. The plugin is very lightweight and easy to use.
The plugin allows you to use the camera functionality such as culling mask to exclude objects in some layer too. If you need a transparent background, you can change the "Clear Flags" of your camera to "Solid Color" and and check on the "Transparent Background" in the Instant Screenshot options.
Most of the people will find it very difficult to find the right angle and position for the camera. Here are some tips for you to configure your camera easily. In the Scene view, use the Hand tool to find the angle of your view. Once you found the perfect position and angle for your view, while highlighting your Camera object, go to "GameObject" and select "Align with View", then your Camera will have the same view with your Scene view!
In summary, Instant Screenshot is an awesome tools that can save your times to capture high quality screenshots for your pre-production or post-production work!
Greetings everyone, today I would like to share with you regarding my experience on Unity 3D project structure when I develop Color Fiesta. Initially I created all the folders under Assets folder just like this:
I distribute the folder based on the type of files such as Animations, Prefabs, Sprites and etc. Everything is so neat and arranged accordingly at this moment until.....I starting to add other packages from Unity Asset Store.
Every time I added the new package, it will added in the root of the folder and everything is messed up. If I continue added more packages, it will be more chaos. Eventually, I decided to create another folder and move all my non-package folders into this particular folder.
Hooray! Now everything is back to normal again, nice and easy!
Today, I would like to share with you how to destroy game object when it is out of screen or no longer visible in Unity 3D. The answer is pretty simple! Just use Renderer.OnBecameInvisible(), this method will be called whenever the game object is visible by any camera.
However, there are few potential mistakes that may lead to OnBecameInvisible() is not working.
That's it! Just a few line of codes and you can destroy the game object when it is off screen. Thank you!