0
votes
0answers
7 views

Reset Polygon Collider Runtime (Unity)

I've created an animation by using different frames. Then applied polygon collider on that object. Problem is that when frame changes in animation, it does not reset collider. I've searched for ...
0
votes
0answers
11 views

At a higher design level, what should my Visual Studio Solution look like for a “Game Maker” project?

I am attempting to design, and hopefully eventually implement, a simple "game-maker" solution. My questions relate to best practices for a clean and modular approach, with respect to high-level ...
0
votes
0answers
1 view

Detecting collision between browser window middle point and other sprites visible in the window

In HTML5 canvas, I have an object which is always in the middle point. On the big map there are other moving objects. I want to detect if the middle point of the window hit any shape we see on the ...
0
votes
1answer
13 views

How to create a random array of Transforms and Instantiate the random item?

I'm trying to make a rock that after you break it, it will spawn a random item from the minerals array. How can I pick a random item from the minerals array and then instantiate it? var ...
2
votes
0answers
17 views

How to select the most powerful vkDevice?

I've been messing around with Vulkan recently. In all of my experiments, when I select a gpu/vkDevice, I always just take the first one vulkan provides. I've looked at the documentation for vkDevice, ...
1
vote
0answers
8 views

Multi Sampling in Rendering Pipeline?

I am trying to understand : How does multi-sampling rasterization effects pixel shader output? In a nutshell (i am skipping some steps to stay on point of question): Vertex data is fetched. Vertex ...
3
votes
3answers
822 views

How do bullets work in video games?

I came across this question when I was designing a video game in C#. If we consider games such as battlefield or call of duty, hundreds or even thousands of bullets are flying at the same time. ...
0
votes
1answer
17 views

Unity saving and loading of images in game

So I'm planning out this game for unity but I don't know how feasible it will be with all of the image loading and saving. I've worked with some other coding, and while I am in the process of ...
1
vote
0answers
7 views

Retreive 3d World Map coordinates from touch/click input with LIBGDX?

Problem: I am trying to create an RTS style interaction. I want to be able to click on the map and have characters move to the click location. I haven't been able to figure this out, even after ...
0
votes
0answers
19 views

Game drop rates standard distribution? [on hold]

I've been playing a game where they state the drop rate but over time I was able to determine it was an exponential distribution rather than a normal distribution which hugely changes play-styles. I ...
-1
votes
0answers
18 views

GUI, interface/listener equivilent in c++

