Questions tagged [topdown]

Top-down games, also sometimes referred to as bird's-eye view, Overworld, Godview, overhead view or helicopter view, when used refers to a camera angle that shows the player and the area around them from above.

126 questions
0
votes
0 answers

Monogame 2D top down enemy AI

I'm trying to create a simple AI for a top down game that follows the player, but doesn't immediately take the right path to him. My enemies have to move in steps op 100 pixels before they decide to take another step. I had put together something…
M. Boeckx
  • 252
  • 1
  • 5
  • 18
0
votes
2 answers

2D Top-Down Java (1.8) Game from Scratch(nothing)

So, first of all this is my first time posting and I am trying to make a top-down game with java(1.8) and IntelliJ, nothing else. I have all of my code good and done(for making the sprite show up), I test it and it keeps giving me error messages…
0
votes
1 answer

libgdx animation inside of a rectangle - collison detection - rectangles

I am writing a RPG game similar to the style of Pokemon (top down view). I am now working on the issue of collision detection. I am wanting to create the collision detection based on rectangles. The problem is that i am having difficulty drawing…
0
votes
1 answer

libgdx - Camera doesnt properly follow player - runs off screen

I am developing a libgdx rpg desktop game similar to the style of pokemon (top down view). In the game I use a OrthographicCamera to follow the player as he walks around a Tmx map created using Tiled. The problem that I am having is that when the…
0
votes
1 answer

Implementing Top Down Parser in java

I have to code a top down parser in java. I know the algorithms and everything nicely to calculate FIRST and FOLLOW and parsing a string. But I dont know how to begin. So any help would be appreciated for these quesions: How to give a grammar. What…
Akash
  • 85
  • 1
  • 12
0
votes
1 answer

Basic walking script input

I have this basic script in my game for navigating my character around a top down level, but every time I press any of the keys, there's a slight input lag and the screen freezes for just a second. I'm not sure how to fix it. If anyone had any…
user2757842
  • 651
  • 1
  • 11
  • 24
0
votes
1 answer

XNA- MOBA Game Movement

i m working on a prototype game, a MOBA test :D And im having problems with the movement. I wanna have it like in League of Legends, a click-to-walk system. Also so the character faces where it walks. It's gonna be a 2D-topdown game. I've been…
Uffe Puffe
  • 105
  • 1
  • 12
0
votes
1 answer

Can some one please provide the practical examples of stubs and drivers?

I need some practical examples of stubs and drivers with respect to top-down and bottom-up approaches to testing. I don't require code here. Just the scenario based examples.
Aditya
  • 425
  • 3
  • 8
  • 22
0
votes
1 answer

Box2d AS3 Flash simulating wind on top down view with friction

I am trying to make a top down game where you throw a disc using Box2d. The world has no gravity so the disc can be thrown and just bounces around the stage with the inertia and linear damping that I have set it with. Now, if I try to introduce wind…
user1961104
  • 405
  • 1
  • 3
  • 7
0
votes
1 answer

Implement a projectile motion and collision detection - response in a 2D top-down game

There are a lot of examples concerning projectile motions in 2D games. But, what are the equations for implementing a projectile motion on a 2D top down view game? For example, we want to kick a ball and increase its height (just like sensible…
Puma
  • 135
  • 1
  • 12
0
votes
2 answers

Local Variable NullPointerException

I'm getting a nullpointerexception when I click on the signup button on the Login class it gives that error. I've tried to tinker around with the local and global variables and nothing seems to fix the error, I might have got mixed up on the…
TheBlueCat
  • 1,147
  • 5
  • 19
  • 38
-1
votes
1 answer

How do I get a bullet prefab's sprite to use the same rotation as my weapon?

I'm working on a top down concept where the gun revolves around the player and flips according to the side your crosshair is on (similar to ZERO Sievert). I'm trying to have my bullet sprite have the correct rotation when firing in relation to my…
Drudie
  • 23
  • 4
-1
votes
1 answer

Unity2D Simulating height with Top Down Shadows

So the problem is the following: I have been trying to make this flying simulator little phone game, the problem is i cant make the shadow change with a smooth transition... That White squared is a cloud, and the objective is to have the shadow…
Duarte Elvas
  • 123
  • 1
  • 8
-1
votes
1 answer

How to make a kills counter in Unity2D with C#?

I want to make a kill counter but for some reason it's not working. Here is what i did I create a new empty GameObject Game Manager And add a new component Score, Here is the code: using UnityEngine; using UnityEngine.UI; public class Score :…
Mr.mannou
  • 35
  • 1
  • 4
-1
votes
1 answer

Top down heap construction when getting element one by one

so I read that when you are getting elements one by one you should use bottom up heap constrcution rather than heapify which is top down, but What if i use the heapify algorithm every time i add a new element , basically doing the same from n/2 to 1…
1 2 3
8
9