Tagged Questions

This is a style of game that sets the player in the role of protector of an area or structure. The idea being to survive against a series of increasingly powerful invaders.

learn more… | top users | synonyms

0
votes
1answer
135 views

How to sync towers and enemies in Tower Defense?

I'm going to build a tower defense (like) game. In a heavy tower defense, it takes time to processing. So, if i set a time interval, it costs interval+processing time so it's not fair. If i make a ...
4
votes
4answers
924 views

How can I procedurally generate the right difficulty of enemy waves? [closed]

I'm programming a space-shooter mobile game with a sandbox gameplay style similar to Defender's. The player faces infinite waves of enemies moving towards his ship. The game has many upgrades the ...
-2
votes
2answers
386 views

Tower Defense Search Enemies Efficiently

I had a problem with the build of a TD. I got a slow - non efficient search for towers find targets to shoot. PD: enemies[] got all the active & non-active enemies (death and alive) ->Im using ...
1
vote
2answers
1k views

C++ OOP Implementation of a game [closed]

I've been recently trying to get into Object Oriented Programming by porting a game I've made in C to C++. The problem is, even though my implementation works, I don't know if is the best approach. ...
-1
votes
1answer
458 views

how to predict enemy postion to shoot bullet same kingdom rush

i'm doing a tower defense game same kingdom rush, enemy can run curve not only linearly. i found this link : 2D tower defense - A bullet to an enemy but this link use only for enemy run linearly. ...
2
votes
3answers
1k views

Map building - Tower Defense

Before diving too deep into my question, let it be known that I am learning as far as java script goes and figured a simple Tower Defense game would be an excellent way to learn things. So I have ...
2
votes
2answers
307 views

About making damage between units

I am making my own Tower Defence game engine. I havent built one before and I don't know lot of stuff how games work. I will take Starcraft as an example. You have a marine shooting a zergling from ...
3
votes
1answer
1k views

Aim prediction along a parabola - How to make a Tower Defence Mortar aim accurately

I am building a very basic tower defence game in Unity3D where one tower is your standard long range mortar/artillery. I want the projectile it fires to follow a parabola curve to make its movement ...
-3
votes
2answers
772 views

Can I develop 2D tower defense game with unit3D in C# for Android? [closed]

I tried to find the answer in unity3d site but without success. If the answer to my question is yes, does anyone know where I can find an example?
2
votes
3answers
1k views

What are the most common AI systems implemented in Tower Defense Games

I'm currently in the middle of researching on the various types of AI techniques used in tower defense type games. If someone could be help me in understanding the different types of techniques and ...
1
vote
2answers
670 views

How to implement a birds eye view of 2D Grid Map using Android

I'm a true beginner with using the android platform and I'm having difficulties on implementing a 2D grid system for a tower defense type game. Where I can place towers on a specific tile and enemies ...
4
votes
2answers
397 views

In a Tower defense game, how to do buffs/debuffs

The question is at the very bottom. If you understand Buffs/Debuffs in tower defense games then you should skip the bulk of this question and go to the bottom (seperated with the long line) I plan on ...
0
votes
2answers
1k views

2D Tower Targeting (Tower Defense)

so just to be more specific this question isn't in regards to how to target enemies or anything like that rather its purposed towards a specific targeting issue i have with me enemies in its current ...
1
vote
1answer
559 views

What algorithms can I use for bullet movement toward the enemy?

I'm developing 2D strategy game. There are weapons that shoot at enemies. From what I've read in this, this, this and this post I think that I need linear algebra, but I don't really understand what ...
0
votes
2answers
2k views

I need an enemy spawning algorithm for a 2D tower defense

I need an enemies spawning algorithm for a 2D tower defense game. I have 4 maps, each has 4 stages and each stage has 40 rounds. I need to create an algorithm which will instantiate waves, increase ...
8
votes
5answers
7k views

What is the logic behind the 'Loading' scenes in games?

I'm making my first game, it's a tower defense type of game, using Unity game engine and taking Fieldrunners as a reference. I would like to know more about the functionality behind 'Loading' scenes ...
16
votes
4answers
13k views

How do you save game state?

What is the procedure followed by game programmers for saving and resuming game state? like files/mappings. I want to save it for tower defense game and I am using unity3D game engine.
11
votes
3answers
3k views

How can I implement a “fast-forward” feature in my game?

How can I implement the fast forward feature for my tower defense game like in http://fieldrunners.com/ and other TD games? I am using Unity 3D. Would there be something to manage fewer frames per ...
2
votes
3answers
2k views

How can I specify which enemies to spawn for each round in a tower defense?

I am making a TD game in Unity, and I would like to know the most common approach to spawning enemies each round. I have more than 200 rounds per map, just like Fieldrunners. Is it some kind of ...
1
vote
4answers
728 views

How can a single script attached to multiple enemies provide separate behavior for each enemy?

I am making a TD game and now stucked at multiple enemies using same script. All is well with scripts attached with one enemy only. Problem is in running multiple enemies. Here is the overview. I ...
1
vote
1answer
693 views

