0
votes
0answers
3 views

Google Leaderboards, Reducing the Score of a Player

I am making a strategy game similar to chess for Android. I'll be using the Google Leaderboards for rankings. I want to implement a sort of ranking system, that the player can actually lose score, ...
0
votes
0answers
7 views

How to make a stab function?

I've looked around everywhere, and I can't find an example script for a stab. What I have so far is a top down 2D scene, with a player at the bottom (static). I would like to have the sword/tongue to ...
0
votes
0answers
4 views

Software Similar to Chevy Test Track for 10yo boy? [on hold]

Don't know where else to ask, so here goes: if you've been to Epcot lately, you'll know that Disney upgraded the Chevy Test Track ride with a slick proprietary CAD program: "Designs start as a simple ...
0
votes
0answers
3 views

Direct3D - Get screen coordinates for printing multiple text elements

I have a function that I use to print text PrintText(char* text) that stores the text to a vector, which is then displayed if the vector is not empty. I'm trying to figure out how can I correctly ...
0
votes
0answers
6 views

Can you generate a mesh between to two objects in blender?

I'm wonder if there is any way I can be blender to generate or fill in the gap between these two meshes.
0
votes
1answer
14 views

How do I ensure consistent behaviour when using Unity's Collider2Ds for triggers and collisions?

I am experiencing inconsistent behavior using Unity's 2D Physics engine and their Collider2Ds to detect collisions and triggers on my projectiles. I will classify it into two problems. The first is ...
1
vote
3answers
30 views

Filling background with tile image

I'm learning Unity and developing a 2D game for learning. It's really similar to RimWorld and Prison Architect. I have a grass tile image (32x32 pixels) I want to fill background with this image. ...
2
votes
0answers
14 views

Facebook data exchange for mobile games (multiplayer)

A multiplayer mobile game that we are working on connects players through Google Play and Game Center but we would also like to add an option to play with your Facebook friends and here's the ...
0
votes
0answers
23 views

How to rotate an object on a rectangular circle shaped track in unity5?

Actually I have 10 objects and these all are automatically run on playing game as its a betting game which is going to play on browser but I don't know that how to rotate that objects on curve on a ...
0
votes
0answers
16 views

Generate Mesh of Shadow Volume

Given a mesh, I want to generate another mesh that is effectively a shadow volume of this mesh. I am looking for an algorithm/solution/implementation/reference that can do this under the following ...
0
votes
0answers
4 views

Cocos2dx - error while importing plugin with sdkbox

I'm trying to import plugins through sdkbox (v0.5.6.7) in my game using Cocos2dx (v3.7.1) but I always get this error: $> sdkbox import facebook _______ ______ _ _ ______ _____ _ _ ...
1
vote
0answers
40 views

Wander steering behaviour in 3D

I'm trying to implement the Wander Steering Behaviour but getting strange result (see .gif). What am i doing wrong? I want to move a sphere in a random direction. I read this article Understanding ...
0
votes
1answer
38 views

How do I avoid lag when dynamically loading a map chunk?

I have a procedural 2d game which extends in all directions, on the surface similar to Terraria. When a player moves their camera close to the edge of the currently loaded terrain, I trigger an expand ...
-2
votes
1answer
24 views

What is the recommended way to store compressed textures in files?

Uncompressed textures can be stored in lossy formats such as jpeg and it saves a lot of hard drive space. However for obvious reasons you cannot do the same on compressed textures. So what is the ...
3
votes
3answers
57 views

Going around a rectangle in time

I want to make a fancy Animation where a Point travels around a rectangle. The Rectangle is given through X, Y , Width and Height. Is there an algorithm for it. sin/cos work for circles, is there ...
0
votes
0answers
18 views

LibNoise Perlin.GetValue not returning noise for zero decimal place numbers

I'm using the LibNoise port from C++ to C# and running into problems generating Perlin noise (Unity demo here). For some odd reason integers never generate any noise. In the code below _firstValue on ...
-2
votes
0answers
13 views

Minecraft Server IC2 Mod

I'm having issues installing the IC2 mod. The following error: [21:47:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [21:47:55] ...
-4
votes
0answers
25 views

A free “maker” engine to create and export commercial Android games? [on hold]

I need a free "maker-like" engine that can easily export Android games. I mean ready-to-store and with no costs. Unity and GM Studio Android exporting versions are paid, right? So, whats the best ...
1
vote
3answers
42 views

UDP packet reliability and re-sending

Like most people on this exchange concerned with UDP client server connections, I've gone through the Gaffer on Games article about implementing reliability. I understand how the ordering and acks and ...
0
votes
0answers
18 views

GLFW - Selecting an OpenGL Context before showing the window

I want to know how i can select an opengl context before displaying the window I have two different machines. One is opengl 3.1 and the other is opengl 3.3. I want to be able to select the context ...
0
votes
0answers
6 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 ...
0
votes
1answer
19 views

Reading map.txt from assets android

