Jump to content

  • Log In with Google      Sign In   
  • Create Account

Alex.SilR's Journal

Day 9 – Unity, Blender and .blend import

Posted by , in General 05 November 2012 - - - - - - · 802 views

Mirrored from my blog (en, pt-br).

On 9 I read chapters 7 and 8 of the book Unity 3.x Game Development Essentials and watched Parts 6 and 7 of the video lesson Blender 2.6 Essential training.

In Chapter 7 of the book is built a mini-game where the player has to shoot down all three targets with coconuts to liberate one of four power cells in order to open the door. The only thing interesting about this chapter is the use of coroutine. Actually, later I’ll look deeper into coroutines.


In chapter 8 of the book is built a fire and made a simple mechanic that makes the player lights the fire from a matchbox that is inside the station. The main subject in this chapter is the particle system, as when the book was written was still using the old system, the author made a video showing how to do the same fire in the new system (shuriken).


Part 6 of video lessons talked about textures and more interesting, that I wasn’t sure how it worked, UV Mapping.

Posted Image

Part 7 talked about the types of lighting that Blender has, and showed one by one.

Posted Image

Posted Image

One thing I did today too was to test the interaction of Unity with Blender.

The Unity automatically imports the file .blend that is in the project structure. I created a standard sized cube in Blender and imported to Unity, then I created a cube of size 1 in Unity itself. The cube of the Blender was twice the size in comparison to the Unity. So to maintain the aspect ratio is necessary to put the scale at 0.5 on the properties of import.

After scaling test I took a scene from the video lessons (the room) and imported to Unity. Using scale to 0.5, the size was good, but when importing the material was not with the texture. I need to make a search on how to export Blender material in Unity.

Render of the Room in Blender:

Posted Image

In Unity:


PS: Sorry for the bad english.

Day 8 - Unity, Blender and Productivity Power Tools

Posted by , in General 05 November 2012 - - - - - - · 598 views

Mirrored from my blog (en, pt-br).

Day 8 was much more productive that this weekend (day 6 and 7). I read chapter 5 and 6 of the book Unity 3.x Game Development Essentials and watch more video lessons of Blender.

The chapter 5 did an introduction to collisions and implemented in three different ways the collision used to open the door of the station. The three forms are:
  • Resizing the box collider of the own door - The worst form in this situation, because the player is locked when collided with the collider, and how the collider is bigger that the door mesh, the player hangs on nothing.
  • Ray cast - Better than before, but still got the problem that the door only opens when the player is facing it.
  • Creating Another Box Collider and setting it for isTrigger - That was the best solution presented (assuming it works as if the door had a motion sensor) and that will stay the rest of the project. The door opens when the player comes close, not get stuck and do not need to be facing the door to open.

Posted Image

In Chapter 6 is implemented a simple logic to only open the door when a total of 4 power cells is collected by the player. Are also implemented several feedback to the player, such as:
  • Display messages.
  • Display at screen (HUD) how much is left of cells to “fill up all the energy.” Is also placed a power generator on the door showing the same information as the screen.
  • A light above the door indicating whether locked or not (red and green).
  • Sounds when: get energy cells, trying to open the locked door.


I’m really enjoying the book, I think this week I can finish reading.

As chapter 5 and 6 uses quite a lot of script, one thing I missed in Visual Studio was the autocomplete feature for (), [], {}, “” and so on. So I searched and found the Productivity Power Tools plugin, very good, I recommend.

I’m also really enjoying the video lessons of Blender, even not creating something from start to finish each video introduces a new tool. When I get a more advanced stuff this overview will be cool. After finishing this video lesson I will take a look at Blender DVD Training 10 Venoms Lab 2 and I found a blog that appears to be very good! Blender Guru.

PS: Sorry for the bad english.

Day 7 – Too much of nothing and a little of Blender 3D

Posted by , in General 05 November 2012 - - - - - - · 516 views

Mirrored from my blog (en, pt-br).

On day 7 the idleness was predominant, in fact I don’t even did the college work. I just watched a few videos from Blender 2.6 Essential Training.

Until now the videos lessons just talks about tools that can be used, the only thing that was really modeled was a creature very simple. I’ll watch all the videos this week and then search for some video training that actually creates something from start to end.

Posted Image

PS: Sorry for the bad english.

Day 6 - Blender 3D

Posted by , in General 05 November 2012 - - - - - - · 566 views

Mirrored from my blog (en, pt-br).

On day 6 I took a break at Unity for watching Blender 2.6 Essential Training.

I already had some contact with Blender a few years ago, but I’ll need remember everything. The three first chapter talks about the new interface of the Blender 2.6, navigation, selection e edition. I’m really enjoying the videos (I like a lot of video lessons from Lynda.com to start learning about some topic). I was with the idea of leaving the weekend to learn Blender and do the work of the college, but I think it will not be enough to learn modeling, so I’ll separate the 2 hours that I have when go back from college.

Posted Image

Aside from the videos I watched the day wasn’t very productive, tomorrow I have to do an work from college, but I hope have time to watch some videos too.

PS: Sorry for the bad english.

Day 5 - Tumblr, Chapter 4, Find() and Strip’em

Posted by , in General 05 November 2012 - - - - - - · 451 views

