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
77 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
70 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
59 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 ...
4
votes
2answers
141 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
61 views

How can I draw a ray from the camera in world space?

How can I construct a ray from the camera position to where it looks at, in world space. My previous method is draw a line by using two points. The first point is the camera position, and the other is ...
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 [closed]

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
36 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
44 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
37 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
34 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
18 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
29 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
20 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 ...
0
votes
0answers
26 views

Stuck at a crossroads need some guidance [closed]

I have dabbled in a few programming languages to include: php, javascript, java, C++, and C#. I know that no language is better than the other and that its all up to which type of game that you want. ...
1
vote
1answer
32 views

Playing a sound once pygame

I'm trying to play background music and the music keeps on starting. I tried to use music.busy, but I can't figure it out. I want it to check if sound/music is playing, then I want it to print "music ...
1
vote
0answers
29 views

import text strings into Unity editor 3D text objects so that Scene View displays them

I am having trouble finding a solution to this problem. I want to generate the text for TextMesh.text in a custom application and import into the Unity editor so that I can then scale the text to ...
-1
votes
1answer
56 views

Yeild waitForSeconds(5.0) is not working

I am trying to call another function continuously from my Update() function. So, I have used yield WaitForSeconds(5.0); but, the it stops for the first 5 seconds and it does not stop the next time it ...
0
votes
0answers
16 views

How to dynamically create movement range mesh? [duplicate]

How would I go about create a movement range /area of control indicator for a hexagonal game? I assume they generate a mesh proceduraly to match the tiles. Any good articles hat cover this topic? ...
-1
votes
0answers
63 views

Why does this code update my object's position so fast? [closed]

I was working on make my object appearing in the screen in random position. So I used Vector3.Lerp as it was mentioned in this question. I modified the code a bit as I was getting too much error and ...
0
votes
1answer
54 views

Why does this code not update my object's position?

I am trying to move the object in my frame in Time.deltaTime. I have not taken care the speed yet but the problem is, the object is almost at position (0,0) after I have multiplied the x & y axis ...
0
votes
1answer
37 views

Rotating a 3d vector around an axis using sines and cosines

I am trying to represent a 3d cone light's direction using only 2 variables. Right now I represent it with two points (6 variables) but I know that the direction in 3d space can be represented by two ...
1
vote
0answers
28 views

Lag when drawing single Texture multiple times in libGDX [closed]

I am building a game where you are basically drawing little dots on the screen with the help of the accelerometer. I am using a single instance of an Actor where I store the coordinates that needs to ...
0
votes
2answers
45 views

Undefined reference error when trying to access a component using ECS [closed]

I'm trying to access the x and y values from PositionComponent in my MovementComponent but I get this error and I just can't figure out why I get this. in my Entity class I've got a function ...
0
votes
2answers
63 views

What is the best practice for handling touch events on different GameObjects in Unity2D?

First of all I want to describe what I have in my scene. 1. Joystick. 2. Main character that has link to joystick and handles touch events from joystick. 2. Buttons. 3. Other GameObjects that must ...
1
vote
2answers
76 views

How to determine this kind of vector?

Take a look at the picture. I've got a camera(brown) and its ray(red). As I know ray has a direction and unlimited length(if you don't set it yourself). But now I need to determine ray's vector ...
0
votes
1answer
68 views

Render system should know entity manager?

in an ecs based game architecture, I think the entity manager is a "high-level" system, and the render system a "low-level" system. When I move my entity (that means I edit the position component of ...
0
votes
1answer
40 views

Developing game progress screen

I'm developing an application for iPhone which contains a screen where the user is able to track his progress. Something like so, as seen in the Two Dots game: Currently I plan on creating this ...
1
vote
0answers
60 views

Phaser noob: Why is my Phaser game jittery? [closed]

I'm just getting started with HTML5 game development, and I'm very impressed with the quality of Run Pixie Run and bunnymark in both desktop and mobile, so I've started making a game using Phaser ...
0
votes
1answer
80 views

Insufficient memory on creating vertex buffers

I'm building a voxel world generator with XNA where the voxels are rendered as polygonal cubes. The world is divided into 1024 chunks of 32x32x256 cubes each (as 32 chunks by 32 chunks), and each ...
0
votes
1answer
20 views

Texture2D.SetData Method Overload

Been reading up on various methods in the XNA framework, and found this one. I've done some Google searching, but I can't seem to find any information on how to use this particular method overload. ...
0
votes
1answer
35 views

Unity Button Without an Image?

I want to create a button whose clickable area is only specified by a BoxCollider with Unity's new UI (similar to how you would do it from within NGUI). I can't get a Unity Button to work without the ...
0
votes
1answer
61 views

Make camera move constantly upwards in box2d world

Im using libGdx to develop a 2d game, which has the following: The world moves in an upward direction by having a camera follow the player's y position. The user only controls player's x movement, ...
0
votes
1answer
52 views

Unity Player Prefs Deserialization not working in web build but is working in the editor

for some reason i can deserialize in the editor just fine with player prefs but when i make a web build it simply doesn't work. and since there's no real console log, i can't get any useful feedback. ...
2
votes
0answers
32 views

Unity Render Texture Artifacting

I'm having weird black artifacts appear on my render textures when they are transformed while the game is running. I am using a ScrollRect as a scrolling container for buttons (the buttons are just ...
0
votes
0answers
26 views

How to draw multiple large background images using libgdx?

I have developed a basic lunar lander-style game using Slick2D and dyn4j and am now redeveloping it using libgx for various reasons. I am having problems drawing the background (i.e. everything, but ...
0
votes
2answers
69 views

If I released a game engine under GPL v3, can I specify what parts of their code can be released under their own license?

I have a few questions about what users of my engine could copyright in their own project. The way the engine would work would be that it would be a standalone program in Java that would load all of ...
0
votes
0answers
8 views

Fill color in moving object without flickering [duplicate]

Here is my code in which moon is moving around earth but now i want to fill moon and earth with color and also want to remove flickering in the moon while moving. Please help me, i will be very ...
0
votes
0answers
17 views

AssetManager and Pixmaps

I've been reading about AssetManager here: https://github.com/libgdx/libgdx/wiki/Managing-your-assets. Apparently assets are reference counted (with load and unload). I am wondering about Pixmaps. ...
0
votes
1answer
17 views

Saving Scores on iOS and Android devices using Monogame

Quick question. What is the best way to save a game score in a mobile device (iOS and Android) using Monogame (example game Flappy Bird score)? You can also list ways and approaches of saving scores ...
-1
votes
1answer
64 views

What's the optimal balance of story and combat in a game? [closed]

A good movie must balance the action and storytelling so that it keeps the pace without boring the audience with too much story. Now the questions is how should the action and story be balanced in a ...
2
votes
1answer
84 views

How can I create a screen-space distortion effect?

I am trying to create a screen-space distortion effect using shaders. This image demonstrating the effect I'm after is from Nvidia: Let's consider that I have access to the background texture. How ...
0
votes
0answers
21 views

Anything like AutoLayout for Processing?

So I'm making a game for Android using Processing but I'm having trouble with my buttons not being in the same position when I change the size of the screen, and I'm aware that you can use AutoLayout ...

15 30 50 per page