1
vote
0answers
13 views

How do I use threads in unity c#?

I have been developing a Web Player game in unity using c# but its not running smoother as I wanted. For that I took Unity5 Pro and then used profiler for optimizing the project but still not getting ...
0
votes
1answer
8 views

Why does my MonoGame mesh throw an unhandled exception when trying to draw?

I am using the '3D Models' chapter of Learning XNA 4.0 to further understand 3D implementation in XNA, but I am running into an unhandled exception, when I try to draw each mesh. Here is my basic ...
0
votes
0answers
8 views

Dynamiclly applied texture to gameobject using GUI button

In a scene Multiple different gameobject (almost 30 kinds of gameobject) with parent child relationship. At run time (by selecting on gui button) I want to change the texture of each clicked ...
0
votes
0answers
6 views

A question about publishing mobile games [on hold]

I'm pretty new to game development, the business side of it anyway, and I have a really basic/stupid question about publishing. I'm developing a game for android and iOS and I'm seeing that a lot of ...
0
votes
0answers
3 views

Is fixture in box2d the “border” of the body?

In Box2dWeb, when we create a body we attach a fixture to the body object. We make the shape, friction, restitution and so on by tinkering with the fixture object. So from this can we conclude that ...
-1
votes
0answers
10 views

Whats the best program to make a 16-Bit game? [on hold]

I wish to make a retro 2.5D 16-bit game; I have everything planned out, I just would like to know the best program to do so. I do have programming experience as a Web Designer.
-1
votes
0answers
20 views

How to read a file in c++? [on hold]

I wanted to know how i could read a file called box.3d in a file on my desktop called objects in c++. I've looked and couldn't find anything that work for me. Also how could I make a function where ...
0
votes
1answer
10 views

Implementing a modal dialog from scratch with C++

Right now I'm implementing my modal dialogs in windows with a separate message loop after popping up the dialog. This straightforward an approach won't work with other systems that don't have message ...
0
votes
0answers
13 views

Ports & Databases: Designing a game server architecture for many simultaneous live multiplayer games

I'm designing a framework for running synchronous multiplayer games. A game server needs to be able to create many instances of its designated game, according to some parameters. For starters, this ...
0
votes
0answers
14 views

Collsion on place without collider

I'm creating a simple endless runner game, I'm dynamically generating the terrain, I'm placing obstacles at runtime at pseudo-random position. Here is the script that generates the terrain and places ...
0
votes
0answers
11 views

Adding real countries [on hold]

I am building a board game, and was thinking about a way to run tournaments where a large number of players can participate and benefit. So, running a single tournament that revolves around a single ...
0
votes
1answer
13 views

How should I set camera in Blender for example to render a sprite which can be used in an isometric map?

I am trying to render some 3D model in blender and use them as a texture sprite in a game which uses Apple’s SpriteKit. I have an isometric map with tiles size : 32 as width and 24 as height, Since I ...
0
votes
0answers
17 views

.NET Geometry Library [on hold]

Is anyone aware of a .NET library that implements just the geometry functions of a typical 2D game? Something that isn't bogged down with graphics, but just the basic math models and functions? Such ...
0
votes
0answers
35 views

Unity - 2D - My Sprite “hovers” over the ground

When my "main player" falls onto a platform, it seems to hover a couple pixels above it. Why is this so? I show you 2 images, one with the hero selected in the hierarchy, and another with the ...
1
vote
2answers
33 views

How can I set up a delay before the rotation happens?

How can I set up a delay before the rotation happens? I tried StartCoroutine, yield WaitForSeconds .. But I failed.
0
votes
0answers
7 views

Black screen when launching on phone

I am coding a game in libgdx. While adding the background I used the html module to watch the results fast and easy on my computer. But when I try to see it on my phone I just get a black screen. My ...
-1
votes
0answers
27 views

Game design help (general, not necessarily language based) [on hold]

The need behind this question is that when I was in a programming course, a group of four people, including me, we made a game in XNA. One of the things we had most problems with was the game design. ...
0
votes
0answers
10 views

