Tag Archives: Game Development

Letter game board creation

I currently have a game concept similar to the mobile app Alphabetty where you are given a grid of letters and are tasked with spelling words. When you use a letter in a word, it disappears and new letters fall in from the top to replace the used ones. I have been playing around with… Read More »

Error in construct 2

I tried to preview my game, but then I got an error. I reloaded Construct, and tried to go to my project, but this error appeared. Anybody know what to do? I don’t know how to get into the “project texture folder”, if that’s what I need to do.

How do I resolve the error “Trying to send command for object without authority.”?

I don’t know what I did wrong I tried couple different ways from not using commands to using SpawnWithClientAuthority. But It either gives build and compile errors or just the Error in the title Here the Start function of my player object void Start () { player = isLocalPlayer; race = Data.races[(int)selectRace].getInstance(); clss = Data.classes[(int)selectClass].getInstance();… Read More »

Unity Mobile project, button problem “CrossPlatformInputManager.GetButton” not working

Good afternoon, I have a problem with an input in my code: Before testing it on mobile I tried on PC and the code to make my player sprint was like this: var sprintPressed = Input.GetKey(KeyCode.LeftShift); var targetSpeed = maxSpeed; if (attacking) { targetSpeed *= attackMoveSpeedMultiplier; } else if (sprintPressed) { targetSpeed *= sprintMultiplier; }… Read More »

UI button not working in unity [closed]

In this main screen, there are 2 buttons. I add start button and quit button but unfortunately my start button is not working. Here is the code. Please check it. MainMenuManager.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MainMenuManager : MonoBehaviour { public void StartGame() { SceneManager.LoadScene (“Main Menu”); } public void… Read More »

Why is GL_TEXTURE_MAX_ANISOTROPY_EXT undefined?

So I’m writing my texture class in my opengl game, I get to the part where I would normally set GL_TEXTURE_MAX_ANISOTROPY_EXT, and I’m shocked to discover that it’s undefined! This exact same extensions worked perfectly in a different application, so I know it’s not a typo or something. It’s worth noting that I’m getting my… Read More »

Drag and drop card game–NullReference Exception despite object existing?

I am trying to build a Hearthstone-style online TCG. Right now I am just working on getting the cards to drag around on the screen. Since I’m new to Unity, I’m using this tutorial https://www.youtube.com/watch?v=AM7wBz9azyU&index=3&list=PLbghT7MmckI42Gkp2cILkO2nRxK2M4NLo I’ve copied the code in the tutorial pretty much exactly. What I have looks like this: public class dragable :… Read More »