Wiebo de Wit's thoughts about game development and more…
I’m moving my blog to another home: http://devdef.blogspot.nl
This blog will stay here as an archive, but no new content will be posted here.
I’ve been working on making my framework compatible with Linux (Ubuntu, Mint, etc) so here is the Linux version of ScrambleRND! Get it from my games page and tell me what you think of it, ok?
Whee. Finally got my collision system working properly with the quadtree and camera systems.
When I ask which entities collide with a certain entity, the quadtree returns the entities in the same quad tree node space. Then, a hit-box check is done to see which of those entities overlap the hit-box of my entity. The hit boxes scale with the entity, btw. Last, an image check is done on the remaining entities.
screenshot or it didn’t happen! :) As you can see in the screenshot, there is only one hit at image level. (HIT*1)
I’m happy! Next thing to do is importing and exporting entity worlds.
A little surprise for you if you’re interesting in classic arcade games. I’ve been creating this nice little remake over the last few days, and now it’s done.
It’s a remake of the classic 2D scrolling shoot’em up. I took the Vectrex version gameplay and made it look like an Atari 2600 game. Also, the terrain is randomized for a little extra fun.
Instructions are in the readme file. You can download the game from my PC games page.
Have fun! And here are some additional screenshots.
Last week I finished my blitzmax port of the java entity framework Artemis. The framework will allow you to use a data oriented design approach to your gaming development.
The download includes a little Asteroids game as well which was built using the framework. The source code is included and you can check out how to use the system and create a simple game with it.
I am now starting work on implementing the system in my map editor so we can enjoy an endless diversity in game objects and structure in the new game. The thing to build now is something like an object set, where each game object is described by which components it holds and the values that go with that component. Something like this:
This defines an enemy, with a transform component: position = 10,10, scale = 1.0, rotation = 50 degrees. It also has a renderform component: the image is loaded from alien.png, and it holds 10 frames of 32×32 each. It is also subject to gravity and its weight is 2.0.
This is very easy to load and save. Also, the editor user will be able to add objects on the fly, add components to it and add it to the map. The objectset is saved with the map itself or separately so it can be re-used for other maps.
Bye for now!