3
votes
2answers
41 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
97 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
53 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? [on hold]

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
18 views

Using a player class to hold data [on hold]

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
25 views

How do you settle on an idea? [on hold]

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
32 views

3D game development [on hold]

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
38 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
32 views

Float increment give wrong result [on hold]

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
32 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] [on hold]

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
20 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
15 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 ...
0
votes
0answers
23 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
0answers
24 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 ...
0
votes
0answers
48 views

Efficient way of drawing 80 000 models in XNA (have tried hardware instancing and octrees still get 5 fps) [closed]

So I'm currently working on a 3D game in xna 4.0 and am in the city development phase (it's being done procedurally). The issue is is that once I get to 22 000 buildings (80 000-100 000 models ...
-1
votes
0answers
34 views

A program in OpenGl [closed]

I wrote a program in C++ OpenGl which to insert a special character to the display window display for entering characters ... for example by enter 'A' character the open windows shows A . but i don't ...
1
vote
0answers
27 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
53 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 ...
-1
votes
0answers
13 views

What's the problem with ImmediateModeRenderer20 and ShaderProgram Initialization? [closed]

I tried the code from : https://github.com/mattdesl/lwjgl-basics/wiki/LibGDX-Finger-Swipe and i get those exceptions Exception in thread "LWJGL Application" ...
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
60 views

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

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 ...
-1
votes
0answers
31 views

Having an issue with generating chunks in a voxel engine [closed]

I am working on a voxel engine and I started doing some worldgen. I generate chunks on a different thread, because it causes too much lag to put on the main thread. When I start playing the chunks ...
0
votes
1answer
52 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
35 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
25 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
0answers
22 views

How to rotate a sprite from sprite sheet (sequence of rotating frames) using keyboard in Java [closed]

I am making a game for my HW project. Right now, my tank can move forward(right arrow), backward (left arrow) and fire when moving left or right. I currently have a Tank class which receives the ...
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
57 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
0answers
15 views

select a audio file from sdcard or playlist [closed]

I just want to select a audio file from my sdcard or playlist by clicking on that audio file or by adding check box facility,i don't want to play that audio file.please help me how to implement this ...
0
votes
1answer
66 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
38 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 ...
0
votes
0answers
35 views

Faction system in C# [closed]

In an RPG type game how would one go about handling a faction system? I was thinking about making a faction class that contains an int value that would determine how much it likes or dislikes another ...
-1
votes
0answers
56 views

Galaxy wide procedural NPC with local generation (3rd question edit) [closed]

I'm looking for a procedural technique to fake dynamics NPC with local procedurality, if possible complete with travel, genealogy, etc. Trying to be as complete and dynamic as possible. With dynamic ...
1
vote
0answers
46 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
78 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
19 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
30 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
56 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
44 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. ...
1
vote
0answers
28 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
32 views

How Do I Implement Modern Smooth Animation Methods and Shapes? [closed]

I have noticed new methods of animation and drawing arising, while I can explain some or come up with algorithms for others. For example, I was watching a video by pewdiepie and I noticed the ...
0
votes
0answers
21 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
0answers
14 views

Disappearing model - vertices not rendered [closed]

I have a quad that has been drawn with OpenGL 3.2+ (using VAO's etc) but when I applied the matrices in the shader it only becomes visible between some Z values (between -0.8 and -1.25). The fact that ...
0
votes
2answers
65 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 ...

15 30 50 per page