0
votes
0answers
4 views

Entity to tile collision detection (C++, SDL)

I'm currently trying to handle collisions between entities and a tilemap, but I've hit a problem. My tiles are stored simply as integer tile IDs in a multidimensional array, and I wanted to perform a ...
0
votes
1answer
49 views

UDK: Playing two audio tracks simultaneously

I have some environmental music playing in the background, but when I try to play another track (door opening sound effect) at the same time the background music stops playing. How can I play two ...
1
vote
4answers
497 views

track how far player is from finish line

We are developing mobile racing game.We are looking to implement tracking system. For example if four players are on race track then in up side of screen one slide bar type line will be there whcich ...
0
votes
0answers
9 views

Pathfinding Algorithms

I am new to game programming I currently am using unity's 2D power to remake an 2D game for sake of practice. So I am just little confuse about one thing, so far every enemy in my game was dumb(they ...
0
votes
1answer
165 views

Draw a line/curve for the path an object has taken

Hello I am making a game in libgdx. I want to draw a line/curve of the path a object have taken. First a thought I could save all positions of the objects each iteration and draw line between them ...
0
votes
0answers
9 views

unity Rigidbody jump

I absolutely don't know what is the problem with this code and I have tried everything without any success. I need help. void FixedUpdate() { if (Physics.Raycast(transform.localPosition+new ...
4
votes
1answer
361 views

UDK: Checking actor type in projectile ProcessTouch

So, to be brief, I'm trying to teleport a pawn when it's struck by a projectile (or damaged by any weapon in my game.) Right now, I'm trying to just call Pawn.SetLocation in the projectile's ...
-1
votes
0answers
17 views

Platformer Lag WIth Large Worlds [on hold]

I am getting a noticeable reduction in FPS when I am using a noticeably large world, such as one with the dimensions 200x100. I am not looping through all the tiles, only the ones present on the ...
0
votes
0answers
3 views

Adding random IsoSpirite to the IsoSence

I am trying to add different type of objects to a scene using as3 Isolib. I have all of my objects ( each object has different class ) in an array and then pass them using for loop to a temp spirit ...
0
votes
1answer
63 views

to calculate rect moving in curveed path collision detection

i trying to find the best way to use collision detection between rect moving in curved path: here is example of what i have i found few methods and i have hard time to find what is the best way i ...
0
votes
1answer
27 views

glDrawElements and Texture Coordinate

I just move on from Immediate Mode and try Vertex Array method using glDrawElements and I got the texture is mess. How to draw the texture correctly? This is a piece of my render code ...
-1
votes
1answer
17 views

Checking collision from below using OnCollisionEnter

