Categories
Game Creation Mastering Development

How to add sprite batch on tile in isometric map in Libgdx

I’m using Libgdx to create an isometric game , but now I have problem. I want to add sprite on tile (3,4) , but I can’t do this, so I searched on stackoverflow , and I found this code :- public Vector2 twoDToIso(Vector2 punto) { Vector2 tempP = new Vector2(0, 0); tempP.x = (punto.x – […]

Categories
Development

scrolling background in game android studio.Background moves towards right with screen blinking how to solve it

I want to implement a scrolling background in my game in android studio. My idea was to have two Bitmaps, who are drawn next to each other and to reset the position of a bitmap if it is not the screen anymore The background moves right the screen is blinking How can I solve my […]

Categories
Development

Fixing collision detection using a hitbox in a JavaFX application

I have a problem with some code I’m working on for a project in NetBeans. My teacher sent us a space-invaders like game, and asked us to override/fix elements about that game. One of the problems I’m currently experiencing is that there is a Circle that’s supposed to represent the hitbox of the ship, unfortunately, […]

Categories
Development

Android application in Android Studio running and working fully on a Android Studio Emulator, but crashing on a physical device

Can you guys help me with my problem? My program is running with no problems on Android Studio Emulator (Pixel 2 API 28), but after I install it on my phone (Samsung Galaxy S8+ API 28), it just keep on crashing every time i tap the play button :(. I also tried it on some […]