0
votes
0answers
6 views

Swf loading is a grey screen [on hold]

I'm peaking around this game called "Adventure Quest Worlds". You can Inspect Element in the network tab and see what SWF files load, though I'm a little puzzled since some of the files load and some ...
0
votes
1answer
7 views

Camera troubles

I am making a game where you play as fish. When you eat food you become larger. I am counting the camera scale as follows: camera.scale = (player.originalWidth / player.width) Then I apply it as a ...
0
votes
0answers
11 views

How to bring mouse up on pause menu (Unity) [on hold]

Hello i dont know anything about game development im following some tutorials and i did mashup of what i learn from them but i have a problem when i click to show my pause menu, it shows up but the ...
4
votes
3answers
299 views

Do programmers in the industry get to participate in the game design process?

My main goal is to create games which is why I'm planning on studying IT so I can later on be a game developer/programmer. My question is: does a game programmer get involved in the game designing ...
0
votes
0answers
7 views

Unity: OnTriggerEnter2D does not get called when using Raycast

In a previous post I talked about creating wires (using Bézier curve) using LineRenderer. I am using a PolygonCollider2D to wrap the wire (see below): GameObject wire = new GameObject (); ...
0
votes
1answer
36 views

What is the difference between sprites and tiles?

I'm making a game, where it came to adding a tile class, but i already have a sprite one, which does the same at first glance. Can you explain the difference with a couple of examples?
0
votes
0answers
7 views

Unity - Translate get axis to proper touch control system

The player in my game moves on the horizontal axis only. So far it's moving via left/right arrows that pass Input.GetAxis("Horizontal") to my MovePlayer() function. It's a mobile game so I'd need to ...
0
votes
1answer
22 views

Accessing entity config data without singleton

Every entity has some stats which change over time and some which are static for a given type of entity. For example current hp vs max hp: lets say humans have max 100hp, then every human would have ...
1
vote
0answers
21 views

Unity animation skips first loop

I have my player's animation controller managing two simple states: idle-walk. States are switched via bools and everything works fine aside from the fact that the idle state doesn't render the first ...
0
votes
0answers
23 views

360 degree viewer for AR

I want to implement a 360-degree viewer for Augmented-Reality in Unity. Augmented-Reality means in this case, that I want to place an image like an interface mockup in my viewer which has transparency....
0
votes
1answer
26 views

Why does my framebuffer not work when rendering to texture?

I am having trouble rendering to a texture and then mapping that texture to a quad. I am using OpenGL 2.0. I am using code from the wiki. The class scene_t has a texture called _out_tex, which is the ...
0
votes
0answers
11 views

Texture shader which renders the inside of the object and also uses alpha of the texture

