All Questions

0
votes
1answer
44 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
23 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 [on hold]

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 [on hold]

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
41 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
34 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
15 views

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

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
30 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
60 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
25 views

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

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 ...
0
votes
1answer
55 views

2d sprite circular hit reaction at point

I'm currently attempting to implement a shield reaction to a projectile and am at a loss of how best to implement it. Currently the colliders are mapped to the outline of the animated sprite on all ...
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 ...
2
votes
2answers
120 views

How to draw the contour of a hexagon area, like in Civ 5

I am trying to achieve to hexagon contour look you find in Civilisation 5: I want to outline the area a unit can move to on a hexagon grid, so far I can get a list of all the tiles a unit can move ...
0
votes
1answer
40 views

Transparency using HLSL in XNA

I currently working on Depth Data on Kinect SDK v1.8 on XNA and I wanna show an Image Inside the Depth view of Human body. the image below is just an example of what I wanna do : ...
0
votes
0answers
19 views

Change a vertices and display corner of a polygon

I'm currently building a level editor for my game and i'm having some trouble on how to change vertices of a polygon. Basicly i searched the web trying to figure out how to update the vertices of a ...
0
votes
1answer
26 views

Editing the components of an instantiated prefab

Is it possible to edit one or more components of an instantiated prefab ? For example if you instantiated five cube prefabs. Is it possible to reference each of the cube prefab and change a value ...
-1
votes
1answer
16 views

Sound plays several times upon collision

