Archive for July, 2009

Got physics and gravity working in ball bounce demo.

Sunday, July 26th, 2009

Have you ever wanted to know how they simulate balls bouncing off each other and being pulled down by gravity? Here is some simple code using SDL and C that shows how it works.

OS framework goal.

Sunday, July 26th, 2009

I have often thought that someone could re-implement an OS from scratch using all the lessons learned from Unix and Windows and come up with a tiny OS with an application framework on top that can rapidly develop complex software that is very small in size by reusing elements from the framework.
In other words, the [...]

First try at solving the C10K problem.

Tuesday, July 21st, 2009

I am implementing an epoll() solution as recommended by this page: http://www.kegel.com/c10k.html
The documents and examples are a bit lacking so hopefully by the time I am done with this series I will be showing everyone a good example of a general purpose threaded program that can scale up to multiple tens of thousands of [...]

What do you think of Software Engineering?

Monday, July 20th, 2009

Software Engineering: Dead?
http://www.codinghorror.com/blog/archives/001288.html

Reads like iphone development sucks.

Monday, July 20th, 2009

iPhone App Store roulette: A tale of rejection
http://infoworld.com/print/83773

SDL_net programming

Sunday, July 19th, 2009

http://gpwiki.org/index.php/SDL_net
SDL_net, a part of SDL, is a small sample cross-platform networking library, with a sample chat client and server application. It is available under the GNU Library General Public License. SDL_net gives a simple and portable interface for TCP and UDP protocols. For UDP sockets, SDL_net give an half-way connection: you can bind a socket [...]

A Beginner’s Guide to Creating a MMORPG

Sunday, July 19th, 2009

http://www.devmaster.net/articles/building-mmorpg/
Interesting in depth guide to creating an mmorpg from scratch.
Here is someone thinking about how to design a game:
FIREFLY MMORPG Design Document
Anything that applies to making a Role Playing Game applies to the gaming portion of the MMORPG.

Analysis of various MMORPGs

Sunday, July 19th, 2009

I am more focused on the backend server design than actually playing a game.
From Wikipedia:
World of Warcraft was first announced by Blizzard at the ECTS trade show in September 2001.[36] Development of the game took roughly 4–5 years, and included extensive testing. The 3-D graphics in WoW use elements of the proprietary graphics [...]

Emergent AI articles.

Sunday, July 19th, 2009

From wikipedia:
In philosophy, systems theory and science, emergence is the way complex systems and patterns arise out of a multiplicity of relatively simple interactions. Emergence is central to the theories of integrative levels and of complex systems.
When games get their intelligence from emergent behavior, that behavior tends to be much more robust and adaptable than [...]

Reseaching Sprite Collision Detection

Saturday, July 18th, 2009

http://www.google.com/#hl=en&q=sprite+collision+detection
http://www.gamedev.net/reference/articles/article735.asp
Huge collection of sdl tutorials : http://lazyfoo.net/SDL_tutorials/index.php
I created a very primitive sprite collision scheme built into my multi bouncing ball demo.
Here is the Youtube video: First Sprite Collision Attempt
Here is the code:
collision.c
You compile the code like this:
gcc `sdl-config –cflags –libs`  collision.c
Enjoy.