I got the following shader working, which renders my texture from inside of the object : Shader "Custom/InnerRendering" { Properties { _Color ("Color", Color) = (1,1,1,0.5) ...
1
vote
2answers
35 views

Why does the following code print logs even after the game object is detroyed?

I have the following in a script attached to a game object in a unity scene. When I run this scene and press 'E', I get the following logs. (The game object is destroyed too) In destroy After destroy ...
0
votes
0answers
17 views

Game => Web DB Interaction

I'm developing a game on the Unity engine which will be tightly coupled with a web platform that aims to give players the ability to create content. The main interaction is that users will create a ...
1
vote
1answer
53 views

How to make enemies randomly choose a path and then come back if wrong one?

So I'm making a 2D Tower Defense-game in Unity with C# where the enemy has to go to the base, but can go to the wrong path randomly and then turns around when the road ends. How can I achieve this?
-4
votes
1answer
66 views

I want to start a big game project, like Final fantasy, how? [on hold]

I have money and I want to start a game project, I don't know where to start? Can everybody help m, please. I try to find a game development company, but the company are too bored, and small, like zco ...
0
votes
1answer
22 views

Unity's animation system is flipping out. Rotates only the long way around

I really dont know what is going on or how to even explain the problem so I made a gif. Its not a really well made gif so please bare with it.
0
votes
0answers
25 views

Using Steering Wheel in Unity

Is there any way to use a steering wheel in Unity? All I find online is people with the same problem. The numbering on the axis are not the same as with keyboard input. In some cases left is 1 and as ...
1
vote
0answers
35 views

Z-order curve — how to query all nearest neighbors?

TLDR: How to query all nearest neighbors with the least effort? (Iterating over a bigger neighboring area that's continuous and filtering out elements that are not immediate neighbors?) Suppose the ...
0
votes
1answer
21 views

My perlin noise height map doesn't have smooth transitions and goes directly from black to white

I am using lua with the love2d engine to make infinite 2d tiled terrain with perlin noise. This is just the first step and I want to fix the bugs early. The problem is that there is no gradient ...
0
votes
2answers
27 views

Pause a Coroutine while it's waiting for seconds

I have a Coroutine (X) that waits for seconds before it does something. However, during that time there is another Coroutine that may trigger (Y), and during the time it's on X has to pause waiting ...
0
votes
1answer
26 views

Unity2D - How to destroy my Instantiate particle system

I'm having trouble trying to destroy my Instantiated particle system, I can only destroy my gameobject using UnityEngine; using System.Collections; public class meteor_destruction : MonoBehaviour { ...
0
votes
0answers
22 views

How can I create an on-screen joystick for a PC-to-Android port?

I made a simple 2D game for PC(because I am a beginner and wanted to learn the basics of creating a game for PC first) that i want to port to Android.I think all that i would need to do is change the ...
0
votes
0answers
41 views

How can I create a “fuzzy crayon” effect?

I spent sometime looking at Media Molecule's Dreams. In it, the user is allowed to fuzzy crayon strokes in the mid air (in 3D space)(at the point of the video around 43:00). How can I implement a ...
1
vote
0answers
26 views

Is there a way to rotate a TexturePaint?

I wanted to add a grass texture to my 3D polygon-based game, and thought the easiest way to do it was to use a TexturePaint. Currently, the texture stays fixed while the world rotates which isn't the ...
0
votes
0answers
14 views

Unity or Cocos2D for a turn-based strategy and an isometric management game? [on hold]

Me and some friends are working on a 2D turn-based strategy game similar to Fire Emblem. Also, as a side or a future project, we could be working on an isometric management game. I'd like to know ...
0
votes
1answer
46 views

Create a map without using too much of memory

EDIT : My Tile is a little graphic sprite shows a village or free space... I'm Creating a strategy online game on Xamarin. I want to create a static 2D 1000*1000 Map and put each player in one of ...
0
votes
2answers
53 views

Limiting framerate with a fixed timestep

Hi I'm learning how to create a 2d platformer in C++ using the SFML2 library. My current goal is limiting the game's framerate. SFML2 has a window.setFramerateLimit(unsigned int limit) function for ...
0
votes
1answer
19 views

WWW(Unity) with HTTPS on Android not working

I'm using a native android plugin my team made for communication with a server, and as it uses HTTPS I use a certificate with it. Everything's fine with that, the problem is that, in Unity, when I try ...
-1
votes
0answers
31 views

Internets Hot Topic 3D Animations With LWJGL or OpenGL

I have a character and he is animated with the Skeleton or Bone Structure but I don't know how to animate him in my game by scratch. I am using Java because it's what I learned at school and I am ...
0
votes
0answers
9 views

How to Copy the Contents of a DirectX Stream-Output Buffer to a Vertex Buffer?

I'm writing a very simple particle system in DirectX using the SharpDX wrapper. I use a constant buffer to pass a delta time to the vertex shader, which updates the position of the particles by simply ...
3
votes
1answer
46 views

Unity: What type of Collider should I add to a LineRenderer?

I am currently building a game where I need to generate some wires (as Bézier curves) using LineRenderer. After changing the width of each line lineRenderer.SetWidth (0.15f, 0.15f); I am attaching ...
0
votes
0answers
18 views

How to check collsion for two same objects in java? [on hold]

I've got class Enemy and I want to check collision between two instances of this class. Is there way to do it in java?
0
votes
0answers
31 views

Game engine code review help [on hold]

I'm currently working again on my game engine CreekEngine. I wrote the engine to use the SFML library as graphic and audio library. I need some review on my engine. Can someone tell me what's the good ...
0
votes
0answers
43 views

Sprite always starts flipped

Everytime I start the game, or I swap animator controllers in the inspector (in runtime), the character is flipped in X axis until I start moving him. How do I prevent this to happen? This happens to ...
2
votes
3answers
45 views

Finding Object by scene loaded? (LoadSceneMode.Additive)

I learned how to Load and unload scenes in unity. using LoadSceneMode.Additive. I like to spit up my scenes as much as possible and retain the stuff I need as I go along. I'd like to be able to find ...
1
vote
1answer
29 views

Camera Preview while the camera is not selected

When I select the Camera object, I see the border-lines, the near clipping Plane and the camera Preview. Now I would like to see all those things when I select another GameObject (still the lines ...
1
vote
2answers
45 views

C++ Multithreading: accessing objects together

I'm kinda new to C++ Multithreading, and I'm keeping it simple right now. I will keep things simple and write psuedo-code. I'm making a Turn Based Strategy Game but let's keep it at Chess for now. I ...
0
votes
1answer
31 views

Libgdx OpenGL ES pixel shader behaves differently on android and on desktop

I'm currently working on a mobile game that ressembles a snake game ; what I wished to do was use my limited glsl knowledge to write a pixel shader that could efficiently draw a curve with a certain ...
0
votes
2answers
54 views

Why does accessing ParticleSystem.IsAlive() raise this error?

I am trying to record if my particle system IsAlive with: GameObject prefab = Instantiate (Prefab, myPosition, Quaternion.identity) as GameObject; Component ps = prefab.GetComponent<...
1
vote
2answers
22 views

Protecting/Handling game data

I have been working on a web based game, in which involves a lot of javascript/PHP. My question is what is the most secure way to handle any data being passed between the two languages? At this ...
-3
votes
1answer
57 views

camera following player

this code is for camera follow player: using UnityEngine; using System.Collections; public class cameraMovement : MonoBehaviour { public GameObject player; private Vector3 pos; ...
0
votes
1answer
32 views

Raycast not working on touchscreen (Android tablet/phone)

I have a raycast that works in the unity editor but not when I build it for Android( tablet or phone, neither work). The code I'm using is as follows: public class DirectionalTilePlacing : ...
0
votes
0answers
11 views

Reset animated actor's state in libgdx

i am a complete newbie, making an app in libgdx for which i have this actor that i want to animate on button click. Here is the code for that public class Boss extends Actor { protected Animation ...
0
votes
1answer
36 views

Why object spawn duplicate and double sides.?

I have a script, I am using this script to instantiate new path and also wall (as border) to generate new path and wall. Before some time all scripts work fine. but at this time my player enter in ...
0
votes
0answers
12 views

How to use OpenCV/EmguCV with Unity3d

I am beginners to OpenCV and want to use with Unity3d. I found different costly packages at asset store but i can't use it i.e., I want to try it myself and found EmguCV that provide openCV wrapper in ...
-1
votes
1answer
55 views

car movement problem

i have use simple C# code for my car move. this: using UnityEngine; using System.Collections; public class mov : MonoBehaviour { void Update() { var x = Input....
0
votes
0answers
27 views

Unity Android Build failed after adding admob

I am using Unity 4.7.1 and Google Mobile Ads Unity Plugin v3.0.5 After adding google abmob plugin , i cant take build . Following error is showing Error building Player: CommandInvokationFailure: ...
0
votes
1answer
107 views

How can I avoid “Moonwalking”

Let me explain my question: I have a sprite sheet with the different frames of the animations. Each animation has 8 frames. Based on the player's input, I modify the character's coordinates, thus I ...
0
votes
2answers
31 views

Rotate character 180 degrees determine direction

In my game it should be possible to rotate the character 180 degrees. I always want the character to rotate clockwise. If the character is rotated 0 degrees and I press the rotate button, the ...

15 30 50 per page