0
votes
1answer
28 views

LibGDX - Bundling Files

I have 3 files. A JSON file, a PNG file, and a TXT file. Is there any possible way I can put all three inside a common file with a custom extension? (for example "fileName.abc") I searched the web a ...
0
votes
1answer
37 views

How can I use tilt sensor in iOS iPad to steering a car

I am absolute beginner with unreal engine , I am working in car race project here is my situation : I need to navigate my car in left and right direction using tilt Here is what I do I read tilt ...
0
votes
1answer
103 views

FBX SDK - Animation not Correctly Displaying in Game

This issue seems to arise with joint rotation animation. If anybody knows how to help, it would be greatly appreciated. //-------------------------------------------------------------------------...
0
votes
1answer
36 views

Turn-based multiplayer animate moves from last turn

I'm trying to make a 2-player turn-based strategy game, using the Google Play Games APIs According to the documentation, As a match progresses, the current player can modify and store the game ...
0
votes
1answer
46 views

BulletPhysics ship rotation

First of all, I'm a beginner in game physics, and I think this is a relatively easy problem that I'm not grasping. Short Version: I have a box(representing a ship on water) going forward with a ...
0
votes
1answer
59 views

XNA doing a full screen negative colors effect

I'm trying to solve a bug I have in my XNA game. I have an Effect that I want to apply on the screen when I activate an Item. Currently, I have this weird bug where it throws an exception in the ...
0
votes
1answer
44 views

How to render IDirect3DSurface9 in my window?

I have some code that captures the screen and save data into a surface. g_pDirect3D_Device->GetFrontBufferData(0, pSurface); All is ok, now I want to display pSurface in my window. I want to ...
0
votes
1answer
46 views

keylistener and synchronization

