0
votes
1answer
54 views

Level loading works in Unity editor, but quits when deployed

In my level selection screen, all but the first level start out locked. When I click on a level, it loads perfectly in Unity editor. However, when I build the game on a real device, the game stops as ...
1
vote
0answers
56 views

How calculate a new node after cutting a node into an octree

I'm working on a small XNA game, voxel-based like minecraft. I've recently faced a problem in how to delete a node (cube) from an octree and re-calculate the new octree afterward. I have already ...
-5
votes
0answers
40 views

How do I improve my game's economy? [on hold]

I've just finished working on my online economy strategy game. How do I make the economy work better? To keep it stable, I want the amount of money in the game to shrink when people leave the game.
3
votes
2answers
452 views

How can I tell what a rectangle intersects with?

I understand XNA's Rectangle class is rather limited, but surely there is a way to tell what a Rectangle is intersecting with? If I had Rectangle boundingBox = new Rectangle(stuff here); how would I ...
0
votes
3answers
86 views

OpenGL: glRotatef cause performance drop while rotating -x and -y

I have made a rotating cube and I got some performance drops while using two glRotatef calls. So basically this code is giving me 80FPS: //code 1 GLrotate_x += 0.4f; GLrotate_y += 0.4f; ...
0
votes
0answers
17 views

SDL_GameController automatic detection

Here's something that's been bugging me all day: Controller detection in SDL. First thing is that it doesn't automatically detect when a controller is connected. Finding out when a controller is ...
0
votes
1answer
22 views

Store custom data against XboxLIVE Gamer in XNA?

If I am using Xbox LIVE Gamer Services for a networked XNA game, is there anyway to store custom data against the Gamer or GamerProfile so should they sign-in again even on a different machine I can ...
0
votes
0answers
35 views

Playing repeated sound in Java

I'm trying to play sounds in a Java game with the following code: AudioStream audioStream = new AudioStream(stream); AudioPlayer.player.start(audioStream); The stream variable is just an ...
0
votes
0answers
31 views

Custom rotateTowards function and rotating only around two axises