Want to use OnCollisionEnter to see if there is a collision from below. void OnCollisionEnter(Collision other) { foreach (ContactPoint contact in other.contacts) { ...
1
vote
1answer
513 views

How do I build Assimp with MinGW?

How can I build Assimp with cMake and MinGW? I tried, but I don't get a functioning library... Details of my attempt: I am trying to build the Open Asset Import Library (Assimp) but I have been ...
1
vote
2answers
193 views

Is WWW reliable for downloading a large AssetBundle?

I have a very large AssetBundle. More than 200MB. Is WWW reasonable for downloading it from my server? I heard that you can't tell the timeout it has. I intend to use it for iOS and Android. Since ...
0
votes
0answers
12 views

Simple pathfinding for RTS with collision? [on hold]

Is there simple algorithm for pathfinding with collision detection, for RTS? The simpler the better, it's for iPhone DOTA / RTS like game. No true collision detection needed, it's needed only to ...
0
votes
1answer
24 views

unity animation not starting

I have written the following code: public class TargetAnimation : MonoBehaviour { Animation anim; public AnimationClip Open; // Use this for initialization void Start () { ...
0
votes
0answers
7 views

Problems with computermove in tctactoe android java

I have problems with the computerMove in tictactoe. I am trying to do a method with matrix, but I do not know how to do it in a good way. I have done an array with button which the game board will be, ...
1
vote
2answers
407 views

Basic Connections Through Socket Server

I'm designing a simple 2 player RTS with Stencyl, a program that uses blocks for coding. The current code updates lists whenever an actor moves (new X and Y), and I'd want the server to update the ...
0
votes
0answers
20 views

Creating a Tag-Team Mechanic

I am building an Sidescroller in unity and i came up with an idea to build an Tag System. We wanted the player to: Switch between the Main and the Assisting Characters Receiving Benefits from the ...
0
votes
0answers
20 views

Beginner question… how to… games like gone home and life is strange [on hold]

Just out of curiosity, i wanted to ask which software and how would one build a game like Gone Home and Life is strange. I've never created games (i work in web/graphic design). Thanks.
1
vote
0answers
12 views

Bullet btGImpactCollisionAlgorithm

I have a question about Bullet and in particular GImpact. When, the collisiontestpair(a, b) is called where GImpact pair check algo will be called on the btGImpactMeshShape, does it do a AABB tree ...
0
votes
2answers
787 views

How do I create a message box that fires a callback on button press?

I need to create a message box with an "OK"-button. When the user touches the button, it should execute a callback. I'm new to this and couldn't find any articles in the docs.
0
votes
0answers
18 views

Automated Polycount reduction on an animated humanoid mesh - any solutions out there?

I was wondering, is there a solution which will decimate the polycount optimally on a rigged and animated mesh whereby the quality of the animation clips wont suffer too much? I am creating a mobile ...
0
votes
1answer
38 views

Smooth animation using delta times - big delays ocurring …

I'm writing a game on Android using OpenGL ES 2.0 for fun. I'm developing on Samsung Galaxy Note 3. I want to try to master smooth animation, i.e. correct frame transition and movement. I am focusing ...
1
vote
0answers
21 views

UE4 or Cryengine for large forest wilderness open map? [on hold]

I want to create a survival game FPS with large forest wilderness in an open map fashion. What engine should I choose and what tools do I pick for modelling and such?
0
votes
2answers
53 views

How to get input for movement?

I'd like to input a direction on the controls then it send the player straight to that location. I'm trying to achieve an 8 way directional thing the play only needs to be able to travel to one of the ...
0
votes
2answers
459 views

Cocos2d: Moving background on update: offsett issue

working with Objective C, iOS and Cocos2d I am developing a vertical scrolling shooter game for iPhone (retina display models with 640 width x 960 height pixel resolution). My basic algorithm works ...
0
votes
0answers
20 views

How to Create Characters Classes for an Sidescroller

I am using Unity Programming in C# to build an Sidescroller 2D Endless Runner and building 4 classes: Warrior, Rogue, Mage and Ranger. It would be like: void PlayerCharacter() { Move(); ...
0
votes
0answers
3 views

Prime31 Plugin Error : “Plugin 'P31RestKit.dll' is used from several locations”

I got the following error, when i tried to install "Prime31: MicrosoftAds_2015-04-22" plugin in Unity 5 Plugins colliding with each other Plugin 'P31RestKit.dll' is used from several locations: ...
3
votes
1answer
182 views

Determine wheter an octree node needs to be continue

For collision detection (moving vs. non-moving) in my current project, I decided to implement an octree approach after the preselection. The only collision detection I'm currently using is a ...
0
votes
1answer
15 views

Play audio clip from where it left

I spent some time playing with AudioSource.time & AudioSource.timeSamples and read some posts about them. So I get that due to audio compression I can't rely on .time for accuracy so I need to use ...
-2
votes
0answers
10 views
0
votes
2answers
229 views

What's the most efficient way to deal with in-game messages in Allegro 5?

I have a little 2D game made with Allegro, and I want to introduce strings during gameplay. For example, I've just made it so a key is needed to open a door, so I'd need some tutorial text to appear ...
1
vote
1answer
677 views

glsl shader to allow color change of skydome ogre3d

I'm still very new to all this but learning a lot. I'm putting together an application using Ogre3d as the rendering engine. So far I've got it running, with a simple scene, a day/night cycle system ...
-1
votes
1answer
18 views

Players Health getting recuded only once when attacked [duplicate]

I made a game in Unity 2D Issue: I have made some spikes and other aliens, which decreases the players health if they come in contact. The health only decreases once instead of getting decreased ...
1
vote
1answer
71 views

Mix multisample and non multisample rendering in Directx11

is there a way to mix multisample and non multisample rendering in Directx11? It seems that when I create a multisampled render target I always get a multisampled rendering, regardless of the value of ...
1
vote
2answers
88 views

How can I manually call/fire OnTriggerExit() for colliders a trigger is inside of in Unity?

In Unity, the OnTriggerExit() method is not called/fired (not sure if it's an event or not) when an object is disabled or destroyed within it's collider. In comparison to it being fired is an active ...
2
votes
2answers
262 views

How to use an A* Pathfinding System across uneven environments?

I am developing a game in Unity3D. I want an enemy character to follow the player around. The problem is, my surface is uneven and full of mountains. I am using aarongranberg's pathfinding project. ...
1
vote
1answer
104 views

How do I make my main character move towards an object? LibGDX/Java

What I want to happen is for my player to bounce from spring to another. For example take the illustration below: Here's my code (what I've tried to do so far). This gets called in an ...
0
votes
1answer
240 views

How to compute matrix transform local/world on OpenGL

I'm developing an OpenGL program where each object / entity contains m_WorldPosition, m_WorldOrientation, m_WorldScale and m_WorldTransform (Vector3, Quaternion, Vector3 and Matrix4f). The problem is ...
0
votes
1answer
18 views

Unity3D WWW get HTML displayed in browser

I currently have in a web page, on a localhost server, some information that I want to use in Unity. My problem is that this information are stored in some js variables. I tried to use the WWW class ...
1
vote
1answer
186 views

Shader that draws just vertex points

The game I am developing is in unity and I want to make a shader which can be put on a mesh that only 'draws' color on each vertex point. I am not proficient with shaders, and out of all my searching ...
2
votes
2answers
79 views

Is Physics2D.BoxCast a safe alternative to a row of raycasting?

Raycasting in rows is a common practice. Is using the Physics 2D BoxCast function a good alternative to using multiple raycasts spread out (an example use being collision detection in a custom ...
6
votes
1answer
912 views

How to occlude lights in Unity3D?

First off, I own Unity Pro. I've been looking in to occluding lights when they aren't being viewed for a while now to improve performance. The main methods I ran in to were using BecameVisible() and ...
1
vote
1answer
38 views

Server networking - Thread per player

As my game is purely multiplayer, online performance is important. Should I run two threads for each player/connection? (One for input and one for output) or should I run one thread for all player ...
0
votes
1answer
114 views

Problems with Raycasting Requirements

Im working on a script which kinda works like an Enemy AI. Its kinda like a detection system with requirements that are required to be met. This is a recent question i asked using my code Raycast ...
0
votes
0answers
14 views

Libgdx understanding screen size

I'm trying to create my own jumper type game where the player moves up through an infinite y value. The problem I am having is getting the screen size to match up with the android screen. viewport ...
1
vote
2answers
217 views

Tiled Rendering - Projection matrix

I'm trying to figure out how to perform tiled rendering of my 3d scene (OpenGL). The motivation is to cut the scene up into several textures, combining them into a single image for saving at a very ...
0
votes
2answers
28 views

Ping Pong bat is not detecting the collision with the wall

I have been learning Unity for last couple of days. I want to make one simple ping pong game. The idea is simple. The game has a Sphere as a ball, a plane as ground, 2 rectangles as bats and 4 ...
3
votes
2answers
439 views

How do I use graphics APIs to select the proper display device among multiple attached to a PC?

I have an LCD monitor display and Oculus Rift attached to my PC. I have an Nvidia 820M dedicated GPU. How does the GPU know to which display device it has to render (or to send rendered information)? ...

15 30 50 per page