I'm a beginner android developer currently working on my second app which is a platformer game. I'm trying to read the level map (which I've stored in the assets folder) but I keep getting a ...
0
votes
1answer
20 views

Crash when setting a new screen

In my almost finished game I want to set a new screen on game over. I got my game over method: private void gameOver(Label score) { for (Body body : worldBodies) { ...
0
votes
0answers
40 views

Wang tiles generating

I'm trying to get rid of repetition on terrain, when viewed from up high. To achieve that, I've chosen Wang tiles. One thing I'm missing, and can't really find is any kind of generator that can take a ...
0
votes
0answers
16 views

Write depth value to a render target

I want to write depth value to a render target, not depth buffer. So I output the clip space position from vertex shader and divide by w on pixel shader. Here is the code of how I do this // Vertex ...
1
vote
0answers
55 views

convert 2d pt into non-affine coordinate system

Say I have a coordinate system that goes from (0,0) to (1,1). We'll call this screen_space. Within this coordinate system, I have 4 points that I would like to define another coordinate system. One ...
3
votes
1answer
104 views

Create a normal map using a script? Unity

I don't have a software that can create normal maps from an image so I usually make a grayscale image and then let unity make the normal map from that image. But I can't save the image to use for ...
1
vote
0answers
36 views

Communicating with Collision System in ECS

I have read tons of articles and forums threads about ECS but still can't understand how anything in engine should communicate with Collision System. Let's say I have Input System that handle keyboard ...
-4
votes
0answers
25 views

How do I change the control from PC to Mobile? [on hold]

I have my character control script working on the pc. How do I change this script to work for a mobile port? using UnityEngine; using System.Collections; public class Player: MonoBehaviour { ...
0
votes
1answer
40 views

Getting path of right click in unity 3D editor

I want to create an extension for the Unity 3D Editor and have an custom asset type. During the process of creation this I recognized that I would improve the UX/usability if I can specify the path ...
0
votes
0answers
20 views

Project Anarchy / Visual Studio 2013: Can't open solution

Interestingly I want to ask this on Project Anarchy's forums but after signing in all I can do is look at my profile. Every other link gives me something like: The requested page ...
0
votes
0answers
27 views

GameMaker: Studio - Slow down calculations

I currently have an orbital simulator, with a brilliant answer in another Game Development question here, and would like to know how to slow down the calculations of Game Maker, to be able to do more ...
0
votes
1answer
17 views

Unity - custom Export and Import FBX Data

I am trying to write custom data inside a FBX file from 3dsmax at export time. This might be possible even if I don't know right now how to do that. But my question would be how can I read those ...
0
votes
0answers
10 views

OpenGL ES 2.0 + Cairo HUD

I have posted this on StackOverflow before finding this Q&A so please excuse the double post but I think there will be more experts in terms of OpenGL around here. I am trying to render a HUD ...
-2
votes
0answers
16 views

Game Maker Mac (Paid) not downloading [on hold]

I bought Game Maker Mac for $20 on yoyogames.com. When finished payment, it gave me my game maker license. I already have the lite version, but when I open that up there is no option to insert a ...
27
votes
1answer
2k views

Why is shadow mapping the standard?

Though I am a programmer by trade, I have barely touched game development at all. I've had this question for some time, and now that I'm looking into game development I thought it would be a good time ...
0
votes
0answers
12 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, ...
0
votes
1answer
31 views

Shadertoy getting help moving to glsl

I spent some time writing a shader on shadertoy but now, when I try to translate my code to opengl I don't know how to calculate the uv that they describe as like this: vec2 uv = fragCoord.xy / ...
0
votes
0answers
28 views

Can anyone recommend a 24.8 or 32.32 fixed point library for java? [on hold]

As the title says - I can't seem to find any working implementations. I need it for a cross platform game where I need floating point calcs to be deterministic. I can't use strictfp etc. Thanks
0
votes
1answer
71 views

Why has my refractive water shader become reflective

So I was making a water shader in unity and well it looked fine in the scene view but as soon as I went into the game view the refraction texture basically flipped up 180 degrees and made it look like ...
0
votes
0answers
24 views

My texture is doing weird, either not loaded correctly or not rendered correctly. DirectX11

I'm loading a texture from a file called owl.png. But it renders really weird. Original picture(512 X 512): But it renders like this: It's rendered on a square, that is initialized like this: { ...
0
votes
0answers
10 views

Unity and ASTC support

I have configured in unity all compressed diffuse map textures as 6x6 ASTC blocks and normals and other maps as 4x4 blocks. However when I profile my game using Mali Graphics Debugger it tells me ...
0
votes
0answers
14 views

How does Unity Static batch handle submeshes

I have the following 2 meshes: Mesh 1 Submesh 1 - Mat 1 Submesh 2 - Mat 2 Mesh 2 Submesh 3 - Mat 1 (same as mat1 from submesh 1) Since submesh 1 and 3 have the same material and they ...
4
votes
2answers
144 views

Could someone help me understand this game loop logic?

I'm learning Java game development and trying to dissect this game loop: // Game loop final int TICKS_PER_SECOND = 60; final int SKIP_TICKS = 1000 / TICKS_PER_SECOND; final int ...
0
votes
1answer
29 views

How to create axes for a console controller

What should I change in the input manager to enable me to use a joystick? I have a usb cable to connect the joystick to the computer but how do I set up the controls?
0
votes
0answers
57 views

C++/OpenGl/SDL/Cmake Beginner curiosity [on hold]

and this is my first time in this forum. I just want to ask for an advise in here, I just dont know where to start. hopefully you can understand and help me. I want to start with a small game project ...
1
vote
3answers
33 views

Rendering Tic Tac Toe Cross and Circle in libGDX

I am new in LibGDX. For learning purpose, I am creating TicTacToe and I spent two days to figure out what went wrong with rendering the cross and circle. Whenever I click on the cell, the cross and ...
0
votes
1answer
23 views

Why are my Mecanim animation curves not staying within the entered range?

I have an in-place animation that I added curves to (In the rigged FBX which has the animation). I created 2 float parameters in the relevant controller with the same names as the curves in the ...
3
votes
3answers
70 views

How do I make a racing car turn more smoothly when traversing waypoints?

In a racing game, I have set up waypoints for the player to follow. I have added many waypoints to give an illusion of curved movement. However, the player car turns instantaneously when passing ...
0
votes
0answers
15 views

How do I save and perform the commands at client side in unity5? [on hold]

I have been scripting for a web player game for that server sends few commands to client machine But I don't know how to save and perform the operations as per the commands. If anyone knows please ...

15 30 50 per page