0
votes
1answer
7 views

Destroying a MobFox ad? (Android)

Is anyone here using MobFox to display their Android app's ads? I was previously using the AdMob SDK but recently switched to MobFox and while it only took a short time to integrate it, there are a ...
0
votes
0answers
13 views

How can I manage entities(in entity component system) using Lua scripts?

Suppose I have a code like this in C++ // Game.cpp Entity* hero; Entity* witch; ... // entity initialization if(/player near witch/) { if(hero->get<HealthComponent>()->getHealth() ...
-1
votes
1answer
35 views

Rotate image according to the direction

I know there's probably a few questions like this already and i apologize but every situation is different. I'm trying to rotate an image (square image) according to the current chosen direction ...
0
votes
0answers
12 views

XNA Library DrawPrimitives throwing primitiveCount error

I downloaded the project from here http://silverlight.bayprince.com/tutorials.php?tutorial=13 and tried adding a new OBJ file with a few thousand vertices listed. The classic teapot works but when I ...
1
vote
2answers
32 views

Unreal Engine 4 — Casting

I am currently developing my first classes in Unreal Engine 4. Coming from using UScript extensively, I'm getting a little bit confused by how typecasting works in pure C++. More specifically, ...
0
votes
0answers
14 views

XNA Window Randomly Shakes/Jumps [on hold]

I've created a Windows XNA game (that's meant to run exclusively on Windows, no XBox or Windows Phone), and things are working okay. However, the game window will randomly "shake", as if the top and ...
0
votes
1answer
14 views

How to find the points of intersection of two rectangular OBBs

In my game I need to be able to find the points of intersection between two rectangular OBBs. I'm using Separate Axis Theorem to check if there's an intersection and get the penetration vector if ...
0
votes
0answers
19 views

My iOS app has jus been approved, but the in app purchase is crashing, cannot recreate on Xcode/Debug Build? [on hold]

After thoroughly testing my game for in app purchasing, I submitted for the App Store. Once approved, I deleted my debug build off my iPhone 5, and downloaded the App Store version. After a difficult ...
0
votes
1answer
16 views

Animation State [on hold]

Well i'm not entirely sure how to manage animations. I've looked at a few solutions, havok and ue4, which seem to use state machines but the states and their interactions are created using external ...
0
votes
1answer
28 views

Why is my application getting more CPU usage while it's halting the operation

I have a question about the way OS gives CPU time to the applications. Usually when I render my scene with a single object in it I get ~8% CPU usage, but when I stop the framework for further process ...
0
votes
0answers
26 views

that engine develop mobiles and web browser? [on hold]

I need to develop an educational game that is rpg I'm a web developer, I have no experience in game development but I need to play roles in mobiles and web browser. that could be used to develop ...
0
votes
0answers
34 views

Best AI books for gaming? [on hold]

I am trying to get into game development and I am doing pretty well on the programming side. I am using Unity as my game engine. I know there are lots of off-the self engines and codes to give AI but ...
0
votes
0answers
9 views

Windows Phone Class DLL on Unity3D problem

I'm trying to enable networking funcionality for Windows Phone on Unity. To do that, I've read that I need to create a dll on Visual Studio and use it on Unity. So I did wrote a class and made an app ...
9
votes
4answers
858 views

How do Action RPGs make different weapon types feel unique?

I'm getting feedback on my game which has Action RPG elements (think Diablo, Torchlight, etc.) but you control a team of heroes. When you kill enemies sometimes new weapons will drop. In my game the ...
4
votes
0answers
35 views

How can I predict player-to-projectile collisions in Box2D?

I'm making a real time shooting game with Box2D as the physics engine. The gameplay is mostly about trajectory, like Angry Birds. I want to make a slow motion effect and move camera to the player when ...
1
vote
0answers
32 views

How would I warp a mesh with code?

I recently asked a question about putting a camera at the head of a 3D human model here and it worked out rather well and whatnot, but there is still a problem that bothers me: How would I ...
1
vote
0answers
17 views

Scale aware adaptive camera zooming

