Welcome to tridi game development

In this blog, i'll try to explain how to create game, tips and tricks to develop game, especially using my 3D engine, tridi - in English and Indonesia.

Lets coding, II

First, i have to make this game first and ensure that the code is simple enough but complete enough to help all of you understanding what tridi is. And from my current bricks game code, i got screenshot like this:


Ok, for the code, you can grab bricks source code. But i will update this code sometimes, so you can check again another time.

Line Intersection

This function is very crucial for this bricks game. So i have search on google and found a fast algorithm and write python version. You can view the code at mylib.py. If you want to see the detail, please visit http://www.antihax.net/2D_Line_Intersection

Trial and error

Some number of the code in the game source is created by trial and error, especially for setting the camera, setting shadow parameter, light parameter, etc. So you can try to the number on the code.

1 komentar:

Fitrianti Atikah Saputri mengatakan...

wah... penjelasan anda sangat membantu saya. Edisi bahasa indonesianya ditunggu.

Tetap semangat dan berjuang...