Upon collision, my sound effect plays several times. How can I fix this? public Sprite charAlive, charDead; public AudioClip popAudio; void OnCollisionEnter2D (Collision2D col ){ if ...
-1
votes
0answers
20 views

Java rendering to android [on hold]

How can I render a java code in android? I know that Java codes are working under android, but I do not know how to give some fancy visualization to my graphical objects.
0
votes
1answer
34 views

Mecanim animation with displacement and physics (isKinematic)

I have my game 3D wolf models from animator with displacement i.e wolf transform with animation (not in-place). I have added rigid body on models. I am facing following issues while executing them in ...
0
votes
0answers
14 views

Cant Set Image Origin in Table Cell - LibGDX

I am having real issues with my Actors when placed in table cells. I would like to set center Origin to allow me to tween the scale around the center. I am aware that the Table is responsible for ...
2
votes
0answers
19 views

Drag And Drop in libGDX (Target and Source)

I'm trying to put together a drag and drop system in libGDX with the help of DragAndDrop class. I have the typical system in which you can drag something into a box. So far it is working all dough I ...
0
votes
0answers
24 views

Resize gameObject when it has extended a restricted area

So here i have an image will provide a better understanding of my problem. So currently i have some white blocks and within the white blocks i have some cyan bordered boxes. So the current problem i ...
0
votes
0answers
33 views

Sample source code for coordinated group movement. Preferably in c# or java [on hold]

I implemented Astar algorithm from andengine gles2 for path finding in my android RTS game. Now i want to implement group movement. Anyone can point to some sample source code for coordinated group ...
-2
votes
1answer
101 views

Can i buy a license to create a Pokemon game? [on hold]

Is there a way to purchase a license to create a Pokémon game? Would I be able to pay owners or the Pokémon name and creators of concept and whoever has permission to make games a fee to make my own ...
0
votes
1answer
12 views

Images became unavailable and can't even deleted [on hold]

I'm following this tutorial. I noticed when I want to use background.png, it is somehow became unavailable and I can't even delete it. Except for two images, others are fine. If I add same ...
-2
votes
1answer
35 views

Gamepad controlled at c++ [on hold]

i want get control my gamepad (MaxFire G-08XU) with c ++ ?. I need to make a robot can control him with the gamepad. please help-- Thank you.
5
votes
3answers
895 views

How to find path in graph without crossing the walls?

I would like to know how to find path in a graph while having the edges "double-sided". Consider this scenario: I have list of the line segments. These represents "walls" or rather impassable edges ...
0
votes
0answers
21 views

Chat (and other) log writer and analyzer software [on hold]

i am working on mmo type of game using smartfox server. It is extremely important to log all chat messages regardless or filter type or content. My first attempt was to write the log in database (what ...
0
votes
1answer
55 views

Marching cubes leaving holes in the mesh

Hi I'm trying to reproduce GPU Gems 3 chapter 1 (Generating Complex Procedural Terrains Using the GPU) and so far I managed the basics... Now I'm betting some strange output. I started with the ...
0
votes
0answers
27 views

Placement Shader [duplicate]

Do you know what this shader is called, if you can give a link that's even better :) . I am talking about the green outlines on the objects that are selected. That's the shader that I would like to ...
8
votes
6answers
2k views

How do you move a sprite in sub-pixel increments?

Pixels are either on or off. The minimum amount you can move a sprite is a single pixel. So how you make the sprite move slower than 1 pixel per frame? The way I did it was to add the speed to a ...
-3
votes
0answers
46 views

What software or pipeline does Blizzard use to design their games' GUI? [on hold]

A lot of Blizzard games' GUI use metal textures and have animated gloss/speckle effects. Those can be seen in, for example, achievement-unlocked popups in WoW, SC2, and D3. In terms of UI development, ...
1
vote
1answer
73 views

How can I implement a camera like the one in RotMG?

RotMG, an MMO top-down shooter, takes on a unique 2d-3d style, and has an intriguing camera; The game is obviously 3d, not simply isometric, and if you play the game and turn on camera rotation you ...
-2
votes
0answers
19 views

Collisions aren't working Processing [on hold]

im trying to make my proyectiles to collide with my Character [Personaje] But i think my Code isnt working. Here's my code: the problem is in the void checkCollisions(), and void areProyectiles() down ...
1
vote
0answers
21 views

HaxeFlixel, Font gets fuzzy android upscale

I made a simple game for android with a small native resolution (320x480). When text gets upscaled it loses its sharpness. Tried having anti aliasing on and off and both results were fuzzy. The size ...
-1
votes
4answers
114 views

Scripting vs Programming [on hold]

How does using Scripting and calling functions of scripting API differ from programming using C++ in UDK or Unity?in scripting we use the scripting API to interact with the engine and use functions ...
0
votes
1answer
24 views

NGUI Texture Background Font of Sprite

I am new to Game Development and using NGUI plugin free version. There are few sprite images in my game. I made them prefab and instantiated at runtime. then I created NGUI Texture and Made it ...
0
votes
0answers
42 views

What is the best framework for 2d side scrolling game (with physics support like box2d) [closed]

I have previous knowledge in Libgdx since I developed a game in it. So the learning curve will be a bit less. Still, if there is a better platform for side scroller (preferably Java), then I would ...
1
vote
0answers
43 views

Geometry shader: Dynamic output?

I'm currently using a geometry shader to generate grass blades out of single root points that are layed out in a grid. For each root point, I generate a grass blade with, right now, a constant number ...
0
votes
1answer
39 views

Camera stops moving forwards near World-Center

So basically this is a problem I've been having since forever. I implemented a Camera System, it works fine but somewhere around the center (0, 0, 0) of the world it doesn't work. Actually it works, ...
0
votes
0answers
13 views

Rotate image according to mouse's cursor [closed]

The image is rotating but the mouse's cursor location is in the left corner of the image. public void update(GameContainer gc, StateBasedGame sbg, int delta) throws SlickException{ Input input ...
0
votes
0answers
28 views

Very subtle HLSL syntax change causes compliation error

The following HLSL works and compiles: texture2D renderTarget; float h; // declared here sampler GetRenderTarget = sampler_state { texture = <renderTarget>; }; float3 GetHsvFromRgb(float3 ...
1
vote
1answer
51 views

Triangles go missing as Z changes

I'm rendering a height map using shader-based OpenGL (3.3 to be precise). The height map data is from a grayscale bitmap (2D array of bytes). The dimension of the bitmap is 256 x 256. With this data, ...
0
votes
0answers
8 views

Interacting with custom SQLite in UE4

How can I interact with my own SQLite databases in Unreal Engine 4? Can it be done via blueprint and C++ or would it have to be purely C++?
0
votes
0answers
25 views

Dynamic VBO update possibly corrupting data?

I want to draw a line between two vertices. On a mouseclick the vertex data will change and I want to update the line to use the new values. I am using a VBO for this and it looks like the update ...
0
votes
0answers
12 views

Removing extra blank window when adding Jmonkey based sound to Java based game

I'm currently programming a simple run and jump game in java. I'm in the process of implementing sound and I'd like to use Jmonkey's sound because I'd like to eventually switch the whole game over to ...
0
votes
0answers
35 views

Advice for learning a cross-platform 2D game engine [closed]

First, I understand that this question might seem similar to many others from before, or not-constructive, but I have a very specific set of requirements for the answer. Since this is an important ...
0
votes
1answer
33 views

Card game - creating card Listener

I am making a card game where there are 21 cards on hand and 2 options from where user can draw cards to his hand and throw a card from hand. I am new on game development and I'm following the ...

15 30 50 per page