brief intro I am currently working on a game engine using SFML for a small project, Coming from Java I know a fair bit but unfortunately I have come across a lot of snags (to be expected when ...
1
vote
0answers
25 views

UDP client code throwing a very nonspecific exception

so I'm writing a UDP server and client on a couple of the machines in my virtual reality environment to allow (in this case) data from the location in the environment to trigger some air nozzles. The ...
-1
votes
0answers
19 views

WebCamTexture nullpointerexception [on hold]

I am trying to build an app which uses webcam in Unity. I am applying the webCamTexture on a raw image. I am trying to run this on webGL. I have done all the safety checks. I am getting my webcam'...
7
votes
0answers
65 views

Draw the middle half of a sphere programmatically

I'm trying to create the middle half of a sphere. Basically to create a sphere, stack numbers and slice numbers are given, and there are two variables phi (for slices) and theta (for stacks) ...
9
votes
3answers
742 views

How can I create light shafts like Journey's in Unity?

I'd like to create cartoon looking sun / light shafts that look very close (or identical) to the ones in very well known and loved games like Journey: and Ori: How can I accomplish this?
0
votes
0answers
21 views

Android/Gear VR: Smooth walking with gamepad

I'm working on an Android app for the Gear VR using the Oculus SDK (Java, Eclipse) and I used this website to help me handle controller input, so I understand the whole concept of the center axis for ...
1
vote
1answer
35 views

Difficulty aligning isometric tiles

I'm trying to render isometric terrain in javascript. Currently, my tiles are being drawn with small gaps between them: I want the tiles to line up with no pixel gaps in between: My rendering ...
1
vote
1answer
84 views

How do I create the terrain mentioned in GPU Gems 3

So, i want to create this style of terrain: http://http.developer.nvidia.com/GPUGems3/gpugems3_ch01.html However, as much as I scour the web trying to find ways to implement this inside Unity, I can'...
1
vote
3answers
660 views

Do editor errors affect device performance?

Do errors that come up in the Unity editor affect a game's performance on a device (on Android in particular)? I'm talking about errors that keep coming continuously during Update() such as ...
20
votes
4answers
4k views

Why do game developers develop games for exclusive contracts?

There are several companies that develop their games for one console only (Playstation or XBox). Why and how are they doing this? Shouldn't there be more sales when they publish it for PC/PS/Xbox? ...
0
votes
0answers
21 views

html5 casino online server design [on hold]

I'm making a casino game online using cocos2d js, node.js, mongodb I'm looking for a good design for the server, this is my first online game so please help me
0
votes
1answer
56 views

Sudoku generation doesn't finish

Heyho, i got problems with my sudoku generator. First of all I generate some numbers between 1 and 9 and put them (according to the sudoku rules) into my game. After that I solve it using my second ...
1
vote
0answers
21 views

How to compare two skeletons by using kinect sensor?

I need to know about how to compare record skeleton with live skeleton in C#. If there are any reference please let me know.
1
vote
0answers
32 views

Everyplay not working on Unity 4.6

I am using Everyplay in my game and when I run my game on mobile. It showing me as recording supported as false. I put the Client ID and client secret as well and checked on Android enabled. Can ...
2
votes
1answer
41 views

Game Maker: Is there a faster way to check for collision than this?

There are many objects named obj_Cell and obj_Core in the room, each Core has a number (0 to 10) of Cells that belong to it. Each Cell record its corresponding Core with the variable ID_MyCore, which ...
1
vote
0answers
19 views

How do I mask a height based fog?

I've been trying to implement a 3D (with the Y axis being utilized) fog of war system similar to what XCOM uses. There is only one hint that really seems to nail it, but I can't read the actual ...
1
vote
1answer
78 views

How to create shockwave of objects in other shapes than circle?

Basically, I'm making a bullethell / I wanna be the guy inspired game for where I'm currently creating different methods of spawning bullets into the game. One of the few methods I've created is ...
0
votes
0answers
23 views

How to deal with normal map baking bleeding between 2 faces?

I was wondering what a way around these seams Im seeing is - I believe what the problem is, is that I have a high poly version of this gun handle, with chamfer edges. However, when I bake the ...
1
vote
0answers
25 views

How to Handle Game Textures [on hold]

For my game I have decided to create my own hand-painted/stylized textures, and was curious about how my game would theoretically perform later down the road. Essentially, my game world is comprised ...
-3
votes
0answers
28 views

Star Wars Droidworks Maps

I am attempting to do a remaster of sorts of the 90's game Star Wars: Droidworks. I was able to successfully extract much of the game's resources (audio,3d models, etc.). However, probably the most ...
0
votes
1answer
16 views

Unity 5 - Occlusion culling 2D error

I'm trying to set a Occlusion culling on my topdown 2D game. I have made a sprite object with a Occlusion Area on it.Once I try to bake it, it gives me the following error: No Renderers that are ...
1
vote
0answers
23 views

Libgdx actions to image is applied to whole actors

I am trying to make the Image hidden then fade in and this is working but the background image is also become hidden the fade in : here where I apply the action in this class: public class ...
2
votes
1answer
24 views

Box Collider center relative to GameObject

I'm trying to get the distance from the BoxCollider center of a gameobject to the bottom of that same BoxCollider. Note that the center of the collider is slighty modified. So far, I have: float ...
-1
votes
0answers
34 views

Making Bullets Shoot [on hold]

If I'm making an RPG where the sprite changes every time you click a certain key, how would I make bullets shoot out of the character?
1
vote
1answer
24 views

Unity - Loss of detailed shadows and shading marks on texture seams appearing after lightmap baking

I'm attempting to lightmap bake my scene and am running into the following problem - With the lights set to realtime, the shadows have a nice amount of detail in them and the lighting on the models ...
0
votes
4answers
68 views

What keys should I use for a four-player game with one keyboard?

I'm planning on making a multiplayer game for up to four people on a single machine. We want to have all input coming from players using the same keyboard (or multiple keyboards connected to the same ...
1
vote
1answer
31 views

How to set the position of objects in pixels on the scene editor

I created a camera of the size of 480x854 as the project is meant for Android but whenever I try to position objects on the scene editor, their positions dont seem to be in pixels. It is like -10 y on ...
1
vote
1answer
33 views

How Matrix4 represents an object in space and matrix lore

I have been following some tutorial's on how Matrix maths works, with adding, dividing, scaling, etc, but I am struggling to understand how the 4x4 matrix represents an object's position in space. ...
2
votes
1answer
21 views

Check if a 3D mesh is a rectangular prism

I have a mesh post-processor in Unity that automatically a convex mesh collider to objects that need one (mostly all). Sometimes however there are objects that only need a box collider instead. ...
-1
votes
1answer
62 views

Will Chartboost block my account for clicking my own ads?

I created a game in iOS and Android. Every day I manually click ads in it from my device. Is this okay? Or can Chartboost block my account if I do this for a long time? I've been doing it for the ...
1
vote
1answer
33 views

Interactive Controls (switches, knobs, buttons) in Unity

I'm working on a puzzle aspect of a game, and wanted to make a section where players relay information to one another, and have to input the correct values. At its most basic, its a few stored ...
0
votes
0answers
18 views

Unity With C# script : Class Data Type Passing Value From Class Data Twice Weird [on hold]

I got a simple Question and weird from passing value to data type class variable. The code below : Constructor : public item (string name, int ID, string desc, int harvestx, int time, int stdpricex,...
1
vote
3answers
107 views

I want to delay 3 sec to load next level after the collision in C#

I need to delay the load new level by a few second. Please help.This is the script I need to use: void OnCollisionEnter2D(Collision2D col) { if (col.gameObject.tag == "Enemy") { ...
-3
votes
1answer
42 views

Programs - Pixel art program Free? [on hold]

Is there any pixel art programs with tiles and the ability to animate in it? I used aseprite and i cant use it cuz there is no tutorials on the free version. I used Gimp AND it is REALLY ANNOYING.
0
votes
2answers
75 views

Need some advice on how to decide where to implement my enemy behaviours

I'm in the middle of writing a platformer game in Unity using C#. I have my character, if he presses the kick button his state switches to kicking. During this "kicking" state the character doesn't ...
-4
votes
0answers
37 views

Isometric social games. Click to tile

In the Social Isometric Games book, page 53, there is a description of the method, that defines a title using mouse cursor coordinates. It works well, but it is not clear what principles are used to ...
1
vote
2answers
33 views

Object is moving more than it should

I have the following code for Food: exports.Food = function(x, y) { this.MOVE_X_FROM_POSITION = 10; this.ACCELERATION = 0.05 this.image; this.firstX = x; this.firstY = y; this.x = x; this.y = y; this....
1
vote
1answer
49 views

Loading scenes from files, or hard coding it?

In a game engine I'm working on I'm using scenes similar to what you would find in Unity. The entities in my game are composed of reusable components and custom data which is linked to those ...
-4
votes
0answers
26 views

How can a newbie programmer learn all the main art and animation required for games? [on hold]

what would be the best method of learning 2D game animation and art for a high school student like me who has a deep interest in game development and wants to develop a simple but good game?I have ...
1
vote
0answers
27 views

How to make a Sprite have multiple armors/weapons/Accesories [duplicate]

I am currently developing a game that involves a multitude of weapons, armors, etc. I am using UE4 currently as an engine because I found that easy to use. Currently in development I have found myself ...

15 30 50 per page