Where can I find a character generator supporting “punch”/“hit” animations?

I use two programs (or online services) to generate characters for grid-driven 2D RPG Games (pokemon, sword of mana, secret of mana, etc etc etc). One of them is the famitsu character generator. ...
0
votes
2answers
27 views

Stitching terrain tiles made in Blender at runtime

Background I'm making several individual terrain tiles inside of blender for use within a Unity 3D 5 game. Each tile is square and is made to represent a segment of a world. In game the tiles are ...
5
votes
1answer
803 views

How do I create a simple RPG game server?

I'm working on a Sprite Kit game. I'd like to make it a true multiplayer game, by which I mean that each person joining the game has their own camera. I've seen tutorials on multiplayer games where ...
0
votes
0answers
15 views

Javascript Game Engine for Isometric “Final Fantasy Tactics” like game

I want to start developing a game and i have been doing some research these days to know how to start. The base idea is to build a game with a Final Fantasy Tactics style (isometric, turn based), i ...
0
votes
1answer
10 views

three.js objects disappear

I haven't got a lot of experience with 3D Frameworks - but was playing around with three.js and came across something that (to me) is a bit odd and I wondered why this happened. I am rendering the ...
0
votes
0answers
11 views

How to use Minim-Android library with an Android Studio game

I have a game project set in Android Studio in which I need to use a library called Minim. It is meant for using with Processing, so its constructor asks for an object that I couldn't find on Android ...
0
votes
1answer
32 views

A* Pathfinding math for 2D, oblique style game

I'm making a 2D, oblique-styled RPG game and am implementing A* pathfinding for NPCs. The game is on canvas, using melonJS engine and sprites not confined to a 'grid'. I'm having a hard time ...
2
votes
2answers
20 views

How to instantiate a sprite from a sprite sheet using script in unity?

We are creating a 2D top down rpg, and we have multiple textures, and we need to be able to change which sprite sheet its reading from in order to change the look of the walls and floor in each room. ...
0
votes
1answer
47 views

Generate random position within object

