All Questions

1
vote
2answers
57 views

What factors affect the size of ammo limits?

In virtually all shooting games that use ammo, there is also a maximum ammo limit, which often varies between different ammo types. One obvious advantage of using ammo limits is to control the ...
0
votes
0answers
76 views

Best way to develop a Web based RPG game - after some research [on hold]

I've been researching this for a while, and I'm in need of some pointers(:D) the thing is this - I have 3 options in mind: HTML5 + Javascript Java applets(is that still a thing?) unity web player ...
-1
votes
0answers
29 views

C# OpenTK - How to get a Bitmap from a loaded Texture [on hold]

After some searching around, I put this code together: public static Bitmap BMPfromTextureID(int id) { int w, h; GL.BindTexture(TextureTarget.ProxyTexture2D, id); ...
0
votes
0answers
60 views

Problem with Visual Studio 2013 Community [on hold]

Im tearing my hair out with this one Im afraid and am down hours and hours. Firstly I wanted to install VS Community to use with Unity. Im running windows 8.1 pro. But I had trouble installing. Long ...
0
votes
0answers
39 views

Black screen using frame buffer

I'm trying to use frame buffer to add post effects on my game and I've got a problem: My screen is black every time I'm trying to drawn something in. My scene is simple: A static red box on a black ...
1
vote
2answers
49 views

When are Unity scripts actually disabled?

When I disable an active script in unity, will it be disabled then and there, or will it only be disabled at the end of the frame? For example, if I disable a certain script from within a ...
0
votes
0answers
44 views

Trying to bounce a box with a plane using bullet physics

I'm trying to simulate a box that bounces with a plane and I'm beginner with bullet physics. I created a plane (box) and and a box that is falling. The problem is the ball is stalled while colliding ...
0
votes
1answer
22 views

Why does my libgdx app just display the badlogic.jpg instead of my start screen?

I have been looking at example libgdx games. It looks like https://github.com/libgdx/libgdx-demo-cuboc is the closest thing to a game I would like to make. I am able to download, compile and execute ...
0
votes
0answers
17 views

2D sprite tools which give coordinate mappings of each sprite pixel [on hold]

I am trying to build a mapping of any 2D sprite, such that the player can hover over various portions of the body, and a textbox pops up with the given part name, like so: I'm looking for a sprite ...
0
votes
1answer
44 views

2D Hitboxing on an HTML image [duplicate]

I want to make a turn-based game where the player is given "opportunities for attack." An image of the in-game sprite character appears when it's the player's turn to attack. The player can mouseover ...
0
votes
0answers
5 views

Spriter: add object across whole animation?

In Spriter, I have a semi-complete animation that I want to add a sprite on top. However, when I add a sprite, it only stays for one keyframe, then disappears. If I try to copy and paste it to all the ...
0
votes
1answer
24 views

LibGDX Bounding Rectangles

I'm creating some rectangles surrounding my sprites for my player and bullet class to detect collisions with the overlaps method in Intersector class of LibGDX. I have a question: When I instantiate ...
2
votes
1answer
66 views

How should a Unity object control it's state?

I've been using Unity's component based design, and the biggest problem I've faced is how to control an object's( not component's ) state. The problem is, some components must act differently based ...
0
votes
0answers
20 views

How do you use Lua with several game objects / components?

I haven't found a lot of information / tutorials on this subject, so I figured I'd ask here. I would like to use Lua-Alchemy (the Flash port of Lua) to be able to load scripts and run console-like ...
3
votes
1answer
274 views

I want to render some surfaces in GLSL with normal maps, and some without

I have normal mapping working in my game, but I want to only use normal mapping for some surfaces, and not others. Right now, as far as I can tell, my shader is applying an incorrect normal of (0, 0, ...
0
votes
0answers
14 views

libgdx y axis rotation (card flip)

I am a complete new user to libgdx and am looking to use it to write a simple card game. I want to be able to flip my cards over to reveal them, in the same way as this example from Google shows. ...
0
votes
0answers
12 views

Creating Free Sound Effects and Musics [on hold]

I want to develop games (platform is not related with the question) I need some free software which let me create my own music and use it wherever I want. The software doesn't have to be completely ...
0
votes
0answers
11 views

Using fonts in Scene2D GUI

I'm learning how to use Box2D and Scene2D together. I'm trying to create a Sprite class that combines a Box2D body with a Scene2D actor. Before I can do this I need to set up the environment I plan to ...
0
votes
1answer
32 views

Cocos2dx - Physics - Abort() When Changing Dynamic PhysicBody to Static?

I just learned cocos2dx v3.3 integrated chipmunk physics engine. Here ,as you see, I create a simple circle with physic as: auto sprite = Sprite::create("circle.png"); auto body = ...
0
votes
0answers
37 views

Make a smooth curved terrain from chain shape [on hold]

what have i tried: Vector2[] vs = new Vector2[6]; vs[0] = (new Vector2(-50, 7.3f)); vs[1] = (new Vector2(-18, 7.3f)); vs[2] = (new Vector2(-10, 2)); vs[3] = (new Vector2(-5, 4)); vs[4] = (new ...
0
votes
0answers
32 views

Simplest game publishing process for individual developer? [closed]

I am close to finish developing and testing my first game, and starting to learn the process to publish it. In my preliminary plan, the publishing process for, say an iOS game, can be as simple as: ...
0
votes
0answers
28 views

Update DirectX 11 Texture Created in Unity Asynchronously in the Native (c++) Plugin

Sorry for the long question :D tl;dr version :) Is it possible to update DirectX 11 textures created in Unity asynchronously in a native plugin (C++)? I've written a plugin that retrieves data from ...
0
votes
0answers
32 views

Minecraft, outgoing food packet [closed]

Hello I am wondering where minecraft 1.8 sends the packet to the server when you eat food. I can't find it in any of the packet classes. I know food and health is handled serversided but the client ...
0
votes
1answer
49 views

What is the correct way to authenticate a player with password from Unity to a php api server?

So, I have a game in Unity for mobiles that gives you the possibility to sign-up with username, email and password to unlock extra features. The datas are sent, through a POST request, to a PHP+MYSQL ...
0
votes
2answers
72 views

How to hit an enemy, or “how do entities interact with each other?”

The title might be a tad simple for the purpose, but bear with me. I'm a tad lost about how to do the interaction between game objects. I use an entity-component-system framework and I've got the ...
0
votes
2answers
77 views

Efficient fog-of-war visibility searching

Every game I look into that uses fog of war tends to have the AI ignore fog of war completely. I'm starting to see why. I have a RTS game I'm working on, with lots of units moving around. All units ...
0
votes
1answer
37 views

How to apply two pixel shaders in one go

Is there any possible way to apply two pixel shader simultaneously in directx-9. For example I am having two pixel shaders one to apply ripple effect and another to modify the color of the texture ...
0
votes
2answers
36 views

StartCoroutine function inside TriggerOnEnter2D not working - unity + kinect

So i'm using Kinect with unity to track user's hand movements, and let the user's hand act as a mouse, I have written the code to detect a collision between a button (sprite object) and the hand ...
0
votes
2answers
31 views

How to access bottom canvas layer in HTML?

I have such html: <div id="main_window"> <canvas id="canvas_hex_logic" width="200" height="100"></canvas> <canvas id="canvas_ground" width="200" height="100"></canvas> ...
2
votes
3answers
171 views

How to avoid duplication using client-server model

I am using a client-server model to write a multiplayer-capable game (in Java). Currently the clients and the server are using the same code to run the game logic, in order to enable client-side ...
-1
votes
1answer
63 views

Game Lag due to so many vertices and edges in Unity free version [closed]

Actually, I'm new to Unity and I'm making a car racing Game. Now, I'm stuck at some point. My Problem is:- When i run my game into phone, It stuck badly and reason is--- Whenever there will be ...
0
votes
1answer
47 views

What method is best to display respawn times? [on hold]

I'm currently working on multiplayer game and am trying to work out how to display respawn times. I had a few ideas in mind, taking inspiration from other games I've played before. Text Based ...
0
votes
1answer
23 views

box2d ChainShape into curved line

i need to draw a curved line , i searched the internet and found nothing , maybe someone with knowlegde on the subject can help me with a link , i used chain shape and did this , and i don't know ...
1
vote
2answers
86 views

Framerate dependent movement

I'm moving my character controller using Euler integration like this: Vector3 originalPos = transform.position; Vector3 acceleration = Physics.gravity; velocity += acceleration * Time.deltaTime; ...
0
votes
1answer
58 views

Given seams, how do I unfold a mesh?

If a user marks a seam on a mesh, how do 3D modelling programs (like Blender or Maya) unfold the mesh on to a 2D surface? I can only find papers trying to automate the seaming for you. Given ...
1
vote
1answer
41 views

How can I fix user input for this pong paddle?

I have been having trouble with my pong paddle - It responds to user input as if it was typing. Sometimes, people try to react to KeyPressed events directly to implement smooth movement. Doing so ...
0
votes
1answer
46 views

Should I design UI in raster or in vector editing software? [on hold]

I am working on a IOS city builder game (more like planet builder) but that's not the case, I was making the buttons in photoshop when something hit me: "if I make raster icons in photoshop, they will ...
0
votes
0answers
25 views

Problem with changing font color in libgdx

I recently noticed that my version of libgdx was way out of date, so I updated from version .9.something to 1.4.1. I copied files for the project I'm working on over into a new project generated with ...
0
votes
0answers
8 views

How To Make Buff Alerts In GameMaker [closed]

I don't know if any of you recall the effect in games where you get a powerup (lifeup, etc.), and an icon (lets say a heart) appears, and grows while fading. I would like to implement this in my game, ...
0
votes
0answers
6 views

Microphone Input Playback (Fmod Studio API)

I got my microphone input working fine in my custom engine. I am getting all the levels, dominant frequency data i need from the microphone. The issue is i'm still hearing microphone playback. I tried ...
0
votes
1answer
32 views

Class design for a risk-like game [closed]

I'm currently coding a AI for a risk-like game, but I'm not sure how I put even the base classes together. I've read a lot about game design patterns, entity component designs and such, but I've ...
1
vote
0answers
42 views

Interpolating colors to greenify or blueify a screen fade

I am attempting to duplicate something from a game where the screen basically fades to a color by 'green-ifying' or 'blue-ifiying' the screen. My guess is that it does a linear color interpolation ...
0
votes
1answer
37 views

How do I cut off the edge of an image in a 2D JavaScript Array?

OK, I am trying to make a game that is a little bit like SimTower but utilizing HTML5 (particularly the canvas element) and JavaScript with a little CSS. I have ran into a couple of little problems ...
0
votes
0answers
18 views

How to play mod/tracker music (muzak) in android game loop? [closed]

Is any library out there to play mod-music in android games/demos? By mod-music I mean that one made in trackers, so I can "sync" the images/movements of the game back and forth with the music. So I ...
1
vote
2answers
32 views

Dynamic Flow Control in HLSL with Array References

I'm trying to do lighting calculations for an array of point lights in HLSL. I simply want to pass light direction vectors from the vertex shader to the pixel shader. Here is sample code: static ...
0
votes
2answers
62 views

Game Background graphics blurred edges?

Why when using this code for the background for my game do I receive blocks with blurred edges? public final class State_Play extends State_Template { private BufferedImage background; ...
-1
votes
0answers
31 views

libgdx or unity for 2d game running on smartphones [closed]

I'd like to make a 2d game such as an arcade game like pac man who will be running on ios, android, blackberry and windows phone devices. To do this, I need a game engine, but I'm puzzled between two ...
1
vote
2answers
109 views

How can I implement a futuristic “barrier field” that reacts to hits?

I want to implement a "shield" that reacts to projectile hits. Currently, my colliders are mapped to the animated sprite's outline on all frames. I'm looking for something like the image below. For ...
0
votes
0answers
21 views

Connecting lines from edge to edge of a gameObject Unity

I am trying to get the world position of a gameObject edge so to connect one edge to another edge with a lineRenderer component just like shown in the image below. I ran this script I found online to ...
0
votes
0answers
22 views

Drag object on the XZ plane

I wrote a script to drag an object on the XZ plane. It works good when the object is close to the camera's position. So here is the code: using UnityEngine; using System.Collections; public class ...

15 30 50 per page