Categories
Development Game Creation

(2d) Player sometimes doesn’t jump up while moving and jumping at the same time

My issue is that the player sometimes (occasionally) doesn’t jump up while moving. It sometimes works, sometimes don’t. It’s weird, and I am not sure whether it’s the code problem, or the tile collider’s problem, here’s the code: using UnityEngine; public class PlayerController : MonoBehaviour { [SerializeField] private LayerMask platformsLayerMask; public Rigidbody2D rb; public float […]

Categories
Development Game Creation

Get Player Rank from google play services

How do I Get current player ranking from google play services leader board? I am able to authenticate player and if the player is authenticated then I show the player leader board. I can see the player’s rank on the UI but now I want it to copy to a variable so then I can […]

Categories
Development Game Creation

Android game development using dynamic languages

I’d like to make games without using Android studio or Unity3D. Running an emulator already consumes a lot of RAM, so I’d like to avoid using heavy IDE’s which means I should look for dynamic languages in this case. Also, using dynamic languages will speed up my development because I’d be viewing my changes on […]

Categories
Development Game Creation

Alpha-Beta pruning for simple card game

I’ve been playing Final Fantasy 8’s Triple Triad and figured it’s a simple enough game I could write a quick script to solve for the best move in any given position. I quickly realized a brute-force solution actually took too long given the surprising number of game states such a simple game could have, and […]

Categories
Development Game Creation

Very high quality 3d models that can be imported in to unity [closed]

I am looking for very high quality assets (3d models) to purchase that can be imported into Unity preserving their quality. The problem I run into is that most assets are meant for real time playback on mid or maybe mid high devices. I am looking for assets that are extremely high quality, even if […]

Categories
Development Game Creation

Viewport Navigation controls

I’m encountering an issue: I cannot move into my view with W, A, D, S. However UP, LEFT, RIGHT, DOWN arrows work. What’s wrong? Here’s my viewport navigation configuration: Viewport navigation key binding

Categories
Development Game Creation

Launch event at the end of an animation with phaser 3

I’m starting to develop in Phaser 3, and I’m really a begginer. I’m trying to make an attack move of an archer sprite, but I cannot make it work right… This is how I have defined the things related to combat: class Jugador extends Phaser.Physics.Arcade.Sprite { constructor(escena, x, y) { super(escena, x, y, “jugador”); this.escena […]

Categories
Development Game Creation

score problem in unity

Hi I have been messing around with unity for a while now and I have managed to get my game to add the score in one scene, store it and transfer the data over to another scene where it displays the highscore. However, I want to be able to show the current player score as […]

Categories
Development Game Creation

Generating noise heightmap in C# Console

I want to generate a heightmap for a 2D world, I’ve followed a guide that worked fine in Unity but in my current project which is a C# console application it doesn’t work cause there the method Mathf.PerlinNoise doesn’t exist. Is there a way I can translate this method into something that works using normal […]

Categories
Development Game Creation

What is Unity Quaternion range?

I’ve read somewhere that a Quaternion in Unity ranges between [-1,1] values. I mean the individual XYZW values. Ex: new Quaternion(.1f,.2f,-.3f,-.4f) Is this true? More clearly: I know they take float values therefore the theoretical limit is floating point value limitations, I’m asking the real rotation results. For instance when I look up Quaternion values […]