Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HexagonalTiledMapTest not working as expected #7423

Open
1 of 6 tasks
desertratx opened this issue Jul 24, 2024 · 0 comments
Open
1 of 6 tasks

HexagonalTiledMapTest not working as expected #7423

desertratx opened this issue Jul 24, 2024 · 0 comments

Comments

@desertratx
Copy link

desertratx commented Jul 24, 2024

Issue details

I programmed a hex tilemap using the HexagonalTiledMapRenderer. Unfortunatly when translating the OrthographicCamera it is not working as expected. If i drag the mouse to the left, the map should move to the left and only to the left, same for the other directions....

I found a video how I would expect it to work:
https://www.youtube.com/watch?v=b206NRY-0c8

As I did not find a solution I copied HexagonalTiledMapTest, GdxTest and OrthoCamController to my project. Unfortunatly I get the same result when using the drag of the OrthoCamController as in my project.

Recording 2024-07-24 at 17 48 39(1)

Reproduction steps/code

I tried to strip as much code as possible....

public class DesktopLauncher {
	public static void main (String[] arg) {
		Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
		config.setTitle(("Test"));
		config.setWindowSizeLimits(Constants.WIDTH,Constants.HEIGHT,Constants.WIDTH,Constants.HEIGHT);
		HexagonalTiledMapTest test = new  HexagonalTiledMapTest();
		new Lwjgl3Application(test, config);
	}
}

Any help is appreciated!

Version of libGDX and/or relevant dependencies

    gdxVersion = '1.12.0'
    roboVMVersion = '2.3.20'
    box2DLightsVersion = '1.5'
    ashleyVersion = '1.7.4'
    aiVersion = '1.8.2'
    gdxControllersVersion = '2.2.1'

Please select the affected platforms

  • Android
  • iOS
  • HTML/GWT
  • Windows
  • Linux
  • macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant