1
vote
0answers
19 views

NegaScout with Zobrist Transposition Tables in Chess

I'm trying to put Transposition tables into my alpha beta scout. I do see an incremental speed boost I think toward mid or late game, however, even with a table size of 1-2GB, its may or may not be ...
7
votes
3answers
124 views

Physics simulation methods for large delta times?

What physics simulation methods are most suitable for really big delta time (hours to weeks)? In addition, would I face any problems combining different methods for big and small delta times?
0
votes
0answers
26 views

Any OpenGL tutorials? [on hold]

I am pretty interested in coding (I am still a beginner) and I was wondering if any of you guys know a website where I can learn OpenGL? I would prefer websites that are kind of like CodeCademy where ...
3
votes
2answers
352 views

Is there an alternative to VBOs or deprecated functions to draw many small quads?

I was thinking about how to program a user interface in a 3D game. The problem is, immediate mode (glBegin and glEnd) is deprecated for a long time but I don't think vertex buffer objects (or arrays) ...
-2
votes
0answers
52 views

Are modular asset loading systems efficient? [on hold]

I want to make my game easily expandable and I was wondering whether making the asset loading system (the system that loads the assets) modular (in modules that are loaded piece by piece rather than ...
0
votes
0answers
24 views

Do i need any extra libraries apart from sdl and box2d? [on hold]

I'm planning on creating a 2d game. I must say I have no experience with this apart from a few pygame tutorials(sdl binding for python). So, if I want to create a 2d sidescroller game with ...
2
votes
1answer
46 views

How do I spawn an enemy at one of many spawn points in Unity?

I have a spawn script that so far only creates one Enemy spawn point and enemy trigger while only spawning one enemy. Instead, I want it to create multiple spawns and triggers, but keep it such that ...
2
votes
1answer
47 views

How can I move gameobjects using keyboard in the Unity scene editor?

I know I can click on the move button and use my mouse to drag the object around. How can I do the same using my keyboard?
3
votes
2answers
83 views

Stroring components in arrays (entity component system)

I'm looking for ways to improve my ECS and I've seen many people suggest storing components in arrays. This seems great, considering fast access for a component using entity id and more importantly, ...
8
votes
1answer
135 views
+50

How to snap player movement to the surface of a 3D object using Unity?

I'm trying to create an effect similar to that of Mario Galaxy or Geometry Wars 3 where as the player walks around the "planet" gravity seems to adjust and they don't fall off the edge of the object ...
2
votes
0answers
19 views

Find asset labels at runtime

Unity allows me to add multiple labels to my assets in the editor (the little blue luggage tag in the corner of the inspector). I can use the Asset Database to find all assets with a certain tag from ...
3
votes
2answers
108 views

How should I organize my Unity scene graph?

In programming, we have coding conventions — self-enforced rules to help maintain order. Does such a convention or consensus exist on how to lay out scenes in Unity? I've seen two styles of ...
1
vote
1answer
42 views

2D bouncing ball simulation - angular velocity

How does angular velocity of a ball affects it's speed after a bounce? I'm trying to simulate 2D bouncing ball physics. I've found a nice solution how to calculate ball's velocity after a bounce: ...
0
votes
0answers
22 views

Visual effects in Java? [on hold]

I'm about to work on mini game right now. I use eclipse and was wondering if there's any library thet would let me achieve visual effects like fade in, for example when clicking something in a game ...
0
votes
2answers
87 views

Optimizing Collision Detection in a 2D Game

I am optimizing my "little" Java (LibGDX) shooter game, and perhaps unsurprisingly, collision detection is a "bottleneck"; I've kind of reached my performance goals already, but I want to tweak the ...
1
vote
1answer
51 views

How to securely retrieve game stats from clients in a p2p game network?

I'm working on a P2P game and I know I should never trust the clients. I my architecture, there is a "Master Server" that stores game room (host) informations. Players can create their own rooms ...
0
votes
1answer
79 views

How to show my XNA game in form C#

I have a game in XNA, I want to connect this game with WindowForm to show for example the distance and the position. I tried to apply many tutorials that talking about this. but here is my problem : ...
0
votes
0answers
8 views

Silverlight Mobile Compatibility [on hold]

I am wondering to publishing silverlight project on android, ios etc. Mobile devices are not supported silverlight. If phonegap, xamarin or etc. use, maybe it will run, actually I don't know. It is ...
1
vote
1answer
25 views

Constraining Movement to Path/Splines

First of all take a quick look at this : https://www.youtube.com/watch?v=LQtKP-EymFM So this is to give a idea of what I mean by following a path, basicly I am trying to understand how something ...
0
votes
0answers
38 views

Collision detection Diablo II style [on hold]

My game is going to be isometric 2.5D. I'm having trouble figuring out how I should make a collision detection system in which, for example, a fireball hits a character, as it would happen in Diablo ...
2
votes
1answer
22 views

Gamemaker Key Press Duration

I am looking for a way to track the duration of a key press in gamemaker. I was looking into alarm functions, but I figured there's a more elegant way. How can I track the duration of a keypress?
0
votes
0answers
20 views

building .apk file [on hold]

I have made a unity Vuforia demo project But I cannot run this Simple AR Application in Android ,I have a Pro version of Unity , when i took build of it. file -> build setting ->Android The project ...
0
votes
0answers
24 views

raise an event when an object appears using HLSL and XNA

I've written an HLSL code to make transparency of player using depth view of Kinect on the background image. this is my HLSL code : sampler stream : register(s0); sampler back : register(s1); sampler ...
2
votes
2answers
89 views

How to get a component from an Entity?

In my Entity class I've got a function that returns a specific component, that looks like this: template<typename ComponentType> ComponentType* GetComponent() { for(unsigned int i = 0; i ...
2
votes
1answer
44 views

The way of avoiding branching for textured and not-textured objects

I know that branching is an expensive operation on GPU (not as much as it used to be, but still). The most common situation where I use branching is when I have both textured and non-textured ...
1
vote
2answers
47 views

Collision between Mesh Plane and 2D Sprite

I've just recently started programming using Unity and made a couple of games with it, I'm trying out more and more advanced stuff as I do more games, but right now... I'm trying to make a game ...
0
votes
0answers
22 views

Linux, scrippting language for developing simple games with 3D graphics [on hold]

while I know of processing, plplot, gnuplot, Gambas (with opengl wrapper, which does not quite work as of version 3), javascript, and python as well as Opnscad, I wonder, considering all of these have ...
0
votes
1answer
77 views

Tetris rotation without using arrays

I am making a Tetris clone. Is there any way that I can avoid using a 2D array for storing a Tetris block? EDIT: Suppose I have an array to store an L-shaped piece: 1 0 1 0 1 1 But for the sake of ...
1
vote
1answer
47 views

Simplified aerodynamics for 2d (top-down) airplane

I am writing a top-down 2d game, in which the player can control an airplane via the WASD keys. The W key should move the plane upwards (north), the A key to the west, and so on. Now I need a ...
0
votes
0answers
16 views

Movement Algorith in 2D [duplicate]

I'm making a game in a 600x600 screen. When i click the mouse, i want to move object from an (x,y) position (pre-determinated) to the (x,y) of the mouse. I'm having some problems finding and ...
2
votes
1answer
76 views

Generate planet like heightmaps

I would like to procedurally generate planets, but I don't know how to wrap a heightmap around a sphere. I already know how to generate plane heightmaps, but not how to generate spherical ones. Can ...
0
votes
0answers
21 views

Determine character movement from a top down perspective [closed]

I'm working on a survival open world game. I've been experimenting with different types of views and control schemes. It's a top down game like the first two Grand Theft Auto games. Type A Player ...
1
vote
1answer
67 views

Why would OpenGL ignore GL_DEPTH_TEST setting?

I cannot figure out why some of my objects are being rendered on top of each other. I have Depth testing on. glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL); Do I need to draw by order of what is ...
3
votes
2answers
46 views

How can I detect continuous touches/pressed with Unity 4.6's UI elements?

I've recently switched to Unity 4.6. My previous workflow when creating continuous-input controls (the kind where you measure continuous touch input on a single button) was to create a GUITexture and ...
3
votes
1answer
101 views

Isometric graphics with fake perspective

Diablo 2 is a game with isometric graphics. However, unlike other isometric games, D2 has the option to activate perspective. Obviously, the D2 developers found a clever trick to convincingly fake ...
0
votes
1answer
54 views

can I project a ray in world space?

It's not clear what the question is so I rewrote the question. sorry. My question is how to construct a ray from the camera position to where it looks at in world space. My previous method is draw a ...
0
votes
1answer
24 views

Are there such things as online development projects? [closed]

I would like to practice a bit as a programmer in the gaming field but know of no one making games in my proximity. I was wondering if there is an online community or something where people look for ...
0
votes
0answers
19 views

Using a player class to hold data [closed]

A year and a half of game development and I haven't made a player class since I first started. What would be a good way of going about this. Right now I just save player data onto a file and convert ...
0
votes
1answer
23 views

Javascript 'camera' following object vertically without use of engine like Phaser or canvas [on hold]

So I have to make a JS game for school (I'm an absolute novice when it comes to JS) in Adobe Edge without the use of a game engine. I've been attempting to make something like this game and so far ...
0
votes
0answers
27 views

How do you settle on an idea? [closed]

First off - I apologize for the subjectiveness of the question, but I needed to ask -somewhere-. As the title says - how do you settle on an idea? I've been writing different game design documents at ...
-2
votes
0answers
34 views

3D game development [closed]

I want to start 3d game development . But I dont know where to start . I studied java and I am learning Blender now . I know jMonkey 3d engine which uses java programming language , but I dont think ...
0
votes
1answer
41 views

Dealing with multiple 2d sprite animations for the same object

I am using libGDX for a 2d game. Some of my in-game objects have animations, for example a soldier in top-down view that has a walking animation. That is working fine. Now, while walking, this ...
-1
votes
1answer
35 views

Float increment give wrong result [closed]

I found something weird with my unity code : public class heroesscript : MonoBehaviour { float counter = 0; void FixedUpdate() { counter += 0.02f; print (counter); ...
1
vote
1answer
33 views

How to access an animation properties from the animator?

I'd like to change the property speed of an animation from the animator. For example, I'd like the player to be able to reload faster with upgrades. So I have a basic reload animation on the gun ...
-2
votes
0answers
17 views

Searching for 2D Sprite-artists [profit-sharing] [closed]

I am currently working on a 2D sidescroller multiplayer RPG game, and unfortunatly we're only 3 people as it stands now. We are in need of some artwork to get this thing going. We have programmers, ...
1
vote
1answer
28 views

How do I fix the duplicate files problem in MonoDevelop?

MonoDevelop-Unity counts some files twice in a project of mine. This is very annoying, both for the "go to declaration" feature, and for the search (who finds twice anything who it would find). Not ...
0
votes
1answer
17 views

XNA custom effect importer

MSDN has an example of a custom hlsl effect importer and processor. Here is the importer's code: public override PSSourceCode Import(string filename, ContentImporterContext context) { string ...
0
votes
0answers
13 views

Robust algorithm for ray-isosurface intersection (with depth discontinuities)

For Dual Contouring, I need to calculate the precise intersection '(zero-crossing point') of any line ('segment', 'ray') with the given isosurface ('distance field', 'density source'). The algorithm ...
0
votes
0answers
14 views

DrawBone Angle variable using Kinect

when we want to draw Bones into XNA (using KnectSDK and C#), you have to calculate differences between two joints and draw bones between them. this is the function for drawing Bones: private void ...
0
votes
0answers
23 views

Unity Project has code but does not run in editor [closed]

I have an .exe that displays a car.. http://gfycat.com/AmpleFaroffFlicker Supposedly this source code was used to make the exectuable, however when I open/run it from within Unity I don't see ...

15 30 50 per page