0
votes
0answers
2 views

OpenGL segfault in DrawElements

I've asked this question on regular StackOverflow but without much success yet. The below program produces a segfault on the call to glDrawElements. I've looked at my max and min index values and they ...
0
votes
0answers
17 views

What 3D file format should I implement that can be exported from Blender, isn't terribly difficult to parse, is fast, and supports animations? [on hold]

For a "fun" side project, I'm implementing a game engine in Go and would like to add animated 3D models. I've been very much focusing on other technical aspects of the engine, so right now models are ...
0
votes
0answers
13 views

crafting system [on hold]

I'm interested in creating a crafting system but have no idea where to start. So far I have an Item class with different items inheriting from the main item parameters. I was thinking about creating ...
1
vote
1answer
12 views

What's the point of [HiddenInInspector] (as opposite to [NonSerialized])?

I understand the difference between [HiddenInInspector] and [NonSerialized], what I'm missing is the use case for [HiddenInInspector]: so far every time I've encountered it, it was used by developers ...
0
votes
0answers
17 views

Artemis framework: calling a system from within a system [on hold]

I am trying to implement collision, so I have a system that process all entities that can collide with things. The problem is that I also want to call all entities that I can collide with and are ...
0
votes
1answer
33 views

Huge delay in a client/server

I'm working on my java game with Libgdx and i'm having some trouble with the online part. I can create a server, make multiple client connect on it but there is a huge delay between the player input ...
1
vote
2answers
39 views

How do I ensure my skybox is always in the background, with OpenGL?

I created a skybox in OpenGL (through LWJGL), but the only way I found to render it behind all objects was to make it very big. This leads to ugly edges between the 6 skybox planes. Optimally, I ...
0
votes
1answer
34 views

Weird inheritance hierarchy?

In my RPG, all Food objects should be possible weapons. For instance, I want the player to be able to to try kill bunnies with a cherry or a watermelon. The problem is that the easiest way to do this ...
0
votes
0answers
6 views

Blender GameKit problem under Ubuntu 14.04 [on hold]

Whenever I try to start the game GameKit (addon) raises the following errors: I have configured the temporary directory in the User preferences, I changed the permissions on working folders but ...
0
votes
2answers
88 views

How common is arachnophobia among gamers?

I am currently designing a spider as a monster for my game. During my research I found that there seems to be a surprisingly large amount of players who suffer from extreme arachnophobia and get panic ...
0
votes
0answers
9 views

LibGDX Box2D TileGame Efficiency

