1
vote
1answer
48 views

Good way to support multiple types of triangles? (C# XNA)

[this question is somewhat long. here's my question in a nutshell] I want to use multiple types of Vertex data types for my triangle, interchangeably. So if I have a generic type T private void ...
1
vote
1answer
38 views

How do I destroy a SDL_Finger pointer?

Hello I'm using SDL with C++ and I got this code: void handleEvents() { SDL_Finger* finger = SDL_GetTouchFinger(SDL_GetTouchDevice(0), 0); } I do not know what SDL does inside the GetTouch ...
0
votes
0answers
22 views

Unity: Animation Controller: Does “atomi” attribute in 4.6.3 same with “has exit time” attribute in 5.0

I'm viewing tutorial that base on Unity 5.0. In this version, I see an option which name is: has exit time: But on my Unity version is 4.6.3 doesn't have this option instead atomic. AFAIK, it ...
0
votes
1answer
11 views

Touch pad controls not working in apk, working from Unity Remote

I've come across something unusual with my HTC One M8, I'm not sure if it's phone specific, a bug in unity, or just poor setup on my part. I've been using Unity Remote 4 to test in realtime, and it's ...
0
votes
0answers
11 views

Installing Irrlicht on CodeBlocks [closed]

I've tried installing the Irrlicht SDK on the codeblocks IDE. I've tried various tutorials, but have not succeeded. This is what I've done thus far: Created a folder in the CodeBlocks installation ...
0
votes
2answers
43 views

Custom key binding/mapping

Currently I am starting to develop my first serious game. Before the games are all training, and learning how to do things in a good way. Unfortunatly, I've missed a big part in my preparation: Key ...
0
votes
0answers
13 views

C++ - Error X3501 Main Entrypoint Not Found [duplicate]

I was developing my DirectX 11 app, but when I wanted to add a function to draw a triangle, I get this error from compiler. Error X3501 Main Entrypoint Not Found This is how my main .cpp looks ...
0
votes
0answers
18 views

Java:LWJGL lighting: cube faces aren't lit correctly [closed]

I'm currently writing a little voxel game and tried to implement lighting. The problem is, that my cube faces are always brightened when I look at them, and don't depend on the position of my light ...
0
votes
0answers
56 views

Anti-Roll bar doesn't work

I'm making a racing game in Unity that has trucks as vehicles. For the truck movement, I'm using WheelColliders. After some testing, I found out that after a certain speed (~60km/h), turning made the ...
0
votes
0answers
31 views

LineRenderer is not collide [closed]

I am trying to make a jumble word game in which there are number of English letters in matrix form and the user needs to make a proper English word by drawing a line between letters. The line can be ...
0
votes
0answers
52 views

Preferred way to integrate box2d with SFML

I'm trying to integrate Box2D with sfml. My current solution is to have overloaded functions creating sfml shapes from box2d fixtureDef shapes. I store created sfml shapes under the name 'visual' in a ...
0
votes
0answers
27 views

Matching the 3ds max camera view in my game 1:1

I want to match 1:1 the 3ds max camera render with my 3d engine (DirectX 11, C++). I believe that my mesh exporter (coded with MaxScript) works fine, I see the right shapes. But something about the ...
-1
votes
1answer
43 views

How to handle pathfinding and path following with sprites the same size as the grid?

The game I am working on is currently using 32X32 collision boxes. I have implemented a working AI (A* - path finding method) which is based on the Grid Size. Lets say that I use that 16x16 grid , ...
-3
votes
0answers
34 views

How to see math formulas from StackExchange in my web browser [migrated]

I would like to see maths formula as maths formula in firefox. It is possible ? For instance, for the page link, I just see maths formulas as $$..., and I would like to see interpreted formulas. ...
0
votes
0answers
34 views

What is a scalable server-side architecture for an online game with 100s of players, one turn per minute? [closed]

Say you have an idea for a browser based game. Maybe call it "micro"-turn based, where turns run every X seconds (maybe 10 to 60.) You want to support 100 to 1000 people in a game. My first thought ...
0
votes
1answer
46 views

How to get used Resources by State/Map etc?

I'm now managing the Loading of my Resources and I got a Question in my mind. How does my Resource Manager know which Sprites,Sounds, etc. are used by the Map I want to load? First I thought of files ...
1
vote
1answer
73 views

How to draw a mini map OpenGL & OpenGL ES?

I'm trying to draw a mini map. Succeeded to put current screen to smaller screen (mini map) via FBO. But I do not know how to make the mini screen brighter when hover. You can imagine that, the real ...
-2
votes
0answers
33 views

i am trying to access static variable from class “Scoremanager” to “Timeincrease”.but i have got an error [closed]

using UnityEngine; using System.Collections; public class Timeincrease : MonoBehaviour { //public Scoremanager plustime ; Animator animax ; void Start(){ int x = ...
0
votes
0answers
22 views

Sprite collision Rectangles LibGDX

I have a big problem with my sprite top collision. Here ismy constructor public CoolGuy(){ full = new Rectangle(0, 0, 50, 98); bottom = new Rectangle(0, 0, 50, 15); top = new Rectangle(0, ...
0
votes
0answers
66 views

3D Game Rendering (Educational purposes) [closed]

I've been programming off and on for a few years, and have made several 2d games in java. (I also know c# and a bit of c++). I was wondering where I should start off for rendering 3D scenes in java ...
1
vote
2answers
71 views

What counts as a “game studio”

I am registering a game on a site so that I can sell it, and it needs me to put in my game studio. I work on my games in c++ and I dont't have a team, or a company. Can I throw out a name and be ...
1
vote
1answer
36 views

Pick which directional light shades which object

Suppose you have two directional lights pointing at one sphere from different angles. You would expect the sphere to cast two shadows, but it turns out that this isn't the default behavior. The first ...
1
vote
1answer
52 views

Bubble shooter clone, structure for storing/adding of bubbles

Im having a few issues trying to figure out what the best data structure to use for storing bubbles on the grid, and how to connect new bubbles to the grid when a moving ball collides with a ball on ...
-1
votes
0answers
46 views

In the original zelda, what's the deal with the weird enemy names? [closed]

In the original Zelda, the enemies have bizarre names. I assume there was some problems with regionalization that made the names seem stranger than intended, but I can't find out exactly what ...
-1
votes
0answers
28 views

PyOpenGL problem [closed]

I'm using PyOpenGL on windows 8.1 64bit with Python 3.4. I got the win32 installer and all, but when I run basic OpenGL code I get this eception. OpenGL.error.NullFunctionError: Attempt to call an ...
3
votes
1answer
64 views

Cannot use DLL in my Unity project

I'm pretty new in Unity and i'm trying to write reusable code to use across multiple "project". So I wrote this class to POST and GET highscore via WebRequest. I compiled the project to a DLL and ...
0
votes
0answers
27 views

Raycasting from vertices is not working

I have two perpendicular planes in xz and yz like this I want to find the projection of the vertices of plane 2 on plane 1 using raycasting.The rays are hitting the plane but the log is showing ...
1
vote
2answers
44 views

glsl uniform int as index of const array

I have a const array that define a few materials for directionnal light. I'd like to change the material using an uniform int as index of that array. Doing that leads to severe framerate drop. I know ...
0
votes
0answers
22 views

front camera not working in unity 3d android

i have this peace of code : public string deviceName; WebCamTexture webCameraTexture; public Text txt; private WebCamDevice[] devices; private WebCamTexture webCam; // Use this for initialization ...
1
vote
1answer
103 views

C++ Entity Component System: Diverse Behaviours

I'm trying my hand at an action RPG kind of game and using a modified version of entityx from alecthomas, which is basically an Entity Component System. I have really big troubles with some of the ...
1
vote
1answer
54 views

From XML to class method

I'm trying to implement a dialogue system for a game in Unity(c#). I'm going to use xml cause I want the dialogues to be editable/added from outside. I have a practical problem. Let's say I got this ...
1
vote
1answer
146 views

Camera is centered on character, but doesn't show character in game window

I'm using Unity 4.6.3. I create an animation from sprite. When I press Play button, I see animation plays on scene window, but on Game Window, I don't see anything. Here is Inspector for main ...
-1
votes
0answers
37 views

How to make an OpenGL wrapper [closed]

I noticed there was a lack on tutorials explaining how OpenGL is called in OpenGL bindings such as LWJGL or go-gl. I saw thex had things like 00xb100 in lists. How do I create my own OpenGL binding ...
0
votes
2answers
69 views

Basic 2d platform collision detection algorithm has a slight bug (Java)

I'm trying to implement collision detection between Player (the main character) and a Platform. They are both modelled as rectangles; when player hits the side of a platform he should bounce off it ...
0
votes
1answer
93 views

If you create a game, do you automatically have the rights to it?

I am creating a game in c++ that will me multiplier and am going to post it on https://indiegamestand.com Here is one of the requirements "Must own the rights to distribute your game and to assign ...
2
votes
1answer
182 views

Pathfinding and clusters

For an assignment, I am required to implement an A* algorithm in order to find the shortest path between two object using different heuristics null, this effectively becomes Dijkstra Euclidean ...
0
votes
1answer
50 views

How do I convert a vector into a distance?

I'm doing a 2D raycast where i have to pass distance. The scenario is this: I'm using rigidbody2d.Moveposition to move my character instantly. However, before a character is moved, i want to do a ...
0
votes
0answers
18 views

Quaternion Slerp Over Time Help

I've gathered some code from several places and the final result almost works correctly. However, at times there is noticeable "snapping" from one place in the rotation towards the finish or too ...
3
votes
1answer
215 views
+50

Get normal dependent on collisions position

As I hask ask here I'm working on how my objects can move over the terrain and other objects. My proposal and also an idea in the answers was to calculate the rotation from the object with the normals ...
0
votes
2answers
32 views

Questions about property-centric game object runtime

I was reading Game Engine Architecture by Jason Gregory So according to him, I should use an array of entities, and arrays for each property, such as an array gameObjectsPosition, ...
-1
votes
0answers
21 views

Installing pygame - what do i do with .whl [closed]

I'm installing pygame for 64 bit python 3.4 and all there are are .whl files. i opened them in winzip but i have a pygame folder and another one with header files. Do I put the headers with thepython ...
0
votes
2answers
36 views

Why is this 2d game object platform not moving [closed]

I found this code on a website and translated it to C#. While there are no errors, the platform still doesn't move. It's probably something really simple but I can't figure it out. My game scene: ...
0
votes
1answer
51 views

How to find the closest point on a plane

So I have this terrain with a perpendicular plane setup, now I want to move the vertices of the plane to their closest resp. vertices on the terrain. I made a drawing to illustrate my thoughts. ...
0
votes
0answers
33 views

loading a model, which has multiple meshes using assimp

I have been using Open Asset Import library(assimp) along with OpenGL API to load and render 3D models. I followed some tutorials and have got the output as expected. But, I have failed to understand ...
0
votes
0answers
13 views

Mostly text/database-based game. What's available/suggested? [closed]

I think a decent example would be the sports management simulation games. I'm looking at making a game that is almost entirely text-based, but not an adventure game. It revolves around statistics ...
0
votes
1answer
124 views

Vector2 to 3D world coordinates

I think I am almost there, but not quite. I am trying to transform a 2D point, (in the following example (100,100)) into 3D world coordinates, in order to draw my 3D Model named TestModel in ...
0
votes
0answers
33 views

How would I change an object's fixed angle upon collision with another object?

I'm trying to get an object to change its fixed angle once it gets hit with an object via collision, unless there's a better way. This is the code that I was using for a slingshot weapon so I figured ...
1
vote
1answer
75 views

How can I test if one point can “see” another point. (XNA)

I want to test if my enemy can see the player, however I want this to be pixel-perfect. I already have all of the solid objects drawing into a separate render state. It should be noted that every ...
-1
votes
2answers
38 views

What are 'ambient' lighting/illumination/occlusion? [duplicate]

What's the difference between ambient lighting,ambient illumination and ambient occlusion ? What are they? What's the difference between them?
0
votes
0answers
12 views

Game Makers for free like platnum arts sandbox? [closed]

I Am young and i am curious and very impatient to create a game. is there any alternatives to Platnum Arts Sandbox?

15 30 50 per page