0
votes
0answers
2 views

Sever Structure for a Turn Based Game (Chess)

I am working on a Turn-based Game (Chess) I have done the client part and single player mode so AI is no problem here. But the only problem is now I want to make my project multiplayer. I have done ...
0
votes
0answers
8 views

What's this sound effect called [Usually associated with swords in anime]

I've been looking for a particular sound effect which seems to be associated mostly with swords. I can't figure out what to call it, I can find only clanks, swings and flashes but have no luck with ...
0
votes
0answers
14 views

Game object position issue in unity3d

I have a set of objects placed on the same layer where all the objects are invisible except one .When i drag an object in to a selected area the current dragged object get destroyed and the object ...
0
votes
0answers
15 views

Unusure if my vert lit + vert colored shader is working as efficiently as I'm hoping

(This question is a follow-up from another question where I found the answer myself) While the shader appears to be working exactly as intended, I'm concerned that it might be doing something ...
0
votes
1answer
21 views

Can't consistently add to TimeSpan for Unity Game

I'm making a game that has a timer showing how long the player has survived from being crushed by pessimism. (Long story) I'm trying to use TimeSpan in Unity to accomplish this but it seems that I'm ...
0
votes
0answers
16 views

Trying to find/create a shader for vertex coloring + vertex lighting without a diffuse texture

I've been unsuccessfully trying to find or create a (Unity compatible) shader to get the look of https://www.youtube.com/watch?v=AvT8SdZ5zf8&t=1m40s (also written in Unity). Note that the light ...
0
votes
2answers
27 views

Switching a project written in Lua to a compiled language

I am experimenting with game development in Lua using the Love2D framework, and while it works fine, I am getting tired of using a dynamic scripting language. I would like to have better performance, ...
0
votes
0answers
11 views

Stats for testing a renderer

I've been writing an OpenGL renderer as a learning process for the past few weeks. Now I wanted to test my renderer against some known numbers, for instance: How many vertices/tris should it be able ...
0
votes
0answers
9 views

Different kinds of collision detection in Android

Are there any other ways to detect collision between two objects besides the bounding rectangle method and downloading another class to put into Android?
0
votes
1answer
25 views

Quaternion rotation, translation, scale or 4x3/4x4 matrices for Skeletons?

I have a question here, I'm still very new to this xD I'm modding a game that uses 4x3 and 4x4 matrices to make skeletons, but I saw that an skeleton can also be made with a quaternian rotation and ...
0
votes
0answers
14 views

Barycentric vertex coordinates in GLES 2.0

I have a certain set of polygons, which are stored in a vertex buffer and an index buffer. The polygons are textureless and normalless. The polygons are dynamic, their buffers get constantly emptied ...
0
votes
1answer
37 views

When do you give in-game advice?

I'm interested in the process of automatically generating advice when a player is consistently struggling through parts of a game. Suppose I already know what advice I want to generate (e.g., "Press ...
0
votes
1answer
21 views

Object reference not set to instance of an object Unity3D c#