I am trying to implement Box2D into my top down tile game in LibGDX. Each world consists of a set of chunks, and each chunk is 16 tiles wide/long. The maximum/minimum chunks loaded at one time is 9 (a ...
0
votes
1answer
46 views

New to OpenGL , having trouble understanding matrix transformation

I have modest experience of developing games with sdl , libgdx , unity etc. But never got into learning any low level API. So I thought about learning OpenGL and got started with tutorials provided by ...
0
votes
0answers
20 views

Directx fbx loader

I am trying to build a game with animation in c++ with DirectX. I have some fbx files with animation that I want to integrate in my game. But I do not want to draw the fbx files as a FbxScene or ...
0
votes
1answer
34 views

How to properly change resolution

I'm trying to understand how LibGDX handles screen size / resolution, etc. Coming from XNA this seems very confusing to me. Basically I want to support 480x800 for my game. If the screen size is ...
0
votes
0answers
15 views

Is it possible to make such product as “Age of Zombies” using cocos2d? [on hold]

Is it possible to make such easy rpg product like "Age of Zombies" using cocos2d? I see some tutorials (http://www.raywenderlich.com/39113/cocos2d-x-tile-map-tutorial-part-1) but I guess, that it will ...
-2
votes
1answer
47 views

Is there a way to retain a service on android even after the game is uninstalled ..?

I am designing a game which has a service to send user stats to a server ... I want that service to stay and work on the device even when the user uninstalls the game .
0
votes
1answer
25 views

Diffuse Maps and DirectX

How would I load two diffuse maps onto one mesh. I have a mesh with multiple sub meshes but each one of those sub meshes has a vertex buffer and I don't think that's very efficient. How could I have ...
1
vote
2answers
54 views

Trying to better understand Unity gameobjects

New to Unity, but develop in C# normally. I can't seem to get how / why / where to grab certain elements. For simplicity, I have a top-level game object, say a cube. I add a sphere to the scene as ...
1
vote
2answers
57 views

How to create Whirlpool/Vortex effect?

Im trying to make a Vortex effect on a Circle Body that is a Sensor. I've been looking for this and all examples i look for are in C++ or Objective C and i dont seem to translate them well. when my ...
0
votes
2answers
55 views

How could I host my multiplayer servers?

I have a question. How could I host my multi player game? To be more descriptive, I am developing a 2D online game. I want there to be a server list, where the player can see all of the currently ...
1
vote
0answers
35 views

Voxel engine/vertexes: how to add more and more different textures during game runtime and change some of the blocks' faces?

It's difficult to ask this, but I'll try. The thing is: I asked before somethings about creating ramps and blocks with vertexes. [I'm using C#/XNA.] Explanation: now I got a chunk that has blocks ...
0
votes
0answers
8 views

pygame.display.update(list) updates entire screen, not just rectangles in list

I have two "sprites", one following the mouse and one that moves with WASD. They aren't really pygame.sprite.Sprite objects, but they move like this: Paint over original position with that piece of ...
0
votes
0answers
19 views

How to take a screenshot with java from directX

I'm looking for a way to take a screenshot with a Java application of any running directX game. I use the following code Robot robot = new Robot(); GraphicsConfiguration config = ...
-3
votes
0answers
29 views

What's happened with Panda3D project? [on hold]

Maybe the question is not correct but I can't not ask. Some time ago I've found exiting game engine, which core was in C++ so it was fast and which functions I could call from python so it was very ...
3
votes
1answer
103 views

Is it a bad idea to couple action and animation?

I'm making an ARPG (like Legend of Zelda but with more action), and this question raised during the development: Should action and animation be coupled? Or should they be independent? With this I ...
0
votes
0answers
24 views

Implementing a group formation behavior

I am trying to implement a group formation behavior where all the units in my group follow a leader and maintain their position throughout. So far I am able to move them, rotate and follow the leader. ...
0
votes
1answer
56 views

How to handle game objects in DirectX

Coming from XNA, I would use the content pipeline and create XML files for game objects. However, if I changed something in the XML, I would need to do a rebuild of the project so it will create the ...
1
vote
2answers
47 views

A Star pathfinding algorithm, multiple node set optimization

I'm trying to determine if this is an optimization I should pursue or if this is way to complicated to be worth my time. I've successfully implemented the A Star Algorithm for my video game. I used ...
1
vote
0answers
15 views

Direct X 11 2D Books/Resources [on hold]

I would like to learn Direct X 11 (coming from XNA) but I cannot find any good resources. All the resources I found either focus exclusively on 3D, or use so many third-party solutions it does not ...
3
votes
1answer
81 views

How to specify colour in a single 32 bit value

I'm writing my first game using OpenGL 2 ES (for Android), and I've currently got a particle engine and some player sprites running successfully. I'm using 4 floats for the colour of each particle ...
0
votes
1answer
55 views

Are there any advantages to different programming paradigms specifically releated to game programming? [on hold]

I have been researching three different programming paradigms namely procedural, object oriented and functional. So far I have been able to find a lot of good information regarding general differences ...
1
vote
1answer
61 views

Save a mouse coorinates after a specific number of seconds

I have a specific method that saves my mouse x and y coordinates. I want that mouse coordinates be saved by specific time (for example after 1000ms). How I need to do that in Java? Please add a simple ...
-1
votes
2answers
47 views

Word for a relationship specifying that 2 objects don't affect each other

I am aiming to create an Enum for a terrain_surface_layer.type property. The 3 types of terrain_surface layers I wish to implement are the following: Single - only a single type of terrain_surface ...
2
votes
1answer
226 views

Handling game-state updates in an MMO while the player is logged out

I have a plan to build MMO strategy game like Goodgame Empire or Travian for windows phone. I want program it in C# Monogame (because I have some good experiance with it). But I still can't figure ...
4
votes
1answer
65 views

Large 2D Arrays Causing Garbage Collection

I've been working on a game in Java that, for this post's sake, looks like Terraria and has random world generation. I've been using Vectors to contain my tile/block objects, but recently due to the ...
0
votes
1answer
66 views

More vertices vs more textures

I'm currently working on a dynamic 'door' creator, and I'm trying to decide which is more efficient. Not much experience with 3D render speeds, so I'm asking before I choose which direction to go ...
0
votes
0answers
43 views

What is GPU bandwidth?

Does it refer to the bandwidth between the RAM, Northbridge and GPU, or internal bandwidth within the GPU? How much data is it possible to send to the GPU in a single frame?
0
votes
1answer
27 views

Can't go above max speed with RigidBody2D.AddForce()

I'm having trouble making a character move faster than a certain limit using RigidBody2D.AddForce(). My game is a top-down 2D game (constrained to the x/y plane). I'm using a float 'MovementSpeed' to ...
3
votes
2answers
87 views

Lerping character moving up and down slope tiles

So, when interpolating position against a standard 'horizontal' platform, everything works great. What happens is something like this..... (Question continues after graphic) Now, the question I ...
-1
votes
1answer
24 views

Finding and reading a script on a mouse-selected GameObject

I can't work out how to access and read changes in a script of a gameObject that has been selected. The script selects enemy objects with right mouse button and player objects with left mouse button. ...
2
votes
1answer
54 views

Colision detection of disc (Maximum Material Condition aka “Flatness”)

I have a 3D-laser scanner which gives me a series of points of a real-world object. The points are related by a common origin. I know I can derive the equation of a plane from 3 points and that the ...
-1
votes
0answers
53 views

What makes a game jam worth participating in? [on hold]

I'm looking to start my own game jam competition which would encourage people to actually finish a game (I've read a lot of game devs often procrastinate, or never finish a game because they have ...
1
vote
0answers
23 views

Scripting Documentation

I'm working in a game which will support scripting. I have seen that popular games supporting this feature usually ends up setting up a wiki from where one can obtain information about how to script ...
1
vote
0answers
17 views

Phaser / PIXI: World size vs. Stage size

I am using Phaser to build a "zoomable / pannable" 2D galaxy with the intended functionality being that the player's home planet is always in the middle of the World coordinates. I have a problem ...
3
votes
1answer
25 views

Weird texture binding bug on Mali-400 MP

On Mali-400 MP, there's a weird bug with texture binding. Sometimes, shaders use textures from wrong samplers. On other mobile and desktop GPUs, the same code works fine, but on Mali, almost every ...
2
votes
0answers
29 views

Copy a folder in Assets/Resources folder programatically depending upon a constant

I have a Unity3d project in which I have 200 games and some 350 scenes. Now I want to make separate builds for each game. All my assets are present in Assets/IgnoredAssets/ABC folder. To include these ...
1
vote
0answers
74 views

How to properly do top-down aRPG melee attacks?

I'm reposting this from my own thread in reddit's gamedev community, since there were too few responses: I've been looking for some info on that, but I mostly find articles on the design of such ...
1
vote
1answer
30 views

How to sync gamestate between server and clients in turn based 4x game?

Background information: I am developing a game similar to other 4x games like Sots, MoO,... I am storing all information about the game(like star/planet/ship/fleet positions, owners and a lot of ...
-1
votes
1answer
31 views

Recording time since last collision

I am trying to record time since the last collision happened.But this is not working as I expect it to. So, numberLimitOfCollision is equal to 0 only in the begining, Basically, what I am trying to ...
0
votes
3answers
89 views

How do game servers / clients handle data?

How do servers handle data? I understand the concept of the client sending the player pos and then the server sending back the area to display and also sending other player positions and such. But ...

15 30 50 per page