Game Design is the creation and balancing of game systems and mechanics. Not for programming questions about "design" of features, engines, etc. Not for visual design questions about the looks of assets.

learn more… | top users | synonyms (1)

1
vote
5answers
567 views

Collision with 2 of the same objects

I'm looking to make a button that is activated by two of the same objects, but the code I'm using doesn't recognize the second object as a different instance. Not the best explanation but here's the ...
0
votes
3answers
71 views

How To generate spiky terrain in 2D?

I am learning game design, and wanted to know how one can automatically generate spiky terrain (something like this: Cavernaut, notice, the terrain at the sides?). I have heard about midpoint ...
3
votes
2answers
118 views

Scripting: to block or not to block

Context: I'm making a little "program your robot army" sort of game in Java in which the player writes Lua scripts (which are then run by LuaJ) to program their robots to do stuff. So far there are ...
1
vote
1answer
66 views

Java Slick2d lighting using Raycasting

I am trying to make a top down view game in java using the Slick2d library, for lighting I wanted to do something like this : http://www.redblobgames.com/articles/visibility/. I was wondering if there ...
1
vote
1answer
149 views

Modularization in a project

I'm writing a C# game in Mono, and I want the game to be as modular as possible. I've started by writing the whole Item (inventory) System of the game in a seperate .dll library But I've hit a ...
0
votes
1answer
26 views

Libgdx: more efficient way of using Vector 3?

I currently use if(cam.frustum.pointInFrustum(new Vector3((float)posX, (float)posY, 0))) To check if my sprite is in the camera's view. I have to make a new Vector3 every frame wich is very ...
-1
votes
1answer
171 views

How to use custom font in Phaser ?

I am trying to load webfont in Phaser, I have seen the Phaser example but I cant understand, what asset do I need,what function I have to call....,what exactly look like the javascript file?. I am new ...
2
votes
0answers
71 views

Conceptual question regarding Belief-Desire-Intent agent

I've been researching the Belief-Desire-Intent model and the way they used it in the original Black and White Game(which is the same, but they also defined decision trees as opinions). I have a ...
1
vote
0answers
31 views

SignalR Monogame Lag

I'm creating a C# multiplayer game in Monogame using SignalR to update the enemy players positions. This is my proxy.invoke: proxy.Invoke("UpdateEnemy", LocalShip.Position, ...
1
vote
0answers
59 views

Selecting Dictionary item based on custom classes instead of keys

I am attempting to write my own path finding code for a game I'm working on that will implement a form of the A* algorithm. I store my nodes of the path finding system as a class called nodes and add ...
1
vote
0answers
87 views

Bold black bar on right side of game in Unity (Android)

I am trying to create an endless runner. I have already created a system to generate infinite backgrounds from an array of some. However, on running the game, I get huge black bar on the right side of ...
1
vote
0answers
29 views

How can I stream only the visible layer of objects?

So I've ported a terrain generator to SA:MP (a GTA:SA mod that connects you to players around the world). The terrain is generated perfectly, after only a few hours of scripting. I was surprised how ...
1
vote
0answers
20 views

Unity PhotonView - Ownership problems when synching objects

Im creating a billard game where one white ball will be controlled by two online players. I have set my object photonview to ownership takeover: https://www.dropbox.com/s/kq79lfh4clerx7q/no.jpg?dl=0 ...
1
vote
0answers
140 views

Unity Photon Networking - Cant understand OnPhotonSerializeView

in all tutorials I see that an object sends data over the network and receives the data for sync in the same method: Code (csharp): void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo ...
1
vote
0answers
36 views

Java (libGDX) - Inheritance problems

I'm having some issues with inheritance for one of my libGDX projects, I'm making a game similar to (very stripped down) Terraria or Starbound and I am using the TiledMap to load the world, ...
1
vote
0answers
27 views

Create ROI tools for analysis

I want to create some ROI tools on my game for personal analysis. Let's say that I have 3 different level of special powers with a recursive cost and certain bonus. So, I want to see when certain ...
1
vote
0answers
59 views

Security-minded design patterns / paradigm for client/server application

I am working on a client/server application and am starting to take it from proof-of-concept to actual implementation. The client is an Android application and the server is in PHP. In similar ...
1
vote
0answers
73 views

Editing sprite shading to change perspective?

I'm currently developing an RPG in Java with some of my friends, and one of my tasks is to do the pixel art. I'm a beginner at it, but I know that I'll get better in time. I recently finished the ...
0
votes
0answers
7 views

Slick2D Simple StateBasedGame not working

I recently started trying to work with outside Java libraries like Slick2D. This is my first time doing so, so I basically have no clue what I am doing. I tried making a simple StateBasedGame that ...
0
votes
0answers
21 views

Java - Component Based Architecture applied to Entities

I've recently been getting my game a lot more of functions for the entities: growing, IA, colours depending of season, position, magic, teleportation an d a lot more. The problem was that for ...
0
votes
0answers
24 views

Do I restart the service?

I have a long running service in my game, that consists of two threads. //MY SERVICE: if(userEnabledProcessOne) //Shared preference value that I'm getting from the settings of my app based on a ...
0
votes
0answers
34 views

Create a new layout?

After the user gets to a certain score in my game, I wan't to display a medal next to the users name. Doing this pro grammatically will make the image disappear after the user leaves the app. How can ...
0
votes
0answers
21 views

Different layouts?

I have had trouble in the past with optimizing my game for different layouts, so that the players don't see the game in different ways on different screens. Someone told me that the normal directory ...
0
votes
0answers
25 views

How to get the absolute position of the sprite in the renderview regardless of the pos of PIXI.Container?

I implementing panning on an infinite platforming game I developing but this is messing up with my current setup and structure of the game world (collisions, player location, etc.). Though I figured ...
0
votes
0answers
37 views

Can I do Sound Mapping in unreal Engine 4?

I am currently a student trying to build a game for my final year project and I am wondering about a few things when it comes to sound in unreal 4 Is it possible to have sound map out the outlines of ...
0
votes
0answers
54 views

Predict ball movement after Collision in Pool Game?

Im trying to draw lines that predict the movement after the colliosn of 2 balls in a pool game. How do I do that? I heard it can be done via Raycasts, but how do I draw a line? Any tutorials, ...
0
votes
0answers
133 views

Quest/Dialog Tree XML template

I'm looking for a good XML template, so I can create my quests/dialogs easily. It should be something which permits: multi-staged quest/dialogs with branching. ask user for some choice, to traverse ...
0
votes
0answers
24 views

Flash Icons do not show up with Android Lollipop

I am working on a few games based in Adobe Flash, and the Air Runtime. In Android KitKat and below, when doing local tests on devices,everything was perfectly fine. However, upon upgrading a testing ...
0
votes
0answers
116 views

Finding mathematical formula for balancing items

We are working on a game that is glorified rock-paper-scissors. You can play prototype here: http://duelgame.tryadgames.com/ Here is expaneded version with better balance of numbers (at least I ...
0
votes
0answers
180 views

Insert 3d text to the front face of a cube GameObject

I want to add a text to a cube in Unity. I have a cube which has a 3d text as a child. I am using the below javascript to write on the 3d text: #pragma strict function Start () { } var countdown : ...
0
votes
0answers
99 views

Google Developer Console Error message

i received my first crash report of on Google Developer Console yesterday and im completely lost. Did anyone receive this error before and how can i go about fixing it? Any help would be greatly ...