0
votes
0answers
2 views

Unity Inspector Not Showing Serialized Variables Of Child

So I'm new to using Serialaiziblewtfever(I just cannot remember the correct spelling). In the Unity editor it works fine if I have something like: [System.Seriliabizblewtfever] Public class ...
0
votes
0answers
6 views

How to sample png heightmap in HLSL

I am working on simple parallax shader and I have problem with sampling height texture for value. My aproach amples texture and give me RGB values of picture: tex2D(TextureHeightSampler, ...
-2
votes
0answers
20 views

Is it possible to make a 3D game in Java [on hold]

Hello I was just wndering if it was possible to make a 3d first/third person game in java without opengl or any added librairies. Just plain java. If so can you import models and can the game be a ...
0
votes
2answers
18 views

I can't add script in unity

I'm a beginner in unity so I got this problem. Here is the script: using UnityEngine; using System.Collections; public class Playercontrol: MonoBehaviour { public float maxspeed = 10f; bool ...
-1
votes
1answer
10 views

Shogi Program, Null-move pruning issue

I'm writing a Shogi AI in Java and I've been having issues for a long time with applying the null move pruning. When it starts apply-ing null move pruning it always cuts-off everything and I end up ...
0
votes
0answers
23 views

Android how to create a grid as board game

I am new to Android and I'm trying to create a clone of the game Robots. As a first step I'm trying to create the grid on which the caracters will move. The idea is to create a really simple grid ...
-1
votes
0answers
28 views

3D Fractal terrain generation

I have a problem with my terrain, each time I get a strange terrain. I don't know where is exactely the problem. Here is my MidPoint dispacement function: bool terrain::MPD(int x1,int y1,int x2,int ...
0
votes
1answer
23 views

How to use multiplication operation in game render delta time?

We are using delta time in short like this: private static final float SPEED = 200f; // Moving pixels in one second @Override public void render(float delta) { myObject.vx += SPEED * delta; ...
-1
votes
0answers
22 views

Recommendation soft like Barok? [on hold]

I was surprised how beautiful is Barok Engine, but is not in English. Have someone some recommendations similar to Barok Engine? I have to do a small game 3d for a university project.
0
votes
0answers
9 views

how to trigger a ball from rotating cube in z axis

how to release ball from the cube which is rotating in z axis, ball should move in Y axis and ball should be reloaded after releasing the ball ?? Thanks in advance cheers Gokul
0
votes
0answers
9 views

How to convert pixels to meters in Box2d with Cocos2d-x 3.5?

I am using Cocos2d-x 3.5. I created a simple game with edge bodies and one circular body to test box2d. Physics wasn't working well, so i thought i should convert pixels to meters and use that meters ...
0
votes
0answers
17 views

OpenGL MD5 Model Animation. Performance issues

A time has come when i had to implement an Animation to my Engine. I started with standart MD5 mesh/anim format since i find it easy to understand. I managed to implement a simple MD5 loader and i can ...
0
votes
0answers
32 views

Stuck in Java game development [on hold]

To start with, I need some help for my homework assignment. I am developing a game. This should work as a command prompt interactive game. For example: > addplayer username, familyname, given ...
0
votes
1answer
17 views

How to play more than one background song in XNA?

The current tutorial I am using to play background songs only allows me to play one song throughout the entire game. Link to tutorial --> http://rbwhitaker.wikidot.com/playing-background-music I ...
0
votes
0answers
14 views

OpenGL - Cubemap “Rotating” Proportional To Camera Movement

I'm doing a simple planet rendering project and am running into an issue with accessing cubemap textures correctly. The planet terrain is generated using the diamond square algorithm done 6 times and ...
0
votes
0answers
10 views

Errors Generating A Plane Mesh Using A Script In Unity

In unity I have a script which is attached to a game object with a mesh filter. The purpose of the script is to generate a flat plane of 100x100 vertices. The code for the script compiles in ...
0
votes
0answers
10 views

RenderTexture not working in very specific circumstances (Unity 4.6.3)

I'm building a project in Unity that makes heavy use of RenderTextures and ComputeShaders, and I found out early on that if I tried to open the project in the free version of Unity, I got an ...
1
vote
0answers
15 views

Import Unity 2D objects in Libgdx

I'm using Libgdx to do some simple home projects. I'm trying to make a simple 2D game with Box2d using R.U.B.E as editor. I create a 2d terrain in R.U.B.E now I want to create the terrain texture. I ...
0
votes
1answer
25 views

unity3d - Fire bullet using AddForce is very slow

This is a top-down view but in 3D coordinates, I would like to instantiate and fire a bullet from the player's gun. This script is on a spawner object at the end of the barrel. void Fire () { ...
1
vote
1answer
21 views

Synchronisation on a non authoritative networked peer to peer scene

I currently have a piece of coursework that requires 3 or more 3d simulations connected via p2p to maintain a simulation that is visually consistent amoung all peers. A big issue is that I'm not ...
0
votes
0answers
20 views

Making a user friendly renderer class in OpenGL [on hold]

As I learn new rendering methods in OpenGL I try to make them usable for future cases so I don't have to have a big pile of glBegin()s or Ids in my main game loop. I'm grasping the understanding of ...
0
votes
0answers
21 views

I have a questions about c++ and SDL2, openGl [on hold]

i started to learn programing. I really want to make a game in c++11 and SDL2 , openGL i know is very hard to make something that why i'm asking this you know couple of good tutorials or books i can ...
1
vote
1answer
22 views

Modern OpenGL Texture Displaying Incorrectly

I've been working with this code and have simplified it to the most basic form possible, and even then I cannot get a texture to display properly at all. Here is the code: ...
-3
votes
0answers
27 views

How to create a 2D Platformer game using Direct3D? [on hold]

I was able to scroll a repeated background and I need to know how to create the foreground i.e the ground where the player walks and jumps. Thanks in advance.
0
votes
1answer
10 views

Unity Make sprite visible only to shaders

I have made a shader for my UI buttons, the sprites should be black and white, so they can be used as a mask when blending. They should allow for the image behind them to pass through the whiter ...
0
votes
1answer
29 views

Box platform collision

I'm working on a platform game and my collision code is to picky. I can't exactly do aabb(?) because the map is represented as metatiles. (23-24 16x16 tiles make up a 300ish pixel resolution.) My game ...
0
votes
0answers
9 views

HumanIK Z axis Up in Maya for Unreal Engine

I am pretty stumped! I want to use HumanIK in Maya to throw together some prototype animations for my game that is being developed in Unreal Engine 4.7 The issue is that Unreal requires Z axis to be ...
0
votes
0answers
22 views

How to make TMXTiledMap responsive?

I've been struggling with Cocos2d-x (C++) and finally I got to the point I feel more or less comfortable with that. My game is a 2D car-based one, with a straight infinite map where I've finally been ...
0
votes
0answers
27 views

UNITY IEnumerator Function

So I am currently using the IEnumerator function to pause a for loop, the for loop that contains a ball that should move to another game object. Currently from my print statements seems like the ball ...
-2
votes
0answers
36 views

Cost: Game design document [on hold]

An investor sent me an email with some informations about a game he needs. The problem is that he want a game design document from me (for a big project) to create all the game from his basic idea. ...
0
votes
1answer
30 views

I cant get my interface to work

This is my first time using interfaces so I imagine I'm doing something dumb. I have an interface called ILoadable inside ILoadable.cs; using UnityEngine; using System.Collections; public interface ...
0
votes
1answer
44 views

c# list that contains more then 3 lists [on hold]

How to create a list that contains more then 3 lists. If those lists change the "bigger" list that contain them also changes. public List<Rectangle> CoTree,CoRock1,CoRock2; public ...
1
vote
1answer
38 views

unity3d - Instantiate and fire bullet realtive to player rotation in 3D

This is a top-down view but in 3D coordinates, I would like to instantiate and fire a bullet from the player's gun. This script is on a spawner object at the end of the barrel. Also tried putting the ...
2
votes
0answers
20 views

Physics: calculating angular acceleration in world vs local space

I have a pretty simple rigid body simulation written in Python. In my code I calculate the angular acceleration using formula: angAcc = torque * inertiaTensor^-1 (note row-major matrix order) Now, ...
1
vote
0answers
35 views

Transformed Vertices have wrong Z Axis

For quite some time I've been working on my open 3D game engine, to learn how this stuff works. You can see the full codebase relating to my problem here on github / xythobuz / OpenRaider in the ...
3
votes
2answers
116 views

How do I create a toggle button in Unity Inspector?

I want to create a tool similar to Unity's Terrain tool, which has some nice toggle buttons in the inspector: How can I achieve similar design to this? I know how to create normal buttons and ...
1
vote
1answer
25 views

main camera not covering whole screen in unity3d

I have been using unity and i got a problem where my main camera is covering only the first half of the floor i made. camera position is left and the floor is rotated ,i m posting an image please help ...
28
votes
1answer
2k views

Making a night scene without being dark on the monitor

What would be a good way to make a 3D scene look "like" a dark night, without being so dark on the monitor that it's hard to see stuff (especially when playing in a brightly lit room). I've been ...
0
votes
0answers
50 views

OpenGL Diffuse Lighting Issue

I seem to have a problem in my OpenGL scene where if I (the camera) am looking at an plane it's brightness changes depending on what angle I am to the plane. It seems as though the camera is a source ...
0
votes
1answer
16 views

Trouble drawing repeating and scrolling screen elements from a 2d array for an endless runner in swift [on hold]

I've been trying draw level segments for an iOS endless runner using 2d elements that repeat forever. I have a class that generates a random 2d array, then scene elements are drawn and animated to ...
2
votes
1answer
21 views

How to offer directional ambient audio

I'm working on a game side-project that will be heavily audio-based. One feature I'd like to offer are ambient sound zones which correspond to locations of nearby areas. Say for instance the player ...
0
votes
0answers
20 views

Collision between a sphere and a mesh(height-map)

I am trying to implement a method that detects the collision between a sphere and a mesh and reflects the vector of speed. I have a method, that detects a collision between a sphere and a triangle and ...
2
votes
2answers
41 views

Updating game objects already placed in scene

I have about 20 game objects placed in certain positions in my scene. I then realized i need to attach two additional game objects to each one of these as children. Is there a simple way of doing ...
4
votes
1answer
222 views

Does vector transformation order matter?

Theoretical question - imagine a car object. There are two (or more) 'forces' acting on this car, these forces will affect where the car will steer. But the forces are calculated using car's location ...
0
votes
0answers
56 views

Making a command line in C# [on hold]

I was wondering if there was a way to code a command prompt type thing (CMD) for Unity in C#. I am making a hacking type game and tried but failed.
1
vote
1answer
35 views

Shader - Convert vector into scalar

I am trying to convert a half3 as a simple half but I am facing an issue. As for an example half3(1, 0, 0) give me white but half3(0, 1, 0) gives me black. How can I convert properly a half3 to a ...
0
votes
0answers
27 views

Team Fortress 2 keeps crashing on OS X [on hold]

everytime I start the tutorial of Team Fortress 2 it keeps crashing while trying to play the movie. This is the crash report: http://pastebin.com/GuT0zxEs Thanks for your help! Kaes3kuch3n
0
votes
1answer
50 views

Body isn't moving even even though linear velocity isn't 0

In my game you have the Square, which is the player, and the Circle which is the enemy, the player carries a weapon, when shooting the game calculates where to place the bullet in relation to the ...
0
votes
0answers
21 views

Implementing Spine animations in Libgdx

I've been searching a lot for a guide on how to implement 2D animations exported from Spine to Libgdx, but all I could find was outdated tutorials and source codes. I can handle basic Libgdx but Spine ...
1
vote
0answers
45 views

Improving performance for flocking behavior?

I have a game that I am trying to make. It is a twin-stick shooter that I want to design to have a LOT (Up to 500) of enemies on the screen. The game's base design comes from that of Geometry Wars, ...

15 30 50 per page