↧
Complex Functionality Using Component Systems
Anyone who has tried to create a complex tree of game objects will have come across problems of either code repetition or code redundancy. Consider the following example… In your game world, you have...
View ArticleSome Useful Collision Code
Collisions between objects are essential in games. Finding if a collision has occurred if relatively straight forward. What’s difficult is finding a collision response. For Ganymede we have to deal...
View Article“Ball” Source Code Up
We’ve just added the source code to our Fresher’s Fair demo game “Ball”. Take a look: http://gamedevsoc.eusa.ed.ac.uk/projects/ball/
View ArticleBroad-phase Collision Detection with Spatial Hashing
Suppose that you have a number of entities in your game – tanks, bullets, mushrooms, etc. You’d like to find out if some of those entities overlap. Are any bullets hitting any tanks? Generally...
View Article