Lately I have abandoned an idea about nLERPing a camera in rotateTowards() function because an angular speed seems to be far more suitable factor. The function seems to be almost working (it works ...
0
votes
2answers
49 views

how to call the specific animation?

I have a script to control the player simply moves Left, move right, etc.. but the animation when winning, losing, or Light, just put it on the animation and animator and no script for it. I wanted ...
1
vote
0answers
21 views

Collision repositioning/resolution help

I've been having a trouble with moving objects out of the hitboxes they've just collided with. Here is my (relevant) code so far: Vector2 oposo = other.position; Vector2 poso = ...
0
votes
0answers
26 views

Using multiple uniform blocks in OpenGL

I'm using OpenGL with JOGL and want to use two unfirorm blocks in my vertex and pixel shaders. The following GLSL-Code shows the definitions:- uniform perObject { Material uMaterial; mat4 ...
1
vote
2answers
151 views

Understanding the Seek steering behavior

I'm currently studying steering behaviors. Have recently learned about Seek. I have a question about this. Seek is supposed to turn the agent slowly in the direction of it's target, and then move in ...
0
votes
0answers
23 views

How to import fbx into XNA?

I am developing basic XNA car game. I used 3D fbx car models to represent car objects. I drag and drop all tga and fbx files into content and I succesfully showed car in my game by using some basic ...
0
votes
1answer
47 views

Is there any reasons to make sprites and bodies line up?

So in LibGDX the Sprite objects position is where it's 0,0 mark is in the word. In Box2D a a bodies position is in it's center. So to line these up when you update the sprites position with the ...
0
votes
0answers
9 views

Gideros Repeating and Clipping Background

I want to have a background with a repeating x-axis, that can be moved horizontally. What I have so far: local background = Texture.new("parallax01.png", true, {wrap = Texture.REPEAT}) local shape = ...
1
vote
1answer
54 views

Animating feet seperately from the body

I have a character and I would like to animate a walking animation for it. However i get the following result when I animate it: (ignore the green lines/ markers/ sound) As you can see the foot ...
0
votes
2answers
64 views

Generate a 2D distance grid in one pass

I'm trying to generate a 2D grid, for use in navigation, where each grid point holds the distance to the nearest obstacle (such as impassable terrain, or a constructed building). So for example, a ...
4
votes
2answers
165 views

Do I really need to clear the renderer every iteration?

Just a quick question about fine-tuning/optimization. If I'm making a 2D platformer with a parallax-scrolling background (meaning no two frames are the same) do I really need to clear my renderer for ...
0
votes
1answer
58 views

Recommended list of games to develop at the beginning? [duplicate]

I am looking for simple games that I should develop to learn the basics of how different game mechanics work. I have read in many places that it is good to make Pong. Is there a recommended list of ...
0
votes
2answers
54 views

SharpDX.Toolkit setting constant buffer

I am trying to use a constant buffer in a program using SharpDX.Toolkit. I use the Toolkit because it has nice font support for writing on the screen. The problem I face is in assigning data to the ...
-1
votes
0answers
15 views

.xnb Font Library [on hold]

I am looking for some downloadable fonts in .xnb. Does anyone know where I can find these? Please no recommendations of how to create a .xnb font file. I am looking for those which are already ...
0
votes
0answers
19 views

Could not load sound (MonoGame)

I am using the Window Project (in MonoGame 3.2) which is uisng DirectX instead OpenGL. If I run a game, so its show me: "Could not load wind asset as a non-content file" I think, that is no ...
0
votes
0answers
41 views

Why do I get different performance in different build modes of Visual Studio? [on hold]

I am currently diving into OpenGL 3 using SharpGL ( WPF Version ). There is something kinda interesting anomaly. When I run my game in "Release mode" I get 200 frames per second. However, when I am ...
1
vote
1answer
58 views

3D collision physics. Response when hitting wall, floor or roof

I am having problem with the most basic physic response when the player collide with static wall, floor or roof. I have a simple 3D maze, true means solid while false means air: bool ...
0
votes
0answers
49 views

How do I limit the number of tiles being rendered?

I have a game like GTA that is a top down game. I have a txt file with a load of numbers representing tiles. When you walk around the 50 x 50 map tiles start to flicker (disappear and reappear in a ...
2
votes
3answers
148 views

Should I use scenes in Unity for menus?

I assume scenes are for different levels, but should I use them for menu screens or is there a specific tool for menu screens?
-1
votes
0answers
26 views

Behavior for a line with different angels [on hold]

hi i need a cod for make a Behavior for a line with different angels . i mean for android if a user draw a Horizontal line on screen , device save the angle and put a Behavior for it if user draw a ...
0
votes
2answers
127 views

Do Java and Actionscript use OpenGL?

As far as I know there are only 3 base graphics libraries on Windows, the GDI, OpenGL and DirectX, is that correct, so that means that Java, Actionscript and all language use one of these 3 libraries ...
0
votes
0answers
12 views

GWT problem with Box2D WheelJoint

I am using the below libgdx java code for a wheel joint and rear axle using Box2D. This works fine for android, Desktop, but when I attempt to run through GWT I get the following error. at ...
1
vote
1answer
18 views

Is there any way to change texture filtering globally in Direct3D 11?

One of the major changes I have encountered between Direct3D 9 and Direct3D 11 is the new API for setting up texture sampling. In D3D9, it was sufficient to simply set a given value of a given ...
-1
votes
0answers
32 views

2d top down tank movement

I am trying out an idea of a tank like movement in a top down 2d game. I'd like to: get the float values of both left and right triggers I have from an xbox controller (float values from 0 to 1). I ...
2
votes
1answer
140 views

How do I get hardware accelerated graphics and shaders in PyGame?

I have created several simple games with PyGame, but until now, I have focused on mechanics rather than graphics. The graphics in my games have been extremely rudimentary, consisting of basic shapes ...
0
votes
0answers
7 views

How to use CCGrid3DActions in Cocos2d-XNA?

For example, I want to add a CCLiquid action to my player shield in my game. In my Player class: public Player() { // code snippet when creating new Player CCSprite shield = new ...
6
votes
0answers
146 views

Is a responsive dimension game worth it? [on hold]

I'm in the process of creating a Wario-Ware-like game that will be created for browsers first then likely ported to mobile. Here are the different ways I've considered setting up the dimensions of the ...
0
votes
0answers
9 views

beginner's ID3DXFont problem [on hold]

In Direct X. Is there a rule that says I can't use more than one ID3DXFont per window or per application instance? There is an exception thrown at a method called getAppInst() which returns HINSTANCE ...
1
vote
2answers
61 views

Mentality for the hard initial stage of game development [duplicate]

I feel like there is a lot of excitement involving the initial steps towards developing games. Kids (myself younger self included) get very excited about making games and talk for hours about the ...
2
votes
1answer
183 views

How to solve the big video memory requirements in 2d game

We are developing 2d game (Factorio) in allegro C/C++ and we are facing the problem with increasing video memory requirements as the game content increases. What we currently do is, that we gather ...
0
votes
0answers
41 views

Professional game design involving game play algorithms [on hold]

I have been involved in a few independent game projects and unfunded start ups as the guy that designs game logic. I don't really have the programming chops that the other guys did, but I'm good at ...
0
votes
2answers
64 views

Publish android game only for 800 x 480 resolution in portrait mode

I have developed a game in libgdx. I worked for long and after finishing I found that the game runs perfectly on devices with resolution 800 x 480. I found this solution ...
1
vote
0answers
20 views

Why aren't subsequent glDrawArrays showing up?

I am attempting to redraw with the same arrays using glDrawArrays in a GLKView on iOS. When I comment out any two of these calls, the other draw call draws as I expect. My last hunch was that I was ...
2
votes
0answers
54 views

How can I change the sprites in the NES Double Dragon ROM?

I have played a few NES ROMs where people have gone into them and changed the sprites. How did they do this? I'd like to do this for the Double Dragon ROM. How can I accomplish that?
2
votes
0answers
15 views

Presentation / input layer that communicates with server

I want to learn more abot how to use some kind of presentation/input layer that communicates with server for HTML5 games. Instead of sending all the code to the clients browser, I would like to just ...
0
votes
0answers
46 views

How game developer uses AI for own game? [on hold]

In computer science, AI means all machine learning methods that train data and extract patterns and use of test data. I am confused that how used AI in current games. Are AI in games based on learning ...
7
votes
2answers
529 views

What are the benefits of using an entity ID system?

I'm currently reading the book Programming Game AI By Example. The book mentions assigning unique ID numbers to each entity in the game. Often when entity A needs to contact entity B, A gets a ...
2
votes
1answer
90 views

Is host advantage real?

I'm sure many of you have heard the term host advantage through out your time playing action video games. However, I was curious if this was a real studied and proven concept in game design, computer ...
1
vote
0answers
14 views

How do I detect image clicks in Dark GDK?

I am trying to determine if an image has been clicked, using the Dark GDK game engine. I've found no methods in the engine that do this. I would rather not brute force this with a large nested ...
0
votes
0answers
20 views

Unreal Engine 4 - 3D splines to deform meshes?

In Unity the way a lot of people make 3D endless runners is by deforming 3D models along a spline and using that spline as the navigator for the player to run through and tiling these up one after the ...
-4
votes
0answers
58 views

Super Meat boy engine [on hold]

Apparently written over 18 months in C++, looks like DirectX also. I was looking at the Torque 2D engine source, and it's well, a lot of code. Would you say the SMB engine would be similar, I can't ...
0
votes
0answers
11 views

Testing errors thrown by isGooglePlayServicesAvailable on a device on which it is installed and up to date

My game is almost complete and I'm looking into the possibility of using AdMob for displaying banner ads. At the moment, I'm simply checking to make sure the device has Play Services installed and up ...

15 30 50 per page