1
vote
1answer
20 views

SDL.NET no longer detecting modifier keys

I'm using SDL.NET with C#. Recently, a bug has appeared where the library does not detect if the shift key is held down; although it used to do so. private static void KeyboardEventHandler(object ...
5
votes
1answer
413 views

Multithreaded Game Loop

I'm trying to implement a multithreaded game loop. I already did that but had to use a few locks for that, which ruined the performance. After researching a bit I came up with this idea: Instead of ...
0
votes
0answers
14 views

Road Networks and meshes; dealing with intersections

For the last month, I have been working on implementing a road network in my game (engine is Unity), in a similar fashion to city builders (where the player is laying the roads). I am not concerned ...
0
votes
1answer
28 views

traversing the area

i want to move point along spiral like hexagon for example i want to traverse the whole area and my player (point) is standing where i have placed it manually. now i want to start from this point and ...
0
votes
0answers
39 views

XNA - Efficient way to get pixel color from rendertarget2D

I'm stuck with a framerate perf down with getData from a rendertarget, what's your idea, what are the other options I can use ? I explain my problem : I'm making a board game, the objects or monsters ...
0
votes
1answer
35 views

How to set up the camera for a PS Vita game?

I am starting my first project for Unity and I want to start a new game for PS Vita. This console has a resolution of 960x544 pixels. How do I have to set up my camera so that it adapts to this ...
0
votes
0answers
18 views

Trouble texturing isometric tiles with tilesheet: OpenGL

I don't know if I am just... not seeing something here. I have been working on this for quite some time trying to get it functioning. I have used sprite sheets and texture coordinates before - so I am ...
1
vote
0answers
6 views

cocos2d-x: Cache draw

I'm drawing a circle using DrawNode. Is there a way to cache that drawing into Sprite or put it to SpriteFrameCache for later use? Because drawing the circle again each time might slow the game down. ...
0
votes
1answer
72 views

How to create 2D shadows and lightning?

How do I create shadows and lights in a 2D top down perspective game? I want to achieve an effect similar to this game (also made in unity) where some objects like a torch, different sprites and the ...
0
votes
1answer
42 views

Beginning on animations

I am clueless with regards to animations. I have a simple rendering engine that renders models, sprites, skyboxes and whatnot; but everything is simply static with no animations whatsoever. With my ...
1
vote
1answer
55 views

Greedy Mesh generation for a voxel-based game

EDIT: I have already found my problem and fixed it (but I cant accept my own answer for another 2 days) I'm currently making a 3D voxel-based game and now that I have started optimising some aspects ...
-4
votes
0answers
54 views

Inspiration for games! [closed]

Ok, so I'm stuck on finding inspiration for a game. I have this idea in the back of my head that has been spinning around for a while now. It was something to do with aliens, super futuristic weapons, ...
0
votes
0answers
20 views

Slick2D Java Applet

I created small game in Java using Slick2d library. I wanted put my game into webpage as java applet like here. I added my site to java exception site list. When i try to run page it is wrote: "An ...
0
votes
0answers
30 views

Unity 5 Networking Send Rate: Send Rate is Zero but server movement is still happening

I have a client server scenario, just a player moving about on the client and he moves about on the server using the built in networking provided in Unity 5. I have my client scene running in the ...
0
votes
1answer
25 views

Can I export a model and texture from a terrain file built in Unity3D?

I am mostly familiar with building my level maps within unity, and have become quite use to its inbuilt terrain creator, in both generating my terrain, and spraying a texture on to it. I am making a ...
0
votes
2answers
90 views

2D Coordinate Based Game [duplicate]

I want to make a game for Android that has a 10x10 Grid Plane as UI.In this game users going to touch on a grid and tihs grid will be painted. My question is how do I understand which gird or tile ...
1
vote
0answers
36 views

Set Render Target usage

I am using Unity and I have some difficulties about understanding the way Set Render Target works and how it can behave with the shaders. Is it possible to render a shader pass in multiple render ...
2
votes
1answer
98 views

Smooth Wall Collision Detection

I've been working on a small game, and I've been stuck on the collision part. During the collision, when my player hits a block, he stops just as it should, but it then doesn't allow me to another ...
0
votes
0answers
8 views

Display Google play service profile Image in Unity [closed]

I need help displaying a logged in user's profile image using google play service plugin for unity.
2
votes
0answers
54 views

Monetize solitaire game [closed]

I recently released my first game - solitaire for ios. What the best way to monetize game? Options I have in mind: In-app purchase themes (cards, backgrounds etc...) Ads subscription (remove ...
1
vote
0answers
21 views

Solitaire game - future strategy [closed]

I recently released my first html game. It's a simple solitaire game that can be played right in the browser on both web and mobile. Web version doesn't use any monetization technique, mobile version ...
3
votes
0answers
83 views

How to cache resources in my homebrew rendering system

Background: I am designing a simple 3D render system for an entity component system type architecture using C++ and OpenGL. The system consists of a renderer and a scene graph. When I finish the ...
1
vote
2answers
55 views

How to display a list of 2D arrays in the inspector

Simply put, how do I make public List<bool[,]> appear in the inspector? Every 'bool[,]' is a solution to a puzzle in my game and I want to be able to view and edit them in the inspector.
0
votes
1answer
55 views

How to wrap textures inside shader GLSL

I'm trying out GLSL and one of the problems I'm facing is wrapping a random texture sampler in the shader. Searching for answers on the web first, this leads me to using these commands: ...
1
vote
1answer
30 views

How to correctly specify the offset in a call to glVertexAttribPointer()?

I'm trying to draw a simple triangle using the following vertices: std::vector<VertexFormat> vertices; vertices.push_back(VertexFormat(glm::vec3(0.25, -0.25, 0.0), glm::vec4(1, 0, 0, 1))); ...
1
vote
0answers
15 views

Inverse kinematic joint limits

I want to limit the joint angle of my character. I have just one issue i can't get the value of the joint limits of the human -i search about max, min angle of each joint in x and y but i can't get ...
5
votes
2answers
223 views

How to create rope?

I'd like to re-create this game, but I have no idea how to create the rope, or its influences on the ball. Basically, there is a rope, "attached", at one end, to the mouse pointer, and at the other ...
0
votes
1answer
32 views

Determine facing direction mecanim 2d movement

I'm using this script to move my character in my 2d world: public float speed; //Movementspeed public Rigidbody2D rbody; Animator anim; void Start () { rbody = ...
0
votes
0answers
28 views

How can I make an AI notice that objects have been added or removed from their environment? [on hold]

I have an AI system with a line of sight. I want the player to be able to change things (mostly moving objects) and have the AI notice that these things are different. Right now I'm trying to use two ...
1
vote
0answers
20 views

The animation state could not be played because it couldn't be found!

If I try to use animation.Play() or have Play automatically ticked in the inspector on the animtion object, it gives me the follwing error: The animation state could not be played because it couldn't ...
1
vote
0answers
12 views

Problem to change window view dragging the mouse

I'm having a bad time trying to change the window view by dragging the mouse. I can precisely do that with the method: void PlayScreen::MenuView(sf::RenderWindow& window) { while ...
3
votes
1answer
388 views

Why do my game objects jitter when moving the camera?

I'm moving from Qt Widgets' QGraphicsScene to Qt Quick's QQuickItem for rendering my game objects. One of the things this involves is setting up a scene and the view onto that scene, as this was ...
0
votes
0answers
9 views

Using AWT with LWJGL on OS X

The VM argument -XstartOnFirstThread is required for LWJGL to work on OS X. Anything in the java.awt package freezes the JVM when used with the VM argument -XstartOnFirstThread. E.g. ...
0
votes
0answers
39 views

What genre games is suitable? [closed]

I started using unreal engine4 but I already know something about game engine cause I used unity3d before . but still iam new so which genre suits for me? as I feel 3D games are more comfortable than ...
0
votes
1answer
39 views

Stopping Actor tap/click event from propagating

I've been struggling with this for hours now and have read posts, docs and libgdx sources to better understand what's happening, but I still can't make any sense of this. I want to accomplish ...
1
vote
1answer
36 views

Unintentional slight arm position change

In the scene I have a capsule with a camera parented and a looking script so when I look down or up the weapon slightly moves forward and then moves back when I look straight forward. weapon when I ...
0
votes
1answer
35 views

Unity5 How to create a floor

This may be a may be a very basic question but I have a 32x32 tile of grass for a 2D platformer I'm making. Is there an easy way to duplicate the tiles and lay them out? or will I have to copy and ...
0
votes
0answers
82 views

How do I extract the right information from my projection matrix for frustum culling?

I've tried several different tutorials for Frustum culling, however I cannot understand them. Here's my function that sets up my projection matrix (someone else helped me with this, but I don't know ...
1
vote
2answers
39 views

Animation impulse system?

I'm working on an animation system for an RTS game. Each unit has several animation states: Move, Idle, Engaging, etc.. Units also have a variety of "Animation Impulses" which are animations that get ...
0
votes
0answers
35 views

Loading Collada Files Quickly (three.js, OpenGL, Javascript)

Okay, so I've created these sleek-looking spaceship models for an OpenGL game that I'm going to make. To make them look sleek and smooth, I used a Subdivision Surface modifier in Blender. Hmm... ...
0
votes
0answers
14 views

Platformer Tile Map Collision Help

I've been working on a small platformer as a simple project but, I'm having troubles with my collision detection. What I want is that as the player falls due to gravity, it will stop when it touches ...
2
votes
0answers
33 views

What steps can developers take to improve the graphics of their games? [closed]

My understanding is that the differences in graphic quality between games for systems like Xbox One and PS4 and Pixar-style movies stems from that the former are rendered in real-time. But even with ...
1
vote
1answer
80 views

How to avoid lots of ugly math code and constants-hoarding?

In a lot of the games I've (tried) making in the past, I often run into the problem of the code getting really heavy on ugly mathematical code. This happens especially frequently in setting up ...
1
vote
0answers
29 views

convert mouse coords to zig-zag isometric

I was wondering, how do I convert mouse coordinates to zig-zag isometric coordinates? I already know how to convert to isometric using the Diamond approach, so I just need to know about the zig-zag ...
0
votes
1answer
32 views

Generic multiple containers derived classes for Entity System

I am working on an entity system for a game. I have read that cache is very important with the common operation of iterating over entities and their components. Currently I have a class World that ...
1
vote
1answer
33 views

How can I send someone an early version of my game made in clickteam fusion 2.5?

I'm currently in the process of making my first game and have a pretty sturdy prototype, but I don't know how to send it out to select people. Any suggestions?
0
votes
1answer
44 views

Rectangle moves faster to the left than to the right

I am using Slick2d to create a top-down game, however an rectangle than I am drawing to the display is moving faster to the left than to the right, and faster up than down. I am updating frames like ...
0
votes
0answers
20 views

How do I hide the navigation bar in Android using the NDK? C++

I can't seem to enable immersive mode in android using the NDK. The only code that I've found relating is AConfiguration *config = NULL //AConfiguration_new(); ...
0
votes
0answers
12 views

Scene2D: Dialog show with animations Sequence is also applied to the Dimming Background

I have issues with the dimmed Stage background when showing a Scene2D Dialog with Action Sequence (animations). The problem is that the animations are also applied to the dimming background and the ...
0
votes
1answer
28 views

Changing long float to number + short scale

I am looking to use a piece of code to take an extremely long number and convert it to decimal equivalent + short scale. (i.e. 120100000000 would be 120.1 Billion) I am doing this with two separate ...

15 30 50 per page