i have this code: public final class PlayerInput implements KeyboardInputHandler{ public static final int INVERTED_AXIS = 0; public static final int NORMAL_AXIS = 1; private Sprite sprite; private ...
0
votes
1answer
90 views

TiledMap problem in android device (LIBGDX)

I'm a noob on programming java apps, and I'm trying to make a very simple platformer game. All is running very well on desktop project, but, when I put the game on my Xperia a "strage" thing happen......
0
votes
1answer
38 views

Libgdx + Box2d working with 2 cameras

Recently I have read that you can work with 2 cameras whenever you involve Box2d, which only works in meters. In my Renderer class, I receive all the entities in the game and then draw them. I work ...
0
votes
1answer
70 views

Animation timeline organization for Unity 5

I create stuff for AssetStore and use 3ds max and Unity 5. Can someone tell me how I need to work with timeline? When I create animation for several objects, I need to animate them one by one? (...
0
votes
1answer
52 views

libgdx sphere rotation after movement

I'm moving my sphere on the screen using this method: Matrix4 m = myBall.body.getCenterOfMassTransform(); Vector3 translation = new Vector3(); m.getTranslation(translation); float multiplier = delta ...
0
votes
1answer
78 views

Keep a rigidbody velocity constant

I have a "board" with a ball (rigidbody) moving over it and colliding with obstacles. I want its velocity magnitude to remain constant throughout time. How do I achieve this? What I've tried/...
0
votes
1answer
111 views

Orion Leap Motion`Hand' does not exist in the type `Leap.Leap' - Compile error for core assets

I was playing with the example scenes provided by the Core Assets pack. Everything was working perfectly in Unity 5.3.2f1 until I opened the PinchingSandbox scene and added two script components to ...
0
votes
1answer
60 views

How can I check on a large number of points to see if they're inside the camera's frustum?

I have a locally stored database on my Android project, it is a database of approx 100,000 Point3D(double,double,double). I need to check if each of these points are inside of the camera's frustum in ...
0
votes
1answer
87 views

Collision between UI element and GameObject

When I first started to develop in Unity I followed the Unity Tutorial for the Space Shooter 2D game and used the knowledge from that to create something myself. Looking at it now it may not have been ...
0
votes
1answer
26 views

Blend trees does not get effect on some animations

I have created generic animations in unity where bike rotate to its left or right depending on what axis user is pressed. I have created several right turn animations though out of those animations,...
0
votes
1answer
149 views

Game states & passing data between scenes

I'm not entirely sure if I'm doing this right, but I always considered the scene system in Unity as some sort of state management (rather than e.g. a level system) which allows to group the contents (...
0
votes
1answer
72 views

Script for non-stop enabling/disabling “Is trigger” on collliders2d in Unity3D?

I had asked before that I have a problem with too many colliders in one spot and that some upgrades of towers I have are buggy due to that. It has come to my notice, that whenever I enable the "Is ...
0
votes
1answer
65 views

Sprite Sheet Texture not being rendered

I'm making space invaders (in OpenGL/SDL) and I've run into a problem when trying to draw the sprite for the spaceship from the spritesheet. In my entity class, I have a pointer for the sprite that ...
0
votes
1answer
83 views

Is it possible (and practical) to dynamically create normal maps from graphics in Pixi.js?

I am building a tile game using Pixi.js. The game features dynamically-generated terrain and a day/night cycle. I'd like to use a normal map to give the sense of sloping hills or mountains. Luckily ...
0
votes
1answer
118 views

Unity Trail Renderer artifacts

I have a projectile prefab that have 2 trail renderers attached to it. Whenever I instantiate another projectile, every trail renderer seems to flicker. This is similar to the question: Changes to one ...
0
votes
1answer
43 views

Access to varibles in other attached gameobject script is ambiguous

I'm trying to create reusable scripts that I can drop on my GameObjects. I am currently trying to figure out how to build a projectile script. Ideally, I want to be able drop this scrip on an enemy, ...
0
votes
1answer
58 views

How can I handle multiple force in Unity?

I'm trying to get my character to perform a "dash" where their x velocity increases rapidly and then falls over time. However, I'm also maintaining a constant x velocity so the character appears to be ...
0
votes
1answer
47 views

csfml wait event

I would like to spawn a separate thread to deal with inputs using c and sfml. I made a prototype that waits for input in main() and it works fine. I made a prototype that spawns a new thread and waits ...
0
votes
1answer
53 views

Vertically mirroring the screen in LibGDX

I'm developing a game in which the screen layout is different for right and lefty players, so i'll put a button in it to mirror the screen vertically. For displaying textures and fonts, i use a ...
0
votes
1answer
232 views

pygame for python 3.5

I am running python 3.5 and I want to install pygame, the website only supports up to version 3.2. I have tried a few forums on this and other websites but they are all for python 3.4. Does anyone ...
0
votes
1answer
28 views

Pathfinding onComplete event?

In HaxeFlixel 4 all FlxObjects have a path property which must be a FlxPath instance class FlxObject extends FlxBasic { ... /** * The path this object follows. */ public var ...
0
votes
1answer
74 views

How can I instantiate in the current rotation in Unity 2d?

Backstory I'm currently working on a 2D sidescroller/platform game as a hobby, and I just started recently. Followed a few tutorials and such I managed to wrote my own code for basic command like ...
0
votes
1answer
85 views

Unity equivalent to cocos2D (and Sprite Kit) Actions?

Does Unity have an equivalent to the Actions feature/functionality of cocos2D and Sprite Kit; if so, what is it? cocos2D Actions: http://python.cocos2d.org/doc/programming_guide/actions.html http://...
0
votes
1answer
73 views

Issue with detecting collisions in Pong

I've been working on making Pong in OpenGL and SDL and currently have both paddles and the game ball set up properly. I have an Object (or Entity) class which is used to instantiate each of the ...
0
votes
1answer
88 views

Unity3D profiler isn't helping. How to debug increased memory?

Using Instruments or Xcode, my iOS game uses around 115 MB memory when the menu scene is loaded. After doing battles and other things within the game and reloading the menu, the memory usage is up to ...
0
votes
1answer
94 views

Libgdx Fine Tune Megaman Movement

With help from my last question, I was able to fix the issue of having a stuttering effect if you keep hitting jump, while jumping. I believe I have managed to match moving on the X axis and the ...
0
votes
1answer
105 views

Infinite scroll with tweens in Phaser

Let's say you have a bunch of tweens running like this: http://holbrook.no/tests/featherfall.html Now you want to scroll them horizontally while they fall. By updating camera x, they start moving, ...
0
votes
1answer
49 views

Swap between first person and eagle eye view cameras, hiding the FP controller

Not sure what has to be done to correctly swap between a generic fps controller camera, to something like an eagle eye view. The idea is to have the player use the FPS controller, then when he get in ...
0
votes
1answer
121 views

game maker place_meeting multiple objects

I am working on a simple game that contains two objects the player and the ground, and I used place_meeting to make the player walk on the ground object and it works fine but when I try to add another ...
0
votes
1answer
64 views

LibGDX: creating actor conformed by other actors

I am making my custom actor class, made up by 3 actors(oneProgressBar, one Label and one TextButton), because I will be using this many times, so it's not a good idea to create 3 of that actors when I ...
0
votes
1answer
52 views

Jenkins CI with Unity on local machine

I have seen some people using Jenkins CI with Unity, would it be wise to install Jenkins locally and use it with Unity? I've never used Jenkins, so I can't imagine why not. Is this ill-advised? I ...
0
votes
1answer
63 views

Set input relative to map rotation?

I'm trying to figure out how I can make the input which looks like this : // Checks if player is pressing movement keys, if is applies force to specified direction if (Input.GetKey(KeyCode....
0
votes
1answer
43 views

Slick2D Simple StateBasedGame not working

I recently started trying to work with outside Java libraries like Slick2D. This is my first time doing so, so I basically have no clue what I am doing. I tried making a simple StateBasedGame that ...
0
votes
1answer
100 views

2d Player animation issue in UNITY 3D

I have a player and i want to move the player from left to right. I can move the player by the keyboard events.but the problem is that when i release the key the player animation should be idle. ...
0
votes
1answer
31 views

Having trouble going from the menu I created w/ Android normally to my LibGDX game file

So I wanted to use Android Studio to create the menu for my game so I created a button with an onClick method that included the Intent i and startActivity(i) but when I clicked the button the app ...
0
votes
1answer
93 views

What's the best way to deal with platformer tile collisions?

I am starting with game development and creating a basic platformer game. I already have searched a lot and found some ways to implement the platformer aspect to the game, like apply a gravity, ...
0
votes
1answer
61 views

Creating texture and palette modification

I need to create a texture from a surface with indexed color palette and alter the colors. However, after I set new colors, the rendered texture gets blank. int main(int argc, char** argv) { init(...
0
votes
1answer
49 views

Libgdx: move img from one point to another?

I'm trying to make an image move towards another point. I only have the current X/Y and the destination X/Y + Speed. That's it. public void Draw(SpriteBatch batch, int goalX, int goalY){ destX = ...
0
votes
1answer
356 views

Unity-UI not scaling correctly on android

My UI appears extremely small when i build and launch my game on my android device. Im working with unity 4.6. I've tried changing the UI scale mode of my canvas to all 3 types. Scale with screen size ...
0
votes
1answer
138 views

Unity3D - Using AddRelativeForce to push an object forever in zero gravity environment

Ok, I use AddRelativeForce to basically push an object. But it suppose to keep flying and keep accelerating as I hold down the key because I didn't set gravity. I just started Unity3D last month, so ...
0
votes
1answer
147 views

How to load sprite from JSON?

i know how to load text, but idk how to load texture from json.. this my c#: public void soalbegin(){ filepath = System.IO.Path.Combine(Application.streamingAssetsPath, "soal.json"); ...
0
votes
1answer
169 views

How can I generate 3D noise in chunks for terrain?

I'm trying to create a voxel engine that uses marching cubes to create smoothed terrain. I have most of it implemented, but I'm struggling with how I should create a noise function in three dimensions....
0
votes
1answer
84 views

Issues with importing bezier curve animation (curve does not distort?)

Hi guys i'm pretty new to unity and having a frustrating issue; I've created a spear gun with an animation using a bezier curve grouped to the main gun shaft and distorted using a bone (bone relative) ...

15 30 50 per page