0
votes
0answers
3 views

JBullet Only Updates Position when I update it in Code

The title is a bit weird...but here it goes: I have JBullet configured so that I can move things in my code, as the game tick structure is something like this (the update code located in ...
0
votes
1answer
3 views

Unity free look camera on two axes. How do I do it?

I'm new to Unity and c# but have programming experience... I have a a simple "game" in Unity that shows one sphere orbiting another. How do I allow the camera to be moved by the user in a "free ...
0
votes
1answer
10 views

In Unity3D, what ways can I improve the batching with a single texture atlas and four-point material?

I'm building a randomized city terrain with a set of planes, custom 4 vertice square made in Blender. I've got a texture atlas working so that it draws on a single material and texture, but it's still ...
0
votes
0answers
9 views

Shmup Unity, create an enemy spread shot to the player

Following this lecture: http://www.shmup-dev.com/forum/viewtopic.php?f=6&t=347 , i created a bullet that shoot from the enemy directly to the player, in a straight line. Now i want to create 3 ...
0
votes
0answers
3 views

Animate/Interpolate and wait for completion. (AS3)

I'm implementing a blackjack game in flash and so far the logic is fine but there is no animation for the cards so they just appear and disappear which doesn't look very pleasing to the eye. I want to ...
0
votes
1answer
9 views

Randomised Path from A to B for cursor movement simulation

I'm trying to simulate the movement of the mousecursor, by creating a path from point A to B that has random variation. The algorithm I'm using at the moment is very basic, and is limited in that ...
0
votes
0answers
6 views

Unity: Set Zoom's Center XYZ point

I have my pivot/orbit camera set up: http://pastebin.com/2c7buUjV When I zoom in/out it snaps to the center of the sphere, then starts the zoom. I want it to zoom from where the camera currently is. ...
0
votes
1answer
12 views

With a Texture Atlas that has 128x128 tiles, how can I use that in Unity3D?

So I've got a working texture atlas that has tiles fitting 128x128. However, I can't quite figure out how to use them. I know it's probably got something to do with ...
0
votes
1answer
39 views

Tower defense game structure? [on hold]

I've made a simple Tower Defense game in Unity with C# scripts. Currently it only has a working Tower and some minions walking by a path to the players base, but eventually I going to add more towers ...
0
votes
0answers
6 views

How to move objects in any direction by swiping with libgdx android game development

first of, I'm new to android game development so I don't know all the classes and dictionaries within android and libgdx. I'm actually following a game development tutorial for the first time ...
0
votes
0answers
19 views

opengl my triangle is always the same color? [on hold]

I'm getting into opengl shaders(with opengl 2.1, but without using the fixed function pipeline) and I'm having some trouble with my primitive's color. In my shaders I just copy the input variables to ...
0
votes
0answers
10 views

Will be there any problems with animal characters stylised as movie heroes? [on hold]

I'm working on a game with animal characters stylised as movie heroes, like Terminator Bunny or Loki the Kitten. The Terminator Bunny will have that leather jacket and half of his face missing and ...
0
votes
0answers
11 views

Are there any games designed specifically to profile players? [on hold]

I'm trying to find some specific information. To your knowledge are there any games were designed specifically to profile players traits? For example, IQ, gender, psychological profile? If so do ...
0
votes
1answer
55 views

How to customize a character with new objects (clothes, body parts) in a 3D game?

how do we customize a character in a game by adding, for example, a different clothing? The character has an armature, made in Blender, if I add a new object with the game engine, I would have to copy ...
0
votes
0answers
14 views

Java - Updating Block Textures Based On Surrounding Blocks [on hold]

I am trying to make a top down game and when you play a wall, depending on the walls surrounding that wall the texture will change, it is fine until there is a loop, then i get a stack overflow error, ...
0
votes
0answers
21 views

Unity: Set X,Y,Z default position of camera [on hold]

I'm trying to set the default value of the camera. I want it to be 5,5,-10. using UnityEngine; using System.Collections; public class OrbitCam : MonoBehaviour { //The target of the camera. The ...
-1
votes
0answers
28 views

Sourcing people for indie dev [duplicate]

Are there any useful sites and/or forums where one could find freelance designers/developers interested in joining a indie project? Like a get together site, posting ideas and having people interested ...
0
votes
0answers
15 views

English dictionary for word games [duplicate]

There are lots of popular games now-days that enable a player to construct a word while opposing some limitations. If player constructs a valid word successfully, he gets a point. For this a big ...
0
votes
1answer
36 views

How to store variable inside an array unity? [on hold]

I was wondering how I can store these anims inside an array, because, the start function will be fired one time. I would like to be able to call these Animators more then one time. public ...
0
votes
0answers
19 views

(LibGDX/JAVA) How can I get a rectangle to rotate with this pendulum so I can start detecting collisions?

One of the objects in my game is a pendulum that swings in a semi-circle. This is done by having an update() method like this: public void update() { angleAcceleration = +1.81 / length * ...
6
votes
5answers
1k views

Does Game Objects not visible to camera consume computer/mobile resources in unity?

In unity, let us suppose that I have some Game Objects in my scene that are not visible to camera and so are not rendered while the game is running. Will these Game Objects be consuming ...
0
votes
0answers
19 views

Kinect wrist yaw angle calculation

I am trying to calculate the wrist yaw for the Kinect. However i don't know enough from Vector algebra to be able to find these correctly. Currently i have been using the following code to hopefully ...
0
votes
0answers
17 views

Calculate the rest length of a box2d distance joint

Given the length of a distance joint along with its frequency and the mass of the bodies involved, is it possible to determine the final rest length? I'm only interested in the vertical axis if that ...
1
vote
4answers
50 views

How to create a seamless cubemap noise texture?

I have, so far, been able to create the vertices and UV coords etc for a sphere that would be textured with a cube map. I have also successfully loaded a cube texture from file and applied it to my ...
0
votes
1answer
42 views

What is the cause of these WaitForFPS spikes and dips?

In Unity, moving the player causes the camera to jitter. I went to the Profiler, and I saw these spikes: On further inspection, all the yellow spikes were WaitForFPS(). I've tried every VSync setting ...
-2
votes
0answers
37 views

Best Design for a “Loader” [on hold]

Can some Tell me whats the Best Design to load stuff ( graphics ,sound) into the game? Where I can define which resources should be available in the whole game or just for a particular scene.
1
vote
0answers
11 views

Picking up objects and dropping object in untiy2d [on hold]

I want to add a functionality to make the player able to pick up certain objects and dropping them. When the player move towards the object he wants to pick up,when he picks up the object and move ...
0
votes
1answer
37 views

Button image on game menu is updating too slow

I'm using SDL2 and i'm facing a problem with my game menu buttons. Every time i detect that the mouse pointer is over a button of the menu i update the image of the button (from MOUSE_OUT to ...
-2
votes
0answers
25 views

how to write a player control script in C# or C++ in Unity? [on hold]

i am new to this kind of programming ,however i do have C# and mobile app development background but i have no idea where to start .. I want ot make a 2d player controll in C# or C++ or even java ...
0
votes
0answers
21 views

Is there a library for HLSL which makes working with DirectX(HLSL) simpler? [on hold]

As there is a three.js - http://threejs.org/ library for WebGL which makes working with WebGL simpler. Is there library for HLSL which makes working with (DirectX)HLSL simpler and efficient and ...
0
votes
0answers
35 views

Is Phong shading supposed to be so camera-angle dependent?

I'm not sure if I have a bug in my code or not. It seems like it's a bug, or at least a major shortfall. Here's two images of the same model at slightly different angles (by moving the camera): As ...
0
votes
1answer
31 views

How to add a callback to addAction in scene2d

Sorry if this is a newbie question, I'm still learning libgdx. I'm using scene2d and I am trying to fade a tooltip into my scene and fade it out after 4.5 seconds. Everything is working in my code ...
0
votes
1answer
33 views

Rotate Object Towards Direction in 2D

For my RTS game's physics engine, I'm trying to find out a clever way to make a unit face the direction it's moving in. Given a Vector2d direction of movement (its normalized velocity), how can I ...
0
votes
0answers
7 views

How to randomly show multiple UIImage's in an animation Image

In my game I need to show the BELOW colors RANDOMLY. I only know of this code to show many UIImages inside a single UIImageView. This code shows those colors in the order I presentend the images. How ...
0
votes
0answers
22 views

Design a game that is good for a neural network [on hold]

So how would you design a game if you had to make the AI for the game a neural network? I'm thinking of something like a multi-player boardgame like Risk or Axis and Allies, a territory grab. Maybe ...
0
votes
0answers
21 views

Need help with understanding how methods work and various other progamming noob problems [on hold]

So I'm currently working on a very small project - just a game based off of some of the things I've learned from unity tutorials. In the GameController script I have a method called GameOver that's ...
0
votes
0answers
8 views

for android platform , libgdx vs unity 3d [on hold]

i am android programmer and i like to code with Java , not JavaScript my question is very easy . i just like to choose between Libgdx and Unity , please help me . please compare Libgdx and Unity , ...
2
votes
1answer
53 views

Simple Doom style engine question

I've just started making a 'raycast' engine, a pseudo 3D FPS engine similar to Wolfenstein/Doom. I haven't done much reading so my implementation is likely very naive. My current working prototype ...
5
votes
0answers
44 views

Tone mapping and eye adaptation - pale colors and darker image

I'm trying to implement tone mapping along with eye adaptation and HDR. Actually I implemented this already but I'm not satisfied with result and I think that I made something wrong. My final image ...
0
votes
0answers
6 views

Connect lightsource with object in Libgdx

I want to make an minimalistic highway chase game in LibGDX, but I have a question. Can I attach a source light to an object so gravity will affect the source light, by pulling it down? One solution ...
0
votes
0answers
20 views

Character Controler for platformer [on hold]

I need a code for a character controller, for a side scroller game, and i cant find any. Im working in unity and pref not to use theirs.
0
votes
0answers
18 views

Getting portals along a path of navigation nodes

I'm trying to create the path-finding algorithm for a small project and I'm having problems straightening the path after the A*-search returns a path along the navigation nodes (vertices of a ...
0
votes
0answers
34 views

How to have a game on steam only for testing purposes?

My goal is to create a mod framework for Unity that will easily integrate with the Steam Workshop similar to how it's done for the Cities Skylines. I've created a lot already but I've reached a point ...
0
votes
0answers
30 views

Unity material is missing after compilation

I have a piece of code that signals the player that a projectile has hit its target. Everything works fine during the playmode, however after I compile it, it acts as if there was a missing material. ...
1
vote
0answers
43 views

Create an 2d Isometric map with tiles?

I'm creating a 2D Tower Defense game and I want it to be isometric. I'm creating it on the XZ plane in Unity(3D mode). I need the map to be based on tiles so I can seperate the monsters' path and the ...
0
votes
0answers
28 views

Best way to do a Physics Engine [on hold]

I wanted t start an OpenCL based Physics Engine for my game. The only problem I'm having here is, that I have to compare all the colliders in one scene with each other, if they are colliding. So the ...
1
vote
0answers
21 views

Sprite outline based on light position in UE4

I have simple sprite (for example black box) and I like to add to it outline (red line on example image) but based on light direction. I know UE4 use deffered renderer, so I cant access to lights, but ...
1
vote
0answers
34 views

I can't drag'n'drop UI Elements from the hierarchy into a public field (Unity 5)

I just watched this Video https://unity3d.com/learn/tutorials/projects/survival-shooter/player-health and tried to drag'n'drop the UI-Elements on the matching script, just like they did. But this is ...
2
votes
2answers
23 views

Rectangular area light illuminance - colour banding

I'm currently working on an implementation of rectangular area lights but I am having some issues with the illuminance calculation, which gives me serious colour banding across the entire lit area. ...
0
votes
0answers
33 views

How to protect Android app from billing hacks? [on hold]

So I am fairly new to Java and Android apps, however I know that Android APK's are 'easy' to decompile, the dex and jar files for example. the .so files not however, so what would stop a hacker ...

15 30 50 per page