public class player { public projectile pro; pro = GetComponent<projectile>(); void Update() { GameObject go = GameObject.Find("enemy"); Transform ...
0
votes
0answers
19 views

Ping Poing and blending

I have to render a scene, once per light, and blend the result of the various passes. I heard and read that one way to increase performances and Render Targets to use would be Ping Poing. Since I am ...
0
votes
1answer
19 views

Proper way for Player object to communicate with Map object?

I'm writing my first game (in javascript / node over websockets) and am running into a bit of chicken and egg problem, and am afraid how I'm doing it right now won't scale once the game gets more ...
0
votes
1answer
61 views

from where i should start with 3D games?

I'm an android developer, I made several apps, but now I want to make games, 3D ones I want the game to be easily portable windows , etc. I've considered Java 3D library but it seems like its the ...
0
votes
0answers
23 views

DirectX UV coordinates are flipped

I'm loading a simple model, which is composed of vertices that have position, normal and UV texture coordinates. The thing is, displaying that model using DirectX 9 or 10 shows that the UV ...
0
votes
1answer
23 views

C# - Monogame- Collision Detection Sprite walking through platforms

I am blanking on the logic here. How do I get it so that my sprite doesn't run through a block. It only repels if the center of the player sprite is higher than the bottom of the block. But when it ...
0
votes
1answer
56 views

Press multiple switches to unlock the door

I made 2 scripts, one that is a switcher and one that checks if object is switched (Switch, SwitchCheck). Switch script (it's on 2 objects that are switches and both objects have colliders with ...
0
votes
0answers
30 views

How to create normal map from bump map in runtime?

I am using this port of libnoise to generate noise. There are several methods (Noise2D.cs, 462 and 494 line) to output images. Second one, that should give me normal map does not work completely, it ...
0
votes
1answer
28 views

Getting Target position at the time of shooting

I have a bullet that has to hit a constantly moving enemy. So, in BulletScript, I have declared a Transform public Transform enemy; //and assigned enemy object to it that is ...
1
vote
0answers
14 views

Unity WheelJoint2D will not rotate when increasing motor speed

I have a wheel joint 2D attached to a game object in Unity: In its associated wheel script I am increasing the motor speed as described in the tutorial. public class Wheel : MonoBehaviour { ...
2
votes
0answers
39 views

DX 11 Specular Highlights in Deferred Renderer

I am currently implementing a deferred renderer in DX11.1. Right now I am having a problem that I can't seem to crack with specular highlights when I have multiple light sources. I keep a vector of ...
0
votes
0answers
10 views

Unable to get Unity controller.SimpleMove to work? [on hold]

I'm following a tutorial which utilizes a path finding package to enable a unit to track another unit. However, while the pathfinding operates fine ( a green line that traces the path to the object ...
1
vote
0answers
15 views

How to change texture from pvr.ccz in Cocos2d?

I'm using .pvr.ccz file that texturePacker application created for me , I created a Sprite that it's image choosed from this file(.pvr.ccz) like below: CCSprite *mySprite = ...
0
votes
1answer
52 views

How to show a float with no decimals

I want to show the current health and stamina of the player using GUI.Label. All is working fine however it shows the values with decimals to the millionth (example: ...
0
votes
0answers
18 views

Online game hosting? [on hold]

Would anyone be able to explain the basics of online game hosting? Or link me to some information. After going through google etc, I feel very lost. Would for example you be able to host an online ...
0
votes
1answer
13 views

Box2DLights - the center of sprites are always 100% unlit (black) unless Xray is on

I'm using a ConeLight at 180 degrees, with this setup: pl = new ConeLight(rayHandler, 256, new Color(0.5f, 0.5f, 0.5f, 1f), 280f, 400 - x, 300 - y, 0, 180); And the object I'm casting a shadow on ...
1
vote
2answers
24 views

C# - Collision Detection problem with platforms on Monogame(XNA)

So I am having issues with my platformer that I am developing. I can detect collisions fine when there are a line of parralel blocks or even single blocks. The issue I have is when blocks form an L ...
0
votes
0answers
13 views

How to make something happen when an image reaches a certain point on the screen in Android

I have an ImageView that moves across the screen, and I want it to trigger something that happens when it reaches a certain point on the screen. This is the code I used to make the image move: int ...
0
votes
0answers
10 views

LibGDX: Its there any way to calculate the speed of a repeated scrolling background?

I'm trying to calculate the scrolling speed of an background, I'm doing something like this on the background class: private Texture texture = new Texture(Gdx.files.internal("backgound.png")); ...
0
votes
4answers
340 views

What is the point in using API such as Open GL or DirectX when there are game engines? [duplicate]

I was wondering why today programmers place so much emphasis on API like DirectX, and even OpenGl. As far as I know, you'd need thousands of lines of code to make a simple 3D game using one of the ...
0
votes
1answer
48 views

Planet terrain not connecting properly

I'm trying to generate some simple planets in OpenGL using libnoise (including noiseutils), but the terrain is not correctly connecting where the sphere "completes itself" and I was wondering if ...
0
votes
1answer
77 views

How to write a “Hello World” for N64 from pure scratch?

As an experiment I want to code a "Hello World" program for N64 using only assembly code, and using no headers, tools, helper files, etc. I just want to write the assembly code bare bones from ...
0
votes
1answer
15 views

LibGDX how to change animations

I have a Player Class and i have 3 different Animations for it. I can render them perfectly but i don't know how to change from one animation to another. For exmaple i have 3 animations, one for ...
0
votes
1answer
35 views

why there's different collisions point? [on hold]

i have a bouncing ball in my game. every time i start the game, ball direction(a Vector3) and speed are constant. ball have a rigidbody too.i'm using OnTriggerEnter to detect collisions. after start ...
1
vote
1answer
36 views

Why does this no longer render the “test tri”?

So I got this code about rendering a shaded tri using sharpDX ... var vertexShaderByteCode = ShaderBytecode.CompileFromFile("MiniTri.fx", "VS", "vs_4_0", ShaderFlags.None, EffectFlags.None); var ...
0
votes
1answer
33 views

Questions about the obj file format

I'm wirting my first OpenGL Application for Android at the moment and now I get stuck on the ObjectLoader for obj files. I have some qestions to this file format and I can't an answer on the internet ...
0
votes
1answer
25 views

Animation position changes everytime I play the animation

I've been trying to create a death animation for an enemy object in my scene.I created an animation on an empty object in which i placed all my child objects like hands and legs.I animated them but ...
0
votes
0answers
22 views

How to handle car game circuits in a top-down view?

I'm already using a physics engine (box2d) but i have no idea about how should I implement circuit's path with wall collision. I tought about checkpoints but this doesn't solve the wall collision.
4
votes
1answer
269 views

How do commercial games engines organise the index/vertex buffers?

Preface: This question is going to be coming from a Direct3D point-of-view, because that's what I'm familiar with. Obviously we incur a slight overhead every time we change the vertex or index ...
0
votes
1answer
26 views

XNA - Autodeploy .exe of game upon succesfull commit to GIT

I know of ClickOnce which creates an .exe file so a user can play my XNA game. However, I have to manually go through a wizard in order to create this file. I would like for the new .exe to be ...
0
votes
0answers
12 views

BaseGameUtils / GameHelper onSignInFailed and onSignInSucceeded both called? [migrated]

I found a problem with my Google Play Game Sign-in during Alpha testing. It only happens when the user has an incorrectly cached password for their Google Play login. Here is what I mean.... When ...
-1
votes
0answers
29 views

Want to start game dev(have some programming and OOP knowledge in java) [on hold]

I am 16 years old next year going to start high school and study Pure Mathematics and Computing A level. I would like to pursue a career in either game development or in software development, I would ...
0
votes
0answers
12 views

Google Play Game Services - Handling messages via p2p, host or no host?

I am developing a real time multiplayer game using Google Play Game Services. The underlying networking is done via P2P. Everything I read says I should still have a game host that sends out all the ...
1
vote
2answers
68 views

Loading and storing content efficiently

So for example I have a class called TypingKeyboard. It allows you to display a string while it's being typed by the computer with sounds. I need one in the menu, for the title. And one for the ...
-1
votes
1answer
60 views

Code explanation

Can someone please explain whats going on in this code written by Paul Irish I did not understand the draw(). function draw() { var time = new Date().getTime() * 0.002; var x = Math.sin( ...
0
votes
1answer
23 views

AddRelativeForce not working correctly

I am stuck on the code for couple of days but couldn't figure it out. Therefore I turned out to look the answer here but couldn't find any that match the requirement Hope some One might help here is ...
0
votes
0answers
16 views

Cannot change material color in unity

I'm having an issue where if I set the material color at runtime like so: gameObject.renderer.material.color = Color.black; The inspector shows me the new color but the gameview still shows me the ...
1
vote
0answers
23 views

Design pattern for animation sequence in LibGDX

What design pattern to use for sequence of animation that involve different actor in libGDX. For example I am making a game to choose a wolf from a group of sheeps. The first animation played when the ...

15 30 50 per page