I would like to implement an interactive zoom on a 3d object with mouse wheel.A naive approach is simple where you just scale camera marix Z poistion or modify FOV.But I would like the zoom scaling to ...
4
votes
0answers
47 views

Should an AI system be centralised or distributed? [on hold]

I'm very new to game development, but a very experienced software engineer. As an introduction to game dev, I'm making a 2D zombie game in Python, using pygame. The game is almost done, but I still ...
0
votes
0answers
25 views

How do you handle aspect ratio differences with Unity 2D?

I've gotten a lot of answers to this question, but they are all generic and generally not very useful. None of the tutorials talk about aspect ratio and dealing with mobile devices and there are a ...
5
votes
1answer
36 views

How can I profile the speed of my vertex and fragment shaders separately?

I'd like to know how I can check to see if either my vertex or my fragment shader is a bottleneck in my rendering pipeline. I've read about using glQueryCounter with the GL_TIMESTAMP target to get ...
0
votes
0answers
25 views

SpriteKit - Make a sprite move similar t another sprite

I'm making a type of a platformer ( think super mario but in a top-down view style ) game and i want my main character to move with the platform it has contact with. So i used this: ...
1
vote
0answers
16 views

Monogame render between constraints

I have, in MonoGame, a project for which I require the game to not use the full screen depending on the resolution. The game elements etc all behave as they should (So they bounce off for example ...
0
votes
0answers
9 views

NxDestructibleChunkEvent gives a chunk index which is not valid

// Try to acquire event buffer const physx::NxDestructibleChunkEvent* EventBuffer = NULL; physx::PxU32 EventBufferSize = 0; bool acquired = mDestructibleActor->acquireChunkEventBuffer(EventBuffer, ...
4
votes
3answers
661 views

How can I make new strategies viable?

I am making a 2D platformer where the player has to reach the end of the level as fast as possible. I would like the player to be able to find new ways to reach the end of the level faster. Making ...
0
votes
1answer
41 views

What are mental ray shaders and can I use them in my own game?

I'm using the FBX SDK to import and display FBX models in my OpenGL app. It works fine so far with a simple phong shader and displays basic models. However I have some FBX models that have custom ...
1
vote
0answers
14 views

Touchable Hud with Actors in Libgdx

I am writing a Tower Defense for Android. Right now my LevelScreen contains a Background-Actor which is pan-able and some zones to buy Towers - after buying them you can upgrade them further. When you ...
0
votes
0answers
10 views

How to sign in using google play service package for unity

I have downloaded google play service package for unity from github, i have done setup for android and on "sign in" button press i am calling this method given in doc. if (GUILayout.Button("Sign ...
1
vote
3answers
81 views

Reducing APK File Size by using JPG instead of PNG for game background images

I've just finished my (openGL ES 2.0 Android) game and it's almost ready for Alpha-testing. When I export the application to an APK File, the file is taking up 16MB and I would like to reduce this as ...
0
votes
0answers
22 views

Why NinePatch dont work in LibGDX?

I have a backround for message item, I want to make it stretched depending on the text. But when i make this: Drawable drawableButtonMessageUp = new TextureRegionDrawable(new TextureRegion(new ...
0
votes
2answers
86 views

which quarter of a triangle the point is in

I've got a world made out of squares. The square are devided in four triangles like this: The corners have their heights stored in a 2D array and the center height is the average of the corners. To ...
0
votes
0answers
18 views

how to guarantee the order of response in a service-oriented mmo server cluster

i'm working on a mmo server these days. it's a service-oriented architecture, every service is one process which processes a specific type of request, and i have inventory service, battle service, ...
0
votes
1answer
41 views

Implications of using single sprite to render multiple images

I wanted to know if using a single Sprite object to render all 2D textures on screen is better than using one sprite for each 2D texture in performance. EDIT: Using single sprite refers to using a ...
1
vote
1answer
56 views

Tiles touching all of same color check

I'm currently having a problem that has stopped my productivity for quite a while. I need to check if all tiles of a color is touching each other for each color like this: I have all my code for ...
0
votes
1answer
54 views

I want to develop responsive resolution game for all device [on hold]

I m create a 2D Game in unity.But main problem is that looks and fill of my game is not same for each and every device of Android and iPhone. So please suggest me best and simple way to reduce this ...
0
votes
0answers
15 views

Accelerometer event handler only works when touched?

I am really new to cocos2d and im developing my first game. I have searched the web up and down for solutions on HOW TO MOVE A SPRITE WITH ACCELEROMETER. I tried using all the data on the web and ...
0
votes
0answers
34 views

how to add a spotlight effect to my targetenemy code

The current targeting code below changes the color of the enemy with tab button: Target enemy = change color of enemy to 'green' Deselect enemy = change color of enemy to 'blue' (press tab again) ...
2
votes
2answers
498 views

Why I need a backend for a mobile social game?

I'm developing a mobile social game, it's a puzzle with a social layer similar to the one in Candy Crush Saga (limited lives, can send life requests to friends, facebook leaderboards, etc). I know all ...
-1
votes
0answers
63 views

Oculus Rift and Super Resolution [on hold]

Background Using a development Oculus Rift I noticed a powerful visual effect with the way graphics are perceived from the pixels on it's screen/s. I strongly suspect super-resolution and the head ...
-1
votes
1answer
55 views

More than 8 lights without deferred shading / lighting [on hold]

I want to know if there is any technique (efficient) to use more than 8 lights in a scene made ​​with OpenGL and GLSL. Without making use of deferred shading / lighting. I have not implementadon ...
0
votes
0answers
16 views

Scaling entity by screen height (simulating depth on orthographic camera)

i want my entities to be at 100% scaling (for example 128x128 pixels) when they are at 40% of the screen height (for example 480 pixels at 100%), so when they are at 41%, they are at 99% scaling ...
0
votes
0answers
52 views

Tile Collision - subtracting a minor value to the box size

I'm having a certain problem when doing collision checks on bounding boxes that have their edges aligned with upper or right tiles. It shouldn't count as an intersection but I don't know a good ...
1
vote
2answers
41 views

How to disable play automatically on animation in Unity3d 4.5.1

Where is the option to disable the 'Play Automatically' function for animations in Unity3d 4.5.1. In previous versions, there was a button under the Animation tab to disable the play automatically: ...
0
votes
0answers
25 views

Collision detection in 2D AS3 platformer game [on hold]

This is my code: package { import players.*; import physics.Engine; import flash.display.MovieClip; public class Mission extends MovieClip { public function Mission() { ...
0
votes
0answers
13 views

Drawing jbox2d shapes in slick2d

How would be the best way to go about drawing polygons in slick after forces where applied to them via jbox2d? There seems to be no way to get the vertices of a body defined in jbox2d...
1
vote
2answers
69 views

Should I cap the frame rate in SDL?

I know this question has been asked a lot, but I never found an answer suitable for me. I have a game with a fairly big logic system and the movement system I am currently using is calling ...
0
votes
1answer
46 views

Why is anti aliasing not being applied to my 2D objects in Unity?

I am drawing 2D objects in Unity. Some of these objects are drawn using the standard sprite method that is built into Unity. Others are computed as distance functions in a shader. In both cases I ...
1
vote
1answer
41 views

Problem to match font size to the screen resolution in libgdx

I'm having problems to show text on my game at same size on different screens, and I did a simple test. This test consists to show a text fitting at the screen, I want the text has the same size ...
0
votes
2answers
103 views

Is video compositing feasible?

I've been considering the idea of a game client that acted as a video compositor, only drawing, by itself, the terrain, the characters... deferring other graphic elements to separate processes. For ...
0
votes
1answer
33 views

Android: How to create fluent animations by using bitmaps and ObjectAnimator?

I want a resized bitmap item to move over the screen into a house. This basically works, but the movement is not fluent and is stuttering. Since I always have to draw both the resized background and ...
-1
votes
0answers
33 views

Simplest way to create a timer? [on hold]

What is the simplest way to implement a timer? For example, I set the time to 10 seconds and on the screen it shows 10:00 to 0:00 including the milliseconds. I've tried looking around online, but a ...

15 30 50 per page