Mirrored from my blog (en, pt-br).

On day 5 I create this tumblr, posted the pass days and finish of read the chapter 4 of the book.

As I said earlier I had begun writing at Penzu, but I decided write in some place public and more known. As I wanted something simple and practical I opted for tumblr instead wordpress. Create an account and posting took a while, but it was pretty easy.

Chapter 4 continued talking about script and some basic programming concepts. There was nothing new to me, I just have a question when using the Find() function.

The Find() of the GameObject class returns a reference to a GameObject that is on the Scene (objects that are in the hierarchy). As the objects in the hierarchy don’t need have a unique name, what the Find() will return when two or more objects have the same name?

I did a little test and the answer is that the Find() returns a reference to the first object it encounters, regardless if there is more than one.

One thing that was annoying me, and that a resolve today was that Unity give a warning when the end of file doesn’t was saved in Windows(CR LF) format. To resolve it I install the plug-in Strip’em that can be set to save in Windows(CR LF) automatically.

Posted Image

PS: Sorry for the bad english.

Day 4 - What time is it?

Posted by , in General 05 November 2012 - - - - - - · 469 views

Mirrored from my blog (en, pt-br).

The day 4 already started with a setback!

I set the alarm clock to 7:30. I don’t know if the alarm didn’t ring or I haven’t heard, summarizing: I woke up 11am!

Apart from this setback I researched an online journal, and I found Penzu. The idea is write what I did in the day. Write daily will be interesting.

After explorer Penzu I started read the chapter 4 of the book and how the day was started late I don’t finish the chapter. The chapter until now analyzed the prefab Firsts Person Controller.

Posted Image

PS: Sorry for the bad english.

Day 3

Posted by , in General 05 November 2012 - - - - - - · 374 views

Mirrored from my blog (en, pt-br).

On day 3 I basically read chapter 2 and 3 of the book. Until now I haven’t learning something new, but I’m remembering a lot. The chapter 2 talks about script e some general concepts of Unity. A simple shooter was made in the final of the chapter (shoot spheres into cubes).

Posted Image

In the chapter 3 was introduced terrain and build an island. The rest of the book will be on top of this island.

Posted Image


Now I’ll continue reading the book!

PS: Sorry for the bad english.

Day 2

Posted by , in General 05 November 2012 - - - - - - · 381 views

Mirrored from my blog (en, pt-br).

On day 2 I started reading the book and did a little research about GDD and how become indie game developer.

The research about GDD was very quickly, but I found some interesting things, like:
  • GOD - Game Overview Document
  • IDD - Initial Design Document
  • GameBible
I did this research because I was thinking in documenting an idea that I have, but after start reading the book I realized that is better wait and finish the book first.

In the research about become indie I found a post from Mode 7, a company that already have some time on the market. The post is quite large and covers several aspects that must be considered when becoming indie.

The chapter 1 of the book was very basics, was introduced some concepts of 3D environment and some of Unity interface.

PS: Sorry for the bad english.

Day 1

Posted by , in General 05 November 2012 - - - - - - · 411 views

Mirrored from my blog (en, pt-br).

On day 1 I made an organizational housecleaning in my room, took off my PC and now I’m just using the notebook. It may seem that it was a simple thing, but it actually took almost all day and I ended up missing in college because of it.

I also configured the virtual workspace, what was easy.

The Unity3D was already installed, but had to download again to a newer version. Visual Studio 2010 was already installed too because I use in college, and how I’ll use C#, Visual Studio is the best IDE for the job. I start looking how integrate Unity and Visual Studio and is very easy! Just select Visual Studio as editor in Unity settings and that is it! Intellisense works great without doing anything more!

Other thing I did was looking for a task manager, what was easy and fast because I already had RememberTheMilk in mind. I made an account and I’ll use it for now. I don’t know if it will be good for keep log of the task already that I already did.

Posted Image

PS: Sorry for the bad english.

Day 0

Posted by , in General 05 November 2012 - - - - - - · 596 views

Mirrored from my blog (en, pt-br).

My name is Alex da Silva Ribeiro, I’m studying analysis and systems development at Fatec-SO in Brazil and I decided to become an indie game developer.

Some things I have considered in making this decision was:
  • I love games! – If you don’t love games don’t even think in become an indie game developer.
  • I like coding – An indie developer will need do a little of everything in the workflow of a game. Like and don’t have fear of coding will help a lot.
  • Currently I don’t need worry about money – Develop a game is complex and take time (of course depends of the game). How the return (financial) is not guaranteed, don’t think in become an indie game developer for the money.
  • I’m not lazy to learn new things – This is perhaps one of the most important skills, not only to develop games.
  • I’m not an artist – All the art side of the game I will have difficulty or I will not be able to do it, so I will need look at free (free beer!) assets sites.
  • I’ve ideas – Everyone that likes to play have an idea of an game, even that an idea don’t worth anything without doing it is the idea that will give the push for the indie game developer go forward, so idea is important in the whole.

A few months ago I started learn Unity3D and is the engine I’ve chosen for started. I’ll start reading the book Unity 3.x Game Development Essentials – Will Goldstone.

PS: Sorry for the bad english.

December 2016 »

    12 3

Recent Entries