0
votes
0answers
25 views

Odd behavior in Unity 5.1 2d project prefabs

I am very worried something is corrupt in my project. I am making a 2d top-down rogue-like and am currently using prefabs to generate enemies from. I have started running into an issue where I get a ...
0
votes
0answers
17 views

I only have experience with Flash/AS3. What should I develop a game with? [closed]

I only have experience with making games in AS3/Flash. The reason I ended up with this experience is because I started off as an animator. I love being able to animate everything on a Flash timeline ...
-1
votes
1answer
23 views

Is there a way to assign resource into a variable in the inspector programmatically?

I want to add resource to an inspector directly which could be done by drag and drop resource to the inspector. However, I want to know if there's a programmatic way to do this so, I will not need to ...
0
votes
1answer
31 views

Unity - PoolingSystem failing to instantiate

I am wanting to spawn monsters into my scene in Unity. I was told to use a Pooling System, so I got the free one Unity offers in the Asset store. I have followed the little documentation that there ...
1
vote
0answers
33 views

Efficient Collision detection for polygons (fleet) in an RTS

I'm trying to make an RTS for android using libgdx. I would like to have collision detection to be able to detect ships inside the range of weapons and collision between my bullets and the ships. So ...
1
vote
2answers
49 views

How to make sure that when two bodies collide, there is only one collision detection on box2d?

