0
votes
0answers
5 views

App loading issue with Unity Vuforia

I am working on Augmented Reality using Vuforia sdk. I have done a sample AR app for playing a video when a marker is shown.I have added three target images in one single scene for playing video for ...
1
vote
0answers
10 views

What exactly is a 'set of states'?

Whilst looking into game-oriented applications of programming patterns I discovered a question on this site which suggests that a 'set of states' is superior to a 'stack of states' but does not ...
0
votes
0answers
10 views

ad is not working in android

I am trying to place ad in my game. i am using unity 5. trying to place admob in my game. in unity editor it displaying dummy message. tried to build the game in android phone after build completed ...
0
votes
0answers
7 views

How can library classes access SpriteBatch?

I have a spritebatch in my primary game component in a game project: public class GameRoot : Game { private SpriteBatch mySriteBatch; public SpriteBatch MySpriteBatch { get { return ...
0
votes
0answers
15 views

Do I restart the service?

I have a long running service in my game, that consists of two threads. //MY SERVICE: if(userEnabledProcessOne) //Shared preference value that I'm getting from the settings of my app based on a ...
0
votes
1answer
32 views

Using Unreal Engine 4 to model Earth

I could not find a game that has modeled Earth completely (i.e., The entire planet and full round model). Does UE4 have a limitation, such as maximum map size, that limits modeling the entire Earth? ...
2
votes
1answer
12 views

node.js / socket.io web game - use secured sockets?

Is ssl really necessary for a web game? (node.js with socket.io) Without it, when using unsecured networks someone on the lan could change commands being sent to the server and "take over" a player. ...
0
votes
0answers
12 views

How do I play NSF files with SDL2?

I'm learning game development with C++ and SDL2. I'm developing on Debian. I know SDL2 can't play NSF music out of the box, but are there stable extensions for it that will work on Windows, Mac and ...
0
votes
1answer
36 views

Modern OpenGL c++ obj loader

So i made a obj loader in c++.I used blender to export my files. I tried to draw 2 squares(one perpendicular to the other) and when im looking at them from above some weird black triangles apear, ...
1
vote
1answer
19 views

2D BoundingBox Collision Detection Problem

I implemented collision detection into my game (using Bounding Boxes) The character is floating above the blocks instead of standing on them. I know what is happening, but I can't figure out how to ...
3
votes
1answer
30 views

Terracing mountain features

I'm looking to replicate a procedural terrain effect I found on a portfolio/blog site a few days ago. Quoting the site, the terracing was generated through, "multiplying [the final height] by some ...
-6
votes
1answer
25 views

What is the difference between compiler and IDE? [on hold]

What is the difference between compiler and IDE? Please explain me. because i am new to this terms.
0
votes
0answers
29 views

WWW & crossdomain

i'm trying to use the WWW class to connect to a restful service located on a server. The service i'm trying to connect to is located to a specific port (8080 in my example), and my application cannot ...
0
votes
0answers
18 views

unity game dev - Tanks tutorial - how would you do it differently [on hold]

I would like to use good practices when working with Unity, but I'm finding it difficult deciding on what good practices are. In order to address that, could you describe what you would do differently ...
0
votes
1answer
45 views

Displaying Trajectory Path

How can I display trajectory path exactly as in this image? I have used void OnDrawGizmos, but that only displays trajectory in the editor and without any arrows like shown below. Trajectory with ...
0
votes
1answer
45 views

Is Angry Birds Made Purely Using Bitmaps/Raster graphics? [on hold]

Being a beginner game developer I would like to start creating my own engine and graphics so I am concerned about how successful games accomplish the graphics portion. My question is, are all the ...
1
vote
0answers
16 views

How to receive broadcast message in Unity?

I am trying to get the broadcasted message in overridden method of NetworkDiscovery.OnReceivedBroadcast(). For that what I had done is below: I create class which implements NetworkDiscovery where I ...
0
votes
1answer
21 views

Unity - Toolbox pattern is not safe

When I create a toolbox such is in this tutorial. How do I defend against breaking the pattern with multiple instances like this: gameObject.AddComponent<Toolbox>(); ...
0
votes
1answer
25 views

How to adjust the width of a LineRenderer

I wrote a code that draws a line by mouse movement. I am searching for some way to give it pencil style and head and end of the line have thinner width. As we know the LineRenderer draws the line ...
-1
votes
1answer
13 views

Using VBO in Opengl. powered with c# TAOFramwork

I'm doing a 3D display for a big object. I've managed to display it with opengl primitives, so it's (very) slow Now i want to use the VBO optimization. But when i lost the focus on the opengl window ...
0
votes
1answer
50 views

Obj file loader in c++ from blender

So i want to export files from blender which have: triangles,normals,texcoords and materials.and use modern opengl and c++ to create a obj file loader.I also use sfml. I have a shader loader class ...
1
vote
3answers
38 views

How to dynamically create an UI text Object in Unity 5?

I have been searching for something that should be simple, but Unity 5's documentation on that is fairly outdated. What I want to achieve is to be able to create UI Text totally from script, i.e. ...
1
vote
0answers
23 views

How can i create a 2 player turn-based board game on a separate android device using unity?

im trying to make a 2 player turn-based board game, i have already made the connection between 2 device. I used photon. They both connect but i don't know how to sync them both to the game. can any ...
2
votes
2answers
64 views

Efficient use of pathfinding

I'm doing a post-mortem on my game project, and this problem kept bugging me as my team couldn't solve it throughout. So my game is a pure 2D top-down shooter built with Unity3D, with enemies ...
0
votes
1answer
56 views

Screen point to world space conversion

I have a 3D cube that can be rotated with the mouse to show any side of the sphere.I want to be able to click a point on the cube and draw a circle around that point at a fixed height(so i dont need ...
0
votes
1answer
22 views

Should a transform class store a matrix or seperate position/rotation/scale values?

I'm creating a transform class to make storing the transform of individual objects in a scene easier, but I'm unsure on how to do it. I could create one like this: class Transform { public: ...
1
vote
1answer
18 views

Using a smaller off-screen buffer for rendering

I am seeing this in most of the game codes I read and tutorial videos I watch. When using double buffering in rendering, they use a smaller sized off-screen buffer, then just scale it up when drawing ...
-2
votes
0answers
35 views

Game programming for beginners [on hold]

im currently studying computer science the reason being that i want to be a game programmer and we are using java. Right now i want to start getting into the game programming stuff and i wanted to ask ...
0
votes
1answer
14 views

How to adapt UV code to use a tilesheet that is “uneven”?

The tutorial has code that takes a tilesheet and builds a UV mapping: const float tileSize = 0.25f; public virtual Vector2[] FaceUVs(Direction direction) { Vector2[] UVs = new Vector2[4]; ...
0
votes
0answers
14 views

2D Platformer Incrementing Speed Physics/Collision problem [duplicate]

I am currently developing a game on Cocos 2d-x physics engine. The game's mechanic is so that the character goes down faster as the game progresses (a casual game) however, there seems to be a problem ...
0
votes
1answer
22 views

Libgdx: more efficient way of using Vector 3?

I currently use if(cam.frustum.pointInFrustum(new Vector3((float)posX, (float)posY, 0))) To check if my sprite is in the camera's view. I have to make a new Vector3 every frame wich is very ...
1
vote
0answers
7 views

How can I make a sprite based animation using Cocos2d JS?

I am learning Cocos2d JS, but I can find very few tutorials and I find the documentation very vague. I can put a simple image on a layer like this: var sprite = new cc.Sprite(res.my_image_png); ...
-2
votes
1answer
10 views

NavMeshAgent in unity not working

I am making a game in unity and it is throwing the error "Failed to create agent because there is no valid NavMesh" and i don't know what the problem is. using UnityEngine; using ...
0
votes
0answers
20 views

Multiple Event System in order to have a mainmenu and a submenu buttons selected

I'm developing a GUI at the moment for a game and I'm having problems making two buttons be selected at same time. I already looked around and the 2 work arounds I found was by extending the ...
-1
votes
1answer
15 views

SceneKit – White layer covering my tube

I have a simple tube node in my scene that isn't displaying properly. When I rotate it to face the camera, more than half of it is covered by some invisible sheet. When I rotate the tube enough, it ...
4
votes
4answers
300 views

Should the bullet trajectory calculated by server or by client? [duplicate]

In a FPS game like Battlefield or Arma, when playing online, should the bullet trajectory be calculated by the server or by the client?
0
votes
0answers
15 views

Setting up SFML and Box2D at the same time on VS2013 [on hold]

How do I add SFML and Box2D at the same time and both workable, while I can add them independently after I put them into the same project one of them doesn't seem to work.
-2
votes
0answers
21 views

Cross-platform engine for a 2D graphic adventure [on hold]

I am planning to make a 2D Point & Click adventure, just like the old Lucas Arts games. I was thinking of an engine which could let me making this game easier. The engine which I am looking for ...
1
vote
1answer
46 views

How does one calculate color intensity?

How do I calculate color intensity if I have a image sample of RGB? The sample is of a float3 of red, green, blue. I'm trying to do a bilateral blur and have to not change the image if the color ...
-3
votes
0answers
33 views

How to display a error/message box? [on hold]

As the title says I would like to know how to display a error box without needing to download any more libraries. I would like it to look something like this : I've google'd some and I could ...
0
votes
0answers
26 views

Script getting unchecked upon running

I have a script attached to a game object, with the following content, but when I press play, the tick next to the script component disappears. I cannot figure out which line in the script is ...
-1
votes
0answers
25 views

AddExplosionForce issue? [duplicate]

AddExplosionForce doesn't do anything with this script, even though a RigidBody is added to each CubeParticule... What's the problem? using UnityEngine; using System.Collections; public class Force ...
0
votes
1answer
25 views

AS3/Flash Develop - Radial Gravity (character on planet simulation)

I am trying to create a program where a character shape will be constantly drawn towards the centre of a planet shape. I have taken on previous advice into using physics equations to generate the ...
0
votes
0answers
36 views

My characters do not reverse their velocity, why? libGDX

I have been programming my game in libGDX for a while now and even watched a tutorial on youtube from Brent Aureli. The game I'm going for is kinda like Super Mario Bros but there is one problem that ...
3
votes
1answer
47 views

Pathfinding: longest route along tiles of same type

I'm programming a simple tile-based puzzle game, and I've gotten stuck trying to work out a pathfinding algorithm. Here's how the game is set out: The game board is (arbitrarily) 8 tiles wide by 8 ...
-1
votes
0answers
15 views

Lwjgl unsatisfied link error intelliJ

I recently wanted to update one of my games to a recent (stable) LWJGL 3 version. I changed everything I needed to change, like instead of GLContext.createFormCurrent() I did GL.createCapabilities(), ...
-2
votes
0answers
23 views

Android: How to get Android Processor Programatically? [on hold]

Hello Friends! i need to get android Processor but i cant do this if any one know please help me. Am using Android Studio..
-1
votes
0answers
22 views

character animation confusion [on hold]

iam trying to create a game ,, so i start by creating my characters ,, i decide to use fuse to create the main character and after now iam confused because there are too many ways to rig and animate ...
0
votes
0answers
10 views

How do i integrate a android camera into a google cardboard viewing mode. For AR purposes

simply i want to have a stereoscopic view (like google cardboard) but through my camera and i want to add AR stuff in it. Is there a tutorial on this or some tips. ive tried too search for it and alas ...
0
votes
0answers
42 views

How To Create Xbox One Games for Free (Independently) [on hold]

I was wondering how to start creating video games or apps for the Xbox One without having to pay fees, etc. I've tried Unity, but can't find how to export to Xbox One. ID@Xbox is cool, but looks like ...

15 30 50 per page