How can we view 3d objects from top down view in TD game

I am making a tower defense game. I am working in x and y axis only. I have made a grid, snapped towers and made a pathfinding algo to run enemy. Initially I have worked with cubes and spheres in ...
-2
votes
2answers
415 views

How to attach turrets to tiles in a tile based game

I am a flash developer, and I am building a Tower Defense game. The world is being built through tiles, and I have gotten that accomplished easily. I have also gotten level changes and enemy ...
4
votes
2answers
1k views

Which pathfinding algorithm should I use for multiple enemies and tower placement?

I am new to game development and I am developing my first "Tower Defense"-type game. I need a pathfinding algorithm to place my towers and to move enemies. For tower placement case: I want the ...
7
votes
5answers
1k views

How to make sure there's always a walkable path for enemies in a tower-defense game?

I am making a 2D tower defense game. So far I have a 2d array which acts as a grid for my game. I'm able to place towers on it, run enemies and some dragging and tower firing stuff. Now I am facing a ...
0
votes
1answer
899 views

How to drag my dragging object in 'game'-unity?

I have made a dragging sphere which drags, problem is how can I drag it using keyboard keys , I dont want to build it again on iphone simulator after experimenting with my code. for dragging it is not ...
3
votes
2answers
1k views

How can I make grid tiles/plane transparent

I have made a grid using multiple planes. Now I want to place a image on this grid so that user cant see the grid I have made and I ll have access of all points of the image using grid. The problem ...
2
votes
1answer
10k views

What is grid in Unity and how can I implement it?

I'm a beginner. I need to place a grid on my map in Unity and would like to access it to place a simple object on mouse click. How can I achieve this ? I am unable to understand the grid ...
8
votes
3answers
6k views

How do I make objects move along a path?

I'm trying to get something like the below image. As you can see, there's a highway and inside of it, there'll be some objects moving (millisecond). I guess the street behavior is like a pipeline. ...
12
votes
4answers
5k views

2D tower defense - A bullet to an enemy

I'm trying to find a good solution for a bullet to hit the enemy. The game is 2D tower defense, the tower is supposed to shoot a bullet and hit the enemy guaranteed. I tried this solution - ...
0
votes
1answer
201 views

Choppy enemy movement

I had a question about How to calculate the enemy to arrive in the middle of cell. How to calculate the enemy to arrive in the middle of cell? The posters pointed out that the direction of the ...
0
votes
2answers
210 views

How to calculate the enemy to arrive in the middle of cell?

The game is 2d, and the genre of this game is tower defense. I managed to get it moving to the cell and arrived in the cell. But it never arrives at the middle of a cell. Here's what I did... ...
-1
votes
1answer
1k views

Tower Defense Game SurfaceView Structure

I am building a tower defense game for android where you have to defend the base from mobsters who have a bounty on your head. You start out with a certain amount of life, every time an enemy reaches ...
4
votes
5answers
617 views

Flash Game not working on Android

I am not sure if I will be able to provide enough information for someone to answer this question, but any ideas might help. I am creating a tower defense game in Flash and I eventually want to make ...
3
votes
1answer
736 views

Flash AS3 Tower Defense MouseEvents

In my tower defense game and every tile has its own mouse event listener. I am wondering, would it be better to use one event listener (MouseEvent.CLICK) and then when it runs the function, should I ...
3
votes
2answers
466 views

Slow Tower for a Tower Defense Game

I am making a tower defense game in Flash and I have a slow tower that is built directly on the path. I have it setup to use a hitTestObject function. The tower is in its own class and the enemies ...
8
votes
3answers
1k views

Pathfinding with multiple random paths in a Tower Defense game

I thought about random pathfinding for my Tower Defense game. A* would not work for my puposes, because I specifically need random pathfinding. Imagine a map with routes, a starting point and a ...
7
votes
3answers
970 views

Effective methods to continuously update movement in a tower defense game?

We are four guys making a Tower Defense game as a project in first grade on a university. The game is going to be really simple! Three different towers Three different monsters One map (maybe add ...
0
votes
1answer
584 views

Need help with rally point and spawning in StarCraft 2 map editor

I want to make a Tower Defense game using the StarCraft 2 editor. How can I make a rally point to control AI appear at one point and go to specific point? How do I make creep spawn properly at ...
9
votes
5answers
903 views

Slow performance on an A* implementation in a tower defense game

I'm making a Tower Defense game in Flash with no predefined path. Although my grid is 40x40 (small?), A* is struggling when recalculating every time. So I made my own modification to ease the ...
9
votes
1answer
431 views

Locate the shortest path through obstacles when all normal paths are blocked

I'm making a Tower Defense and I have basic pathfinding working, but I got a problem. I want to make the path blockable, and when a block occurs the runners will attack the blocking towers. So what ...
14
votes
9answers
5k views

Dynamic pathing algorithm for tower defense game

I'm making a Tower Defense and I need a good pathing algorithm for it. I have thought about Dijkstra but I need one that can be dynamic; it must be able to update itself when one edge is removed or ...