I'm using LibGDX with box2d, and when to bodies collide collision is detected multiple times. here's the code `public void preSolve(Contact contact, Manifold oldManifold) { Body a = ...
0
votes
1answer
25 views

Updating object positions after screen moves. Is there a better way?

I am making a top down 2D shooter using SDL2 for fun and I ran into a problem. I have a whole list of enemies each with their position on the screen stored in an array. Now you only see a portion of ...
0
votes
0answers
64 views

Should an Entity own its components? [closed]

I have an Entity component system(ECS) set up. I store the components as void*, and based on what component it is, it has to have a given base class. For example: A "Renderable_deferred" component is ...
0
votes
1answer
94 views

What is the correct approach to implement multiplayer in a game? [duplicate]

I'm developing a game and it is intended to be a multiplayer game. I have experience in writing servers and clients in Java, but the game is written in C++. The server will be written in Java for ...
0
votes
1answer
24 views

How do you set multiple collision rules with Swift and SpriteKit?

So basically I've got 2 types of balls and 2 types of enemies. Green can delete red only, red can hit delete only. Here's what I have for the first collision test: func didBeginContact(contact: ...
0
votes
0answers
24 views

Can names of abilities or spells within a game be trademarked/copyright? [duplicate]

Okay, say I want to create an RPG similar to and takes inspiration from such games as Final Fantasy, The Elder Scrolls, Shin Megami Tensei, Pokemon, etc. and I would like to use familiar names in some ...
0
votes
0answers
26 views

Issue with texture mapping on a spehre using opgengl es 2.0

I have a problem to calculate the right UV coordinates. I'm calculating the sphere by subdivate a ocathdron. What did I do wrong? Calculate UV Points for the texture: private ...
1
vote
0answers
21 views

Implementing Separating Axis Theorem to Detect and Handle Sliding Collisions

I am having a bit of difficulty detecting collisions properly with separating axis theorem. My code seems to be giving a lot of false alarms. Also, I've looked into implementing sliding collisions ...
0
votes
2answers
40 views

UI button not working

Every time I try to click on the button, nothing happens. I am linking some picks to help everyone answer my question. I have added a event system. I have a canvas. The button is set to interactable. ...
1
vote
1answer
32 views

Environment mapping - cube mapping using OpenGL

I'm trying to do cube mapping. Problem is that I'm getting this: This is what I get when I rotate it: But it should look like this Here is code for vertex shader varying vec2 tex_coord; void ...
2
votes
2answers
29 views

Detect collision that happen between frames, between slices of moving, rotating circles?

To detect a collision between two circles, we check if the distance between their centers is smaller than the sum of their radii. To detect a collision between a slice (in this case half) of a circle ...
1
vote
3answers
82 views

How can I store a large amount of items in a space-efficient manner?

How can I store a large amount of items inside my game? Are each of the items default data be loaded from a file into an item class and then stored in a giant array/list/dictionary? For a point of ...
0
votes
0answers
43 views

How to achieve Anisotropic filtering x16?

I'm using directx and I've achieved x1 anisotropic filtering, however regardless of the maxanisotropy value I set, it's still only x1. If someone could help me figure it out i'd greatly appreciate it. ...
0
votes
0answers
12 views

Game development inside Android Studio? [closed]

This is a question for common knowledge and not for code. The question is: Can you build a game inside Android Studio and, if not, what are some recommendations for a IDE where you can?
2
votes
1answer
67 views

GLSL 330 Core Bug? - Uniform variable will not set to value if it is named a certain way

In the code below I have a uniform variable named "vw_matrix" used in the calculation for gl_Position. When I run my program, a rectangle gets printed to the screen. #version 330 core layout ...
0
votes
2answers
50 views

Popular licensed music on my game, where to start? [closed]

So lets say I want to use popular bands' music in my game (Metallica as a silly example), do each band/label manage this issues differently? Or there is a way to pay a certain fee for certain track ...
2
votes
3answers
129 views

How do game engines mitigate CPU cost for many trigger zones & entities? [closed]

It's a rather simple question, but a somewhat fundamental in computing in general. Let's say we have a player controlled character in an open world. The world is large. In this game-world we have a ...
2
votes
1answer
35 views

2D LibGDX Collision Avoidance [duplicate]

I would like to know what is the best way to implement collision avoidance and eventually pathfinding in a LibGDX 2D top view game. Think of "Binding of Isaac". I use a sort of tilemap to place the ...
0
votes
2answers
45 views

Efficient Collisions Iteration?

My project has upwards of 3000 2D objects but not all of them collide with each other. Between each object that can collide, a CollisionPair is created and stored inside a flattened array. Currently, ...
2
votes
2answers
79 views

How can a one-man team create game audio? [closed]

I am basically a 14 years game programmer. I am using Unreal Engine 4. I can't make a game without 3D models. So , I started to learn how to draw (for reference images) and how to make some 3D ...
1
vote
0answers
20 views

Google Play downloads never update

So I published an app about 3 weeks ago and it still says 10 downloads, but I have google analytics in the app and it says my app has nearly 1000 downloads. After 2 days my app said 10 downloads and ...
1
vote
2answers
41 views

Best practice for scrollable viewport rendering

I am working on a tile based game that renders the playing surface in a viewport. I am struggling with getting my head around the mechanics and best practices of rendering a viewport, specifically a ...
0
votes
1answer
34 views

Enemy Follow Player Orthogonal Movement

I have a Enemy class that Seeks a player if he is in his field of view. Problem is i want the enemy only to move up/down/right/left, not like for example up and left at the same time (diagonal ...
0
votes
0answers
24 views

Unity - Change editor play/stop button positions for dual monitor layout

It is possible to change play/stop button positions in editor? I am trying to make a layout for dualfullscreen. But the buttons are right in the middle of the two screen. So it makes it hard to click ...
1
vote
1answer
25 views

16-byte aligned matrix in DirectX9 and D3DX with Havok Physics 2012

I want to ask a question about D3DXMATRIX and D3DXMATRIXA16, and how to use them with Havok Physics. I'm using Visual Studio 2012 on Windows 8. I successfully created an instance of hkpWorld, added ...
1
vote
2answers
71 views

How to randomly spawn obstacles for infinite runner?

I am trying to create randomly generated path properly? Think of flappy bird (its not really) but my code/algorithm is all wrong. If I make BarMax, BarMin too large, then player can cheat cos in ...
0
votes
0answers
11 views

Retrieving shared video memory using SharpDX

I am trying to retrieve the total available video memory using SharpDX via DXGI, using the Description of the best available adapter. The DedicatedVideoMemory is correct (1GB in my case), but the ...
0
votes
0answers
17 views

Sprite drag drop andengine

How to drag an andEngine sprite anywhere on the phone screen? I have written this code in onAreaTouched function of IOnAreaTouchListener interface which is implemented in my activity, but its not ...
1
vote
1answer
49 views

Generating mesh along path

I'm currently trying to generate a path along an array of points(Vector3) This is the result i'm currently getting The dark gray points are the given path The red points are the generated verticies ...
0
votes
0answers
18 views

Buffer resource as shader resource view

I am trying to build a shader that change the output color according to something that happen in my c++ code In my code I create a buffer with four element(each element containe four float - RGBA) ...
0
votes
1answer
27 views

Move a box2d body towards mouse [closed]

I'm using LibGdx's Box2D in Java. I'm trying to apply a force to the body that would send it towards the mouse. The problem is, I'm having trouble figuring out a way to send it directly to the mouse ...
0
votes
0answers
18 views

.NET Socket TCP Listener force quit problem [closed]

So i'm trying to setup a TCP server/client in visual studio with .net sockets for my xna game. And so far it works fine until the client closes the application. The error appears to be here. But I ...
1
vote
1answer
54 views

Using world coordinates instead of pixels

I've been told that having a set pixels-per-world unit number is bad practice because it will not look the same at different resolutions. Because of this, I am trying to learn about using abstract ...
4
votes
1answer
71 views

How do I convert screen coordinates to isometric tile map coordinates in libGDX using matrices

I know this has been asked many times but my question doesn't quite fit the others. I have an IsometricTiledMap and I need to get the tile under a set of screen X and Y coordinates. Here is a picture ...
0
votes
1answer
43 views

Unity C# new Vector3 problem

I get an error every time I try making a line with "new Vector3". Example 1: private Vector3 playerPos = new Vector3 (0, .5, 0); gives the error: The best overload method match for ...
0
votes
1answer
26 views

How do I fix the YAML error in Unity 5?

I'm using Unity 5 and I'm getting an error in a YAML file. The error is "Unable to parse YAML file: [mapping values are not allowed in this context] at line 1" This comes up every time I open the ...
0
votes
1answer
26 views

How to Reciprocally draw on a 3D mesh and 2D UI Image in Unity?

My question is a bit involved so I'm going to split it into parts and attach a picture. 1) In Unity I'd like to be able to draw a line on a 3D worldspace mesh with the mouse. 2) As I'm drawing on ...
0
votes
0answers
24 views

How to apply transform matrices retrieved from FBX

I'm trying to import a skeletal animation using FBX SDK. I followed this article, managing to load all the needed data, but when I try to display the animation the mesh falls apart. My knowledge of ...
2
votes
1answer
21 views

Where does Unity save the editor window layouts?

In every project there are the CurrentLayout.dwlt and CurrentMaximizeLayout.dwlt files, but those, as the name implies, are just the current layouts. I've been unable to find the general files where ...
0
votes
2answers
38 views

Inverting the Z coordinate of the light vector

I noticed that in some vertex shaders they invert the Z coordinate of the light vector, i.e. // Compute denormalized light vector in world space float3 vLightWS = g_LightPosition.xyz - ...
0
votes
0answers
22 views

Rotate model to face direction it's traveling in 3d with scenekit and swift - Boids implementation

I am implementing a boids simulation using Swift and Scenekit. Implementing the simulation itself has been fairly straight forward however I have been unable to make my models faces the direction they ...
-3
votes
0answers
24 views

How can I mesh Cubes in length, width and height in script? [closed]

I'm trying to make a voxel terrain like this image. Can someone make a script? Thanks :)
0
votes
1answer
25 views

Xcode project runs on device, but not simulator

I built a 2D game using Unity3d 5.1.1. When i build and run the project with iPhone connected, the game runs fine on the device. But when i select simulator instead of device, i get an error : " does ...
-3
votes
1answer
38 views

Unity Licensing

I'm sorry if this gets asked a lot but google gives up answers from back in 2008 and all sorts so could somebody please clear up a couple of questions for me please. I want to make 2D games in ...
-1
votes
0answers
23 views

LibGDX : Scene2D [closed]

I wanna make the right scrolling button smaller and the buttons inside it to touch the right edge of the Table inside the ScrollPane, the buttons are smaller the left grey part is the background of ...

15 30 50 per page