Friday, February 29, 2008
[gamedev] Don't do it!
The main reason is that I strongly agree with the bottom line: It is a lot more fun to actually engage in smaller projects that you can hope to finish. My very first game project was very ambitious - of course I did not realize that at the time. Even now I just could not do it unless I stop doing anything else for 4 years :-) (and find some good artists to help! ;-) ). Now, note that I learned *a lot* from it, so I do not regret a single second the time I spent on it. But it would have been even more fun to have a game in the end. I am definitely not saying hobbyists should not engage in crazy projects - it is amazing what someone determined can achieve with a lot of work. So if you feel this is what you should be doing, just do it.
However, if you are beginning in game programming you should definitely start with a first small project. Just to experience how great it feels when your game is finished, when you prepare this final zip that will be available for download on your web site, when you receive first comments from players (typically bug reports ;-) ). Sure, plenty of people will tell you 'your game looks ugly', 'it's been done before', etc ... But it will be your game, your creation, your contribution to the ocean of 'fun time wasters'.
I recall when I did my first game. It was a Breakout game. I worked very hard. I was very proud. Nobody was impressed. The number of time I heard 'Why are you doing that? It's been done before!'. Hell ... not by me! But then, as you make more projects, as you gain experience with your game development skills, you'll start to make more impressive stuff. And then you'll realize it's not about being impressive. It's about making something fun. And this is where it starts to be both easier and more interesting :-)
Anyway, I agree with this web page. I know its right. I know I shouldn't. I am still working on this MMO game project ;-)
Sunday, February 10, 2008
[dev] Tile based world
Here is a screenshot of my 'tile' world editor. Its written in C#. The tiles are Danc's free tile set (many thanks to him!).
I am sort of planning to use this for my next project - which is supposed to be a networked game ...
Anyway, making such an editor is a very good exercise, highly recommended! (I am new to C#)
Thursday, February 7, 2008
[opengl] gluX
gluX is here!
Tuesday, February 5, 2008
[dev] CEGUI
I finally took some time to look into CEGUI. This is a great library! Exactly what I was looking for: It provides a very well designed API to build GUIs, using any renderer (and of course OpenGL and DirectX are among them). I did, years ago, spend some time designing a GUI, but I am really happy to take this load of my shoulders now :-)
It really wasn't hard to compile and use it. Let me give a few hints for those who would like to start using CEGUI with Visual C++ under Windows (and with DirectX).
All downloads are on:
http://www.cegui.org.uk/wiki/index.php/CEGUI_Downloads_0.5.0
I had to recompile CEGUI since the precompiled binaries did use a version of DirectX older than the latest available. And anyway, it is good to have the source code on hand, as it acts as a good documentation :-)
- Download the zipped source code and the precompiled external dependencies (available for all three versions of VC++ - nice!)
- Uncompress everything in a same directory.
- Follow instructions on http://www.cegui.org.uk/wiki/index.php/Build_from_Source_for_Win32
Yes, you need premake, it will generate the "*.sln" projects in makefiles/premake. You have to enable DirectX support by editing "config.lua" and setting "DIRECTX9_RENDERER = true". Then launch "build_vs2005.bat", open the VC++ project and compile. Also generate the samples project with "build_samples_vs2005.bat". - To run the samples, copy the DLLS from lib\ into bin\. I also had to copy datafiles\ into the root of my CEGUI install to be able to directly launch the samples from bin\.
Now a couple links I found handy when doing my first steps with CEGUI:
- The Widget Galor: http://www.cegui.org.uk/wiki/index.php/WidgetGalore. A big sample with all widgets.
- Xadec page on CEGUI http://artis.imag.fr/~Xavier.Decoret/resources/CEGUI/.
But of course, the CEGUI Wiki contains a ton of useful information!