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
1
vote
2 answers

How to implement a left recursion eliminator?

How can i implement an eliminator for this? A := AB | AC | D | E ;
Mahdi
  • 175
  • 3
  • 16
1
vote
1 answer

WSDL got from a web service different from WSDL used to produce the web service

I have written a web service in a top down way : I wrote de WSDL first, then I used the wsimport tool to produce the WS interface and the proxies, and finally I wrote the WS implementation. Now, my WS is deployed on a Tomee 1.6 server, and when I…
jmb
  • 129
  • 11
1
vote
1 answer

BDD Top-Down Approach

I'm new in BDD world and I've been in some difficult trying to get the best from top-down approach, strongly recommended by many people. Considering this what would you recommend as a good start point to specify controller's behaviors? I mean, what…
alexfgo
  • 41
  • 5
1
vote
1 answer

How do I align bullets with a gun?

I have an image of my player (top-down 2D). The player rotates to face the camera, and holds a gun. When bullets are created, they are created at the player's x and y. This works when the player is facing the right way, but when the player rotates…
Shane
  • 25
  • 5
0
votes
1 answer

Entity Framework, Repository, Data Layer, 3 Layer

I'm trying to visualize a 3-layer design with Entity Framework. If I have a Repository on top of the EF Context, are they both components of the Data Layer? Or is the Repository the Data Layer itself, and EF something else? I'll have a BLL that…
Benjamin
  • 3,134
  • 6
  • 36
  • 57
0
votes
1 answer

2D layering/URP issue when using fence tiles

I am working on my first real 2D unity game. I only recently started using URP to display my character behind barrels and cacti correctly. I am now using a fence tile set I created with collider boxes along the bottom edges of the fence. However,…
C W
  • 45
  • 5
0
votes
1 answer

Unity2D Movement - velocity not working correctly

I have been working at this for a while and do not know why it doesnt work. I want the rigidbody2D object to add velocity when the mouse button is released and however long the mouse is held down determines the power of the velocity. It works…
Das CO
  • 53
  • 1
  • 4
0
votes
0 answers

ScreenToWorldPoint no longer works in latest Unity version?

So I'm making a platformer with shooting mechanics, and part of the game is that you fire around yourself and aim with your mouse. This code works fine in Unity 2022.1.11f1, but in a more recent version (2023.1.5f1), Unity is telling me that…
0
votes
0 answers

onmousedown return wrong result after tilemap refresh

A 2d game map scene in unity There is an object above a titlemap that contains a collider. This object also contains a collider. I use onmousedown to determine whether the object is clicked. I make sure that all settings are normal, including their…
0
votes
1 answer

In 2D animation, the character goes into idle mode when a key is pressed in unity

Instead of animating a character in an inactive(Idle) state. The B key is pressed here:. After a while the animation works again:. Exit time is disabled for transitions. Player Controller file code: public class PlayerController : MonoBehaviour { …
Nech
  • 3
  • 2
0
votes
0 answers

0/1 Knapsack - return maximum value + list of included items - Top Down Approach - Time Complexity cubic or quadratic?

I am trying to solve the classic 0/1 knapsack problem with a slight variant where we are asked to return the maximum value + the list of included items. Input items = [[1,2],[4,3],[5,6],[6,7]] where items[i][0] is the value and items[i][1] denotes…
Zephyr
  • 21
  • 3
0
votes
1 answer

pygame shooting script causing lines

I have this very basic shooting script made in pygame. The script works fine and the bullets move as intended, but when bullets are fired off the left side of the screen specifically, their image is streeched across the screen, creating a line that…
0
votes
0 answers

how to make an enemy only attack the player when the player is in a state that can be attacked?

how to make an enemy only attack the player when the player is in a state that can be attacked in unity C#
0
votes
1 answer

Generating bird eye view of image in OpenCV(Python) without knowing exact positions of reference points and camera properties

I want to do some particle image velocimetry on dancing people but I was not able to record movies from the top (a bird's eye view). Instead, I managed to shot them from an upper position and my goal is to transform this series of images into a…
daniel vito
  • 3
  • 1
  • 4
0
votes
0 answers

During top-down interaction testing, why would one want to integrate the modules in a depth-first manner rather than a breadth-first manner?

During top-down interaction testing, why would one want to integrate the modules in a depth-first manner rather than a breadth-first manner? During top-down interaction testing, why would one want to integrate the modules in a depth-first manner…
1 2 3
8 9