Howdy hackers, once again I got side tracked from the tower defense game and decided to create a puzzle game. The goal was to make it as quickly as possible
As I was implementing the towers I needed them to aim and shoot on the anticipated position of an enemy, assuming they are moving linearly (no acceleration). This is because
This Jul (Swedish for Christmas) I’m not only eating Julbord, Julfika, Julgröt and drinking Julöl (basically put ‘Jul’ before any word and there you go), I’m also doing some Julcoding.
Right now I’m between two jobs which gives me a week of creative coding, oh yeah! As I said in an earlier post I wanted to create a tower defense game, then
Lately things have been hectic at work, every weekend has been filled with birthdays and I also caught a cold. In short, I’ve had little time to work on my
Randomness adds an extra flavor to games by injecting some unpredictability, something that can surprise the player. It also makes the game less mechanical and more organic. In the game
Unaccordingly to my plan I spent yesterday rewriting my shadow casting routines. What I need is a frustum, or flashlight type of light source. Before, I had solved this by
For quite some time I have been thinking of adding some ray casting into the Spatial Hash. The Spatial Hash is used for broad phase culling, eliminating objects that can’t
After some productive hours I managed to assemble a bot with a few goals, reusing some old code and adding some new. In the example below I added four goals
To test my experiment with a tower defense in an AI sandbox I started by implementing some basics. In this first step I generated a random “world” with boxes on
When I get some spare time I tend to start coding, or play tower defense games. Having played hundreds of Tower Defense games, I understood what elements I was missing.
Hexagons have always fascinated me, they appear everywhere, in architecture, computer games and more curiously; this rather symmetrical structure emerge in a lot of places naturally. Snow crystal: Bee hive:
Here is the source code for an AS3 vector 2d class I wrote (Vec2.as and Vec2Const.as), feel free to use it and link back if you like it. Here are
This is the art and code factory (namely our living room). You can see Annas MacBook Pro to the left and my glowing Dell XPS to the right. Robot Oeidipus
When I wrote the Playchilla Physics Engine last summer I needed a broad phase algorithm to reduce the number of collisions to check. There are several ways to do this
As3 is lacking a powerful const keyword, this post will show a few tricks to simulate const. Anyone who has worked with C++ has encountered the keyword ‘const’. This can
During my summer holidays I spent some time to build a simple AS3 physics engine just to get a hang of how it works. Features Simultaneous motion – The Playchilla
As we enjoy building (not always useful) things we thought we might just as well share them with you!