I have an plate object which is generated somehow(don't care how), now I want to put another object within this object on random position. Lets say that I want to put random trees on this plate. How ...
0
votes
0answers
9 views

How do I check if pressed on a text in pygame?

How do I check if pressed on a text? This is how I draw the text: # Full code on https://github.com/Zwengel/bunny-badgers height = pygame.display.Info().current_h font = ...
0
votes
0answers
10 views

How to parse HTTP response (JSONdata) in cocos2d-x

I am making a HTTP request to a server and I am getting data from the database. Now I want to parse the JSON data and get the data into variables like this: std::vector<char> * buffer = ...
0
votes
0answers
31 views

Octree Frustrum Culling

times came when i had to implement some culling into my engine. I started by reading some stuff and so far so good. I managed to create an octree which can effectivly divide my geometry's vertices ...
0
votes
2answers
36 views

particle - interpolate

I want to make a particle that interpolates in Alpha and velocity. public class Particle extends GameObject implements Updateable { int time; int lifetime; int Alpha; double dx; ...
4
votes
2answers
57 views

Which parts of game should belong to engine and which should belong to scripts?

Often, the game is splitted into engine code (i.e. C++) and scripts (i.e. Lua). The question is which parts / modules of game code should typically belong to engine, and wchich should belong ...
0
votes
0answers
8 views

Python & Pygame: How do I use this animated gif as background surface?

How would I go about putting an animated gif into my game in Pygame? I'm following along on the tutorial at inventwithpython (source) slidepuzzle.py My code is very similar, as I'm just beginning how ...
0
votes
1answer
29 views

A Star pathfinding on oblique map

I'm making an RPG and want to make npc ai to navigate the city. I am using polylines for collision detection, and my map is 2D, but oblique styled. I am considering using the A* algorithm to help them ...
1
vote
1answer
24 views

libGDX fileHandle cannot readString()

I have created a text file called "useraccounts.txt". All I want to do is to read the file using the filehandle class but I always get this exception: Exception in thread "LWJGL Application" ...
3
votes
3answers
101 views

What exactly are “tight controls”?

I hear in many game reviews, how gamers complain about the controls of a game, when they hate it, or how they praise them when they work right. This expression comes up: "Tight controls". It seems ...
2
votes
1answer
36 views

Getting the Volume of an Uneven Mesh

Let's say I have a cube, and that cube breaks apart into 100 different unevenly sized pieces. How can I get the volume of each of those pieces compared to the cube's volume? Using this in order to ...
3
votes
1answer
60 views

Unity - Water Cube (to 2D game)

I wonder if you can create a cube of water within the unity! I'm starting to use the Unity, and took a sought as to whether there was already something like this ... but have not found any tutorial ...
1
vote
1answer
57 views

A* Path Finding Loops Forever

For, hours, I've been following these instructions. public PathFinder(IntegralLocation loc, final int dest_x, final int dest_y) { boolean found = false; final List<Node> open = new ...
0
votes
1answer
45 views

Why would this scaling matrix have no effect?

To draw a simple model using the DirectXTk, I'm doing the following. It all works perfectly, draws correct, and so on. Except changing the scaling factor makes NO difference, and I can't figure out ...
-4
votes
0answers
21 views

Rearranging std::multiset Container [on hold]

In my program when I make a change, I want to reorder my set but when I call these two alternative functions I get an iterator not incrementable error. I realised that the problem occurs when I call ...
0
votes
2answers
22 views

How to use pre-made particle effects in Unity5?

I downloaded some particle effects from an asset store but I don't know how to use them in my project. I instantiated them but I can't control their effects and duration/time.
2
votes
0answers
13 views

Strange depth map projection

I'm trying to implement depth-only SSAO and for that, I render a depth map into a texture and pass it to my SSAO shader which then uses it. The problem is that when I try to output the depth map ...
-1
votes
0answers
26 views

Getting size of Unity3D scene (bounding box)

I have following problem. I need to get bounding box of Unity3D scene in order to both making it impossible for character to fall endlessly if he happens to get out of the scene, and to calculate AI. ...
0
votes
1answer
19 views

Problem with ID3D11DeviceContext::CopyResource method - How to properly read a texture CPU-side?

I am trying to make a full copy from a render target texture to a staging one but it seems my data length ends up being only 4 in length instead of 921600 (1280 * 720). Here is my textures ...
3
votes
1answer
54 views

Predictive Collision Detection - Find Time Of Impact

I have a green box at a starting position A. It can move along two paths A to B is linear motion A to C is under the influence of gravity (non-linear) The thin vertical line is a fixed ...
0
votes
0answers
21 views

Create sprite sheet (texture atlas) from video with alpha

What's the best way to make a sprite sheet (texture atlas) from a video? In my case, I have videos of animated character expressions (e.g., smiling, frowning, sad, excited), which I intend to use as ...
2
votes
1answer
621 views

Creating a Static function inside my class to handle small housekeeping tasks

I have used Unity 3D for quite some time, and a lot of my game programming experience originates from using UnityEngine. Writing in XNA, I am setting up a nested list of objects. Each object will be ...
1
vote
1answer
41 views

How to Slice the external Spritesheet programmatically by using C# in Unity

I have a sprite sheet like this: I am using Unity Engine to develope my game. I would like to load this external spritesheet outside and slice it as Grid type programmatically instead of using ...
-2
votes
0answers
35 views

Java - How to implement Graphics into a JFrame [on hold]

Currently I have a class in Java in which I have a JFrame setup. I want to be able to implement Graphics onto the JFrame. How do I do this? My Code as of so far: package com.graphics; import ...
1
vote
3answers
109 views

AI Random Path Genenrating

I would like to make an enemy walk randomly around a map I have made and if the player is in his zone of sight the enemy to change state to attacking/following. So how would I accomplish something ...

15 30 50 per page