0
votes
0answers
3 views

How to make a one way trigger?

In my game, there is a cat that jumps on pillars. When it lands on a pillar, force is applied and it jumps. There are three animation states which are just single image. The states are : idle,up and ...
0
votes
0answers
11 views

Fragment shader compiling in webGL but not in OpenGL

I am programming in Haxe (language compiling to multiple platforms) and I have written some shaders. My fragment shader runs fine in html5, but when I try to compile for native (OS X and/or Neko, a ...
1
vote
0answers
9 views

LibGDX music doesn't play anymore after x times

In my App I added two sounds, the first is played when the gamescreen start the second when the game is going to game Over screen. Everything works fine but after about 12-13 games the second sound ...
0
votes
1answer
12 views

player isn't jumping at some rotation angle

i can't figure out why this happens. the player would not jump ad some rotation angles. this is my code for jumping: if (Physics.Raycast(transform.position,Vector3.down,1f)) { for (int ...
0
votes
0answers
11 views

How to make partially selected EditorGUI.Toggle?

I have nested group of toggles created with EditorGUILayout.ToggleLeft(). I want to change state of the parent toggle to partial check if child toggles have mixed states, like here: But ...
1
vote
0answers
13 views

Bump Mapping a cubemapped sphere

I'm looking at bump mapping an icosphere which I texture with a cubemap. I thought that dot3/normal mapping would be the way to go. All of the information I've found on normal-mapping requires me to ...
1
vote
1answer
24 views

Game is unable to load assets

I programmed a game in c++. Now I want to pack the finished product. Game runs fine from within the compiler. But how can i link the assets(like images, music etc) of the game to the exe ? When I run ...
0
votes
0answers
10 views

Im attempting to make a custom modpack for minecraft using the technic launcher but I get an error regarding the 'MCVersion'. Can anyone help?

I would really appreciate any help as I have found this hard to correct. Thanks in advance. Here is my log: [11:29:24] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker ...
0
votes
0answers
21 views

What game engine should I use? [on hold]

Okay before I go any further I have worked with other engines before like unity and attempted to learn the new unreal 4. The game I would like to make is an adventure game with a wide open world and a ...
-1
votes
0answers
25 views

How to get a license for XBLA Indie Games?

I'm an experienced Unity3D developer with multiple mobile apps. I want to start developing for consoles, like the Xbox. I have multiple questions regarding this: 1)How do I get a license? 2)How much ...
-2
votes
1answer
29 views

What happens if my game doesn't get accepted to Steam, XBLA, or PSN?

I have been developing games on mobile for a while, and I don't want to develop for mobile anymore for multiple reasons. Heres why: 1) Its hard to make money. It is almost impossible to get noticed ...
1
vote
1answer
23 views

Unity3D - GameObject as a static function

Newbie Unity3D/C# developer here. I've tried learning Unity3D during my May/June college vacation and came across a problem:Code 1: CameraObj returnVoid; void Start () { returnVoid = ...
0
votes
2answers
11 views

How to detect if I click on an object (2D) using Raycast?

I need to know this for a little popup I made in my game, I want to avoid using OnMouseDown because I have multiple cameras so I was wondering how I'd be able to detect a mouse click event on an ...
0
votes
1answer
19 views

glRotatef not rotating simple 2D triangle

I am new to OpenGL and am learning it for the purpose of some simulation that I am doing as part of my research work. I have been following the tutorials given at ...
0
votes
0answers
10 views

Is quadrilinear texture sampling hardware supported?

This thread explains how if you have a volume texture with mipmaps, that GL_LINEAR_MIPMAP_LINEAR texture sampling will perform quadrilinear texture sampling. I am wondering... is that implemented in ...
1
vote
0answers
26 views

Can you trilinear sample a non volume texture?

Let's say that i have a regular 2d texture (not a volume texture). Is it possible to do trilinear texture sampling of that texture even though it isn't a volume texture in opengl or directx? ...
0
votes
0answers
5 views

Bullet Physics - Create Rigid Body using btConvexTriangleMeshShape

Can someone please explain me how to create collision shape using btConvexTriangleMeshShape? The problem is that Bullet Physics is not well documented so i can't figure out how to fill vertex and ...
0
votes
0answers
12 views

Shadow mapping bone animated model

I am trying to get shadowmapping right for my animated models. It works perfectly for static meshes but the animated models are just wiggeling a bit here's the vertex shader for rendering to the ...
0
votes
1answer
19 views

How to implement a GUI in a JPanel

I have a game that I am programming in Java from scratch for fun. And I have run into the problem where I want an Inventory system to pop up when you press the 'I' button or something (i know how to ...
0
votes
0answers
4 views

How to Move Image Based on Rotation Java Slick2D?

I am trying to rotate image based on rotation. I am unable to do so. Here is my code Vector2f direction = new Vector2f((float)Math.cos(Math.abs(imgIcon.getRotation()) - anglecorrection), ...
0
votes
1answer
21 views

Handling Multiple Resolutions

Recently, I was going to implement and options menu into my game, but I haven't been able to figure out how changing resolution, conceptually, would work. Do I have multiple versions of the same ...
0
votes
0answers
17 views

Ray Picking and glm::intersectRayTriangle. I can't get it to work

I'm trying to make a 3d turn based strategy game. This means I'd like to be able to rotate the camera and view the world at 45 degrees X and -45 degrees Y (with the ability to rotate the camera on ...
0
votes
0answers
10 views

render map with objects in slick2d [on hold]

I have a problem when rendering a map with a layer of objects in slick2d. I have a map with two layers of patterns that render in slick2D Tiled, but once you add a layer of objects, the map fails to ...
0
votes
0answers
6 views

Eclipse import Gradle project download takes forever [on hold]

I tried to generate a project with libGDX and then import it into Eclipse but it takes more than 5 hours on downloading dependencies, however, it works fine from the command line but not Eclipse or ...
0
votes
0answers
23 views

Storyline language programming [on hold]

I'd like to know what do you think about this idea: make a programming language about a storyline of a game. Let me explain: let's say that you game has two object: human and dog, and the first one ...
1
vote
1answer
14 views

Actor not taking touch libGDX

I am trying to handle the touch of one of the Actors in the stage. The following is the code I have written: public class MyGame extends ApplicationAdapter { private GameStage gameStage; //Game ...
-1
votes
0answers
9 views

Gamemaker radius argument and any 'selectors'?

I have the following two questions: Is there a radius of other object argument for the 'if' statement? I'll be using 'cow' for the example. if (instance_number(cow) == 2 && ...
0
votes
0answers
23 views

Why does Unity add a heap of children to an imported animation when dragged into the scene?

When I drag an imported animation into the scene, Unity adds: A game object with an Animator component A game object with a skinned mesh renderer component. A game object with just a transform that ...
1
vote
1answer
25 views

Vector2.Distance on different resolutions

firstTouchPos = Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position); endTouchPos = Camera.main.ScreenToWorldPoint(Input.GetTouch(0).position); //the height of the ...
0
votes
0answers
19 views

Proper Angled-Top Down Wall Collision?

Sorry about the vague title, it's kind of hard to say what I want to do in a few words. In my top-down game, I'm having a problem implementing proper collision for walls facing north (that is, you ...
0
votes
1answer
43 views

Check if a variable is relative to a number

I would like to know how to check if a variable is relative to a number in Game Maker. An Example would be: if variablex += 1 { DOTHIS } However this is not possible in Game Maker so I ...
1
vote
1answer
16 views

XNA - Offscreen Vertices Optimization

Okay, I have a set of vertices that is around 10,000,000 (it's a long story, but it seems that it is needed), however only a few thousand of those will be onscreen at a time. It's currently setup as ...
0
votes
0answers
26 views

Detect which direction an object collides with another

so I am trying to implement a collision detection system. I'm only using rectangles, so it's not too complicated. My collision detection currently does detect if the 'player' object intersects the ...
0
votes
0answers
9 views

Libgdx Music error QCMediaPlayer mediaplayer NOT present

Problem solved with music = Gdx.audio.newMusic(Gdx.files.internal("song.mp3")); I am looking for music implementation in my app with LibGDX. I saw the guide provided in LibGDX documentation but it ...
0
votes
0answers
17 views

Shaders are recompiled on every uniform change

In my game I'm using shaders to change the color of objects depending on their health. I'm passing floats from my jME3 project to the shaders by using material.setFloat("UniformName", uniformValue). ...
0
votes
0answers
13 views

Does decoupling the game director from a level controller make any sense?

In the past when I wrote software, I didn't respect basic object oriented design principles and software engineering ideologies. This has bit me in the rear end so many times whenever I tried to look ...
0
votes
0answers
19 views

How to import Cocos2d-x in codeblocks ide?

Is it possible to import cocos2d-x in codeblocks just as in xcode ?? How can I do that ? I use ubuntu. It is not possible to use xcode in ubuntu. Cocos2dx is in c++. How can I use codeblocks for game ...
0
votes
0answers
4 views

Flash Icons do not show up with Android Lollipop

I am working on a few games based in Adobe Flash, and the Air Runtime. In Android KitKat and below, when doing local tests on devices,everything was perfectly fine. However, upon upgrading a testing ...
-3
votes
0answers
20 views

Going to be taking MTA: Game Development Fundamentals (98-374)

I'm going to be taking the 98-374 MTA exam in the coming weeks and I need some ideas on what to focus in and hone my skills on. Any ideas, suggestions, or comments? Please let me know! Thanks, ...
1
vote
1answer
22 views

Start iTween MoveTo from a specific node? (Unity)

I just started using iTween as part of my day/night cycle. I'm trying to move the sun and moon along a curve, but I want have the sun/moon start at a specific location depending on the time of day. ...
0
votes
0answers
16 views

C# wall hitting problem [on hold]

Hey guys so for my 2D game in order to switch levels I chose to say when my player reaches the end of the screen of the right side he will switch levels. But I have four levels and when I hit the ...
1
vote
2answers
28 views

Load a simple text file through asset manager in libgdx

It's easy to load a simple text file from the internal: Gdx.files.internal("data/colors.txt"); But I currently use an AssetManager to load assets that are defined in an array of ...
-2
votes
1answer
32 views

How can I make a dynamic crashed effect in unity3d? [on hold]

I'm doing an endless game where my little car has to crash in other cars. The game logic is working but I have not been able to find a way to implement a visual crash effect, so that the other car ...
2
votes
0answers
43 views

Increment grid by rotation

I'm currently working on a grid for snapping objects side by side. My current script is working fine, but only for game objects which haven't been rotated. Here is an example video of the problem: ...
-2
votes
0answers
42 views

approach for Indie game development [on hold]

I really want to develop indie games. I have beginner's programming skills. I am learning c# also. But how do i approach game development? What should i learn more ? Which books can help me to be a ...
0
votes
0answers
23 views

LibGDX implement leaderboard [on hold]

I am looking for leaderboard implementation in my app. I use libGDX and I found this guide: http://theinvader360.blogspot.it/2013/10/google-play-game-services-tutorial-example.html . If I implement ...
-3
votes
0answers
26 views

Which is the best Platform/Engine for a beginner for developing an Android game with following specifications [on hold]

This is a very general question for which I wouldn't mind getting equally general answer. I want to develop a simple 2D android game with following specifications: 1> A 3D object that rotates in all ...
1
vote
0answers
28 views

Can I render 3D objects in Ray Casting engines?

I was gathering some information on the glorious Ray Casting technique. As far as I've understood it's not a complete 3D rendering, and that's why objects and NPC's are often displayed as simple ...
0
votes
0answers
15 views

2d beat 'em up and kivy [on hold]

I am looking forward to making a beat'em up in python using kivy. I just needed some advice as is this a good choice or bad? I choose it due to my previous experience in python, But since it is a ...
1
vote
0answers
21 views

XNA arcball camera steering issue

I have an arcball set up to follow my model in XNA. It rotates around the target correctly when holding in the left mouse button and moving the mouse. It zooms in and our correctly with the mouse ...

15 30 50 per page