Categories
- blog (13)
- game development (61)
- Games (9)
- games related (9)
- Cheat (2)
- Komplettlösung (d) (3)
- Walkthrough (3)
- MS Office (7)
- PHP (3)
- Tutorial (8)
- Intermediate (1)
- Tutorial Series (15)
- Grid Based Games (8)
- Terrain Modification (7)
- Uncategorized (1)
Category Archives: Tutorial Series
Alright, while I already wrote about putting the concepts of this series to a use, here are two examples:
- The implementation of a minimap and
- The concept of a bouncing map
Posted in as3, flash, grids, mochiads, Terrain Modification
Tagged comet, flash populous, minimap
2 Comments
The following dialogue came up in the comments of Part 1 of this tutorial.
JJ: Could you show me a way to fill each tile of the map with a bitmap or some other graphic type? Is a solution possible based on using beginBitmapFill() ?
Me: What exactly do you want to achieve? Do you want to use graphics (imported or drawn in flash) for tiles? Or do you really want to fill the tile like texturing it?
JJ: I meant filling the tiles like texturing it.
What do you think?
Continue reading
Posted in as3, flash, grids, Intermediate, mochiads, Terrain Modification
Tagged bitmap texture, isometric landscape
2 Comments
Alright, giving the landscape some natural feeling by applying colors to the tiles. This simply fits into the dynamic drawing of tiles by using a fill. The shading here will be done with static colors instead of shadow calculation.
Continue reading
Posted in as3, flash, game development, grids, mochiads, Terrain Modification, Tutorial
Tagged grid, isometric landscape, isometric map, populous, shading, sim city
5 Comments
This part deals with the implementation of the moving nodes method (Part 2) from one dimension to the pseudo 3D landscape and begins with the movie itself for you to test what it does.
Just hover through the landscape and lift single nodes with a mouse click. Neither am I gone further by implementing lowering nodes nor did I hide the mouse cursor and the green pointer. The first one would have (additionally) increased the number of code lines in this post without adding relevant information. Hiding the cursor would have brought the movie closer to a final state but at the moment it is the method that counts.
Continue reading
Posted in as3, flash, game development, grids, mochiads, Terrain Modification, Tutorial
Tagged populous flash engine
Comments Off on Terrain Modification in Grid Based Games – Part 3: Active Landscaping
In this part of the terrain modification tutorial I will show you how to move single nodes and their neighbors if necessary. To begin at a smaller scale I will not use a multi-row grid but a line of nodes instead.
Every node in a line will have two neighbors (except for the outer ones of course).
Continue reading
This appendix is part of the terrain modification tutorial series and holds information about the dynamic creation and drawing of tiles.
The different tile styles presented are some sort of tribute to great old games like Populous and SimCity and their differences in tile design.
Continue reading
Posted in as3, flash, grids, mochiads, Terrain Modification, Tutorial
Tagged dynamic tile drawing, isometric map, isometric tiles, populous, simcity
Comments Off on Terrain Modification in Grid Based Games – Appendix A: Dynamic Tiles
Target of this tutorial is the development of a scrolling isometric tile map where the terrain can be manipulated. Inspiration for a test like this were Populous and SimCity with their respective methods of terrain manipulation. While Populous lets the player change the height of a single node (forming a pyramid), SimCity always pushes the whole tile. The challenge here is that node’s heights can only be altered in dependency of their adjacent nodes.
This part deals with the creation of a tile map displaying the isometric map with terrain.
Continue reading
Posted in as3, flash, grids, mochiads, Terrain Modification, Tutorial
Tagged dynamic tile drawing, populous, simcity, terrain manipulation, terrain modification
9 Comments
Alright, the most important part of that mazing type tower defence game must be the pathfinding. Completely different from the given path games, a constant ‘re-pathing’ is neccessary. What we’ll do here is the basic thing. A backwards pathfinding with all nodes to create a flowfield. Heuristics are included to later check if there is a possible path (using the shortest path). There is a number of end nodes taken into account but only one start node yet. Creeps will later use the given direction of the node they are on.
Here is what we are going to create, have a little test:
Posted in as3, flash, Grid Based Games, grids, mochiads
Tagged A*, Astar, mazing, path finding, tower defence, Tutorial
17 Comments
This post enhances the previous post by the ability of actually placing obstacles which somewhen may become towers.
Continue reading
Posted in Grid Based Games, grids, mochiads
Tagged adjacent, desktop tower defence, grid, node, obstacle, placing, tower, tower defence, Tutorial
1 Comment
I know this may look like a call to clone. But the intention of this post is more like look and learn. Once you can do the same, make it better. We’ll have a look at Desktop Tower Defence and try to understand the basic methods of that game.
This post will cover the creation of the square grid in different colors and a method to obtain the actual position to build a tower.
Continue reading
Posted in as3, flash, Grid Based Games, grids, mochiads
Tagged desktop tower defence, grid, mochiads, node, tower defence, Tutorial
3 Comments