Wednesday, June 14, 2006

I have a new job in Game Developer

Now , I have a new job in Game Developer . I work in Aim . that is sub-company of MFEC . this my company make game in mobile and new plan to make game online style Mapple story . they want to new worker for help make .
Game name is Gig online . and We make game engine powered in irrlicht3d . concept engine is draw rectagle in 4 vertex and attach texture. core engine planning to scene node follow concept irrlicht and ogre3d . this is open source .
i work that here in 50 day . i doing in thai font , movie play in rectangle with Dshow . and now i have my homepage . that is www.gamedevzone.net . it use thai language for communicate.

OK. to day I have a technique tip for you use.
if you use if() more one . you can use swith() tag for speed
example
if(i==1)
{
// statement 1
}

if(i==2)
{
// statement 2
}

if(i==3)
{
// statement 3
}

you can use

switch (i)
{
case 1 : //statement 1 ;
break;

case 2: //statement 2;
break;

case 3: //statement 3;
break;
}

you have speedup sure !

:)

Friday, January 27, 2006

Near Completing -> Computer Engineering

waiting 2 mouth . I have congratulation to Computer Engineering in Suranaree University of Technology. Now I'm Web programming (-_-)zZ in Game Company . because company haven't web programmer and it have programmer in company 3 person. start time 10.00 am. end time 07.00 pm. and no uniform . i have to work at here. this here have korea game engine to make RPG game online (MMORPG) . same engine at thang online. All tools make by C++ and MFC (specification : visual c++ 6.0 )
OK. new Idea I learnning in Network programming with winsock . I think I use MFC write program in server . and client core main to use run I use C++ and OGRE3D . tools Game I think I use C# and Irrlicht. Game online that I do is casual Game similar Gunbound but Gunbound is 2D. I make 3D . the teacher tell about server program . Why do your use C++ ? You can use Java . netty2 library and mina (Apache) can support small Game online that you do.
Finally . I doing web programmer at here (www.taionline.in.th) waiting who (that is web programmer) to register in company. that time I change to Game programmer. ("CEO in company tell about me) : I

Monday, November 21, 2005

2D graphic access hardware with C#




In last Summer . I learning about 2D Graphic Engine to make in game.
I Found 1 Engine to use and base on C++ . That is HGE .

Main Concept is draw rectangle in world of 3D and
attach Texture to rectangle. Engine It easy to C++ Programmer .
such me is C++ Programmer.but It difficult to other
Programmer and Begineening. I think I write Library 2D Graphic
Engine with C# follow concept by DirectX SDK 2004

past in 8 - 9 week. I busy in OGRE ( library use in game 3D) .
I cann't make 2D Graphic Engine completed.

However I want to make Game more I want to make Engine Game. and Now
I make game follow dream.

Friday, September 02, 2005

Easy to Create Game Engine

the last year. I write game with C++.Net 2003 and DirectX SDK 9.0c. I have sourcecode 30,000 line. I think if I use template and change only variable. It easy ? sure it easy

It's Concept

I have 2 part

1. GUI -> save file to XML

2. Process -> read XML to generate source code and compile

part 1

this GUI it have config in game and save file format in XML

Part 2


use Nvelocity or Codesmith for Generate XML and generate to source code . after use Nant for compile and copy file other to directory

finally

it easy to make game but it in large game . Process is complexly and hardly. You must coding yourself.

Design Patern in Game Setting

Process coding in game is complex. you can write code in 1 page and success in your program but the next step you cann't modify source if you not write in pattern or sturcture . source code is not to read again. I want to purpose pattern to design source code for easy read and modify

pattern setting in game

the picture to show how to coding step

1. design game and divide it the same in picture

2. if you use OO (object oriented) you can divide 2 class :

-- 1. class Scene ->it have method to load level and delete level

-> in addition you can load model,terrain,sound, and other

** extension **

in attach method ai for model you can write each other class example

Ai class

-- 2. class GUI -> the class have method for button , panel , label and other component

-> and have action(activity of event ex. click button ->play sound etc)

example

Class : Game
-int: state
-Int: health
-void: menu()
-void: level1()
-void: run()
-void: destroy()

it useful to maintain and reuse source code.

(-_+)zZ kha

Sunday, May 01, 2005

Comment to easy Read sourcecode

Comment Important?

Now, You can read sourcecode ? it's Hard ? Not understand ? but sourcecode in the world is not understand because use for write's programmer .
I want propose to write comment to use write code for easy to read and edit by self and easy to other people to read .

Concept
1. set head comment to before write code

;--------------------------------------------------
;
; method name : hello world
; Description : for test method
;
;--------------------------------------------------


2. description detail method

public static void main()
{
system.out.println("Hello world"); // show message to monitor
}



special
you can make comment in the head file for formal code
example :

; ----------------------------
; Source code for show program is Hello
; write by Itsara Konsombut
; at 7.55 pm 1/5/2005
;in computer club at Suranaree University of technology
;-----------------------------

final :
this is form simple to use write code by me