A set of rules that govern an in-game experience. Game design is an effort to come up with game mechanics that allow for players to have a fun and engaging experience.

learn more… | top users | synonyms

1
vote
2answers
65 views

How to randomly spawn obstacles for infinite runner?

I am trying to create randomly generated path properly? Think of flappy bird (its not really) but my code/algorithm is all wrong. If I make BarMax, BarMin too large, then player can cheat cos in ...
1
vote
2answers
250 views

Create a continuous flight path on a Bezier Curve in Unity3d

I am working on a game in which a butterfly is flying along some path. What I am trying to do currently is create a Bezier curve starting from the butterfly's position(previous curves end point) and ...
0
votes
2answers
167 views

How to make a gameobject Scale up from another GameObject script

hi there im having a rought time with this code, trying to make a gameobject grow in scale from touching this one, and when a set amount of scale is reached destroy this game object ( the one who ...
4
votes
1answer
297 views

Letting the user draw a Polygon Body and Image

In my game, I want to provide the user with a drawing feature. By free hand drawing, the user creates a polygon shape. Then, in my game implementation, I have to create a body for the found vertices ...
0
votes
1answer
46 views

Restricting my horizontal slash attack

I've been working on making this slash attack for my character in the unity engine. The whole point to this script is to put the damage range in sync with the slashing animation. The slash is ...
0
votes
1answer
104 views

Moving CCNode with constant speed in cocos2d

I want to move the object (CCNODE) with constant speed in any direction , what i have did till now is applied a force to object at start to get it moving and set elasticity as 1 and friction as 0 to ...
-1
votes
1answer
168 views

Get stick analogue XY position using Jinput in lwjgl

I want to capture the movement of the analogue stick of the gamePad. is there any equivalent function to this? public void mouseMoved(MouseEvent mouseEvent) { mouseEvent.getX(); //return the X ...
-4
votes
1answer
214 views

How Do Game Timers Work?

I don't understand the whole game timer things, I know XNA comes with one but im realying on VSync to do the work rather then a game timer. I know what they are It's just can someone show me of a ...
1
vote
0answers
175 views

LibGdx Triangle Collision

I'm back with another question. I'm trying to get a collision between an actor and a sprite. With the actor, which only moves upwards and downwards, I've got no problem since it's shape is a ...
1
vote
0answers
141 views

LibGDX polygon caching

I am developing an Android game using LibGDX and I have big world map made of polygons. I use PolygonSprite and PolygonSpriteBatch, when I render map, I get 30-35fps and it feels laggy. I wonder if ...
0
votes
0answers
68 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
32 views

SharpDX draw 3Dmodels?

Hi i have resently started game development just to expand my programming skill from systemdevelopment. And i gave sharpDX a go, i like how the frameworks are built sinse they resemble xna. My issue ...
-1
votes
0answers
16 views

iOS app Swing Copters game movement when tapped

I love the movement the game Swing Copters uses for it's game. You need to constantly tap the screen in order for the swing copter to stay as close to the middle of the screen as possible, if you ...