0
votes
2answers
36 views

onCollisionEnter2D not behaving as expected

I have two game objects. They both have a Rigid Body 2D and a Box Collider 2D components. One of them also has script component. Below is the full script using UnityEngine; using System.Collections; ...
0
votes
0answers
17 views

Use prebuilt chunks for dinamical generated level [closed]

I am looking for a way to create a dynamic vertical scrolling level using chunks of level which i build to be sure the level is playable. I am wondering how to create this levels and which is the best ...
0
votes
1answer
33 views

How can I add an animation curve to an object with no animations?

I want to scale text in different ways over time. I figured the best way to do this would be an animation curve. It turns out I need an actual animation clip just to create this curve. My question ...
0
votes
0answers
24 views

Is point to point networking suitable for mobile games? [closed]

Could I use a mobile phone as a server in point to point gaming? Are ports usually open over carriers and what ping can I expect over 3g/LTE?
0
votes
0answers
36 views

SDL/SFML if i have only got experience in java? [closed]

My question is, If i have a reasonable amount of experience in Java, would it be difficult for me to use a library like SDL or SFML. Should I learn more about c/c++ first or should I just jump in ...
0
votes
0answers
23 views

Unity: scaling and animations

In my Unity project I have a script that programmatically changes the scaling of an object during the game. Recently I wanted to add a spawning animation clip to my object, which modifies the ...
1
vote
1answer
89 views

Does game engines (like Unreal, Unity, Crafty) add value compared to pure js frameworks (react, ember..) for my isometric tile-based games [closed]

I'd like to create a huge tile-based board (say 100K tile). The game does not have any advanced graphics (you don't see the players or landscapes), the main difficulty is that it has 100K tiles to ...
0
votes
0answers
18 views

Parameter Hash does not exist [closed]

I am making sliding doors in unity Steal Tutorial project and using the HashIDs script to reference stuff. Getting this error : Parameter "Hash 71445658" does not exist. Well i see the HashIDs ...
1
vote
1answer
70 views

opengl : Running at least 25 windows with different Draw callback

I need to run at least 25 windows concurrently with each window rendering a different game state. I am storing all the 25 game states in the array of type GameState allGameStates[25]. For each of the ...
1
vote
0answers
28 views

Different Screen Sizes and Camera in Unity

Now I know that no matter what the screen size is the camera will keep its height, so no worries about that. My question is, is there a way to manipulate the camera, either its orthographic size, or ...
0
votes
1answer
17 views

Is it better to use an image component or to draw on a canvas?

I am developping a small 2D RPG with JavaFX, although my question might apply to any toolkit or even any language for the matter. I have two choices to display the characters, the scenery, the items ...
0
votes
0answers
42 views

WebGL Multiplayer Game - Direction Needed (Shaders) [on hold]

I've started looking into making a multiplayer game for web browsers. I started with a book "WebGL Up and Running" and it has lead me to be more curious about more detailed aspects of OpenGL. In ...
0
votes
3answers
30 views

How to calculate Pong ball's expected position perfectly (taking wall bounces into account)

I'm writing a Pong clone where the player has to type a word in order to move the paddle. Because of this, I need a way to calculate the position of the ball immediately after it hits the CPU's ...
0
votes
1answer
27 views

LibGdx Table not firing touch events

I can easily add listeners to the actors within a table, and they will fire events, but if I want an entire to table to have 1 listener and do not care to have differentiated effects depending on ...
0
votes
2answers
64 views

How to stop rotation every 90 degrees?

I was facing another rotation problem yesterday, that i managed to solve by rotating the object like this : transform.Rotate (speed * Time.deltaTime, 0, 0, Space.World); I tried almost every other ...
0
votes
0answers
37 views

How can I write algorythms for dungeon generation in Unity3D? [closed]

I'm currently working on a roguelike project which for the dungeon generation requires some work with Points and Delaunay Triangulation + Minimum Spanning Tree to connect various rooms of the dungeon ...
0
votes
1answer
22 views

LibGdx: How to check if VSync is enabled

I am just about finished my options screen, the only thing I need is some way of detecting if Vsync is enabled or not. I'm using LibGdx 1.5. I have tried to find an access to wglSwapIntervals, but ...
5
votes
1answer
299 views

How can I remove Magic Pink from an image at runtime using GraphicsDevice?

In XNA 4.0, I want to load all my textures at runtime, which means I will not be able to take advantage of the content processor. (This is fine because it would allow people to change graphics and ...
1
vote
1answer
80 views

OpenGL VBO and VAO Confusion

I would like to present here my Question about VBOs and VAOs. Basically from what i understand you can have different VAOs each of which can contain up to several VBOs , and by binding to the VAO's ID ...
0
votes
0answers
6 views

Block LOS tool texture triggered with door. Source engine, Hammer editor

I have problem with tool texture Block LOS. https://developer.valvesoftware.com/wiki/Tool_textures I want to use on doors, triggered when door is opened/closed, but I can't find right documentation. ...
1
vote
1answer
32 views

How do I make my camera follow my cube?

I've recently started to learn some C# scripting in Unity. I've been able to make my PlayerCube move around using Vector3 Transform.translations, but I want my camera to follow my cube while moving ...
0
votes
1answer
16 views

Moving a Sprite using Mouse in SFML (setOrigin logic needed)

I trying to make a card game using SFML. I want to move the card relative to the position the player selects on the card. I managed to check if the card is pressed. However, when I click and drag, the ...
-1
votes
0answers
18 views

Media sites for game designers [closed]

I am looking for a site in the states similar to theloop.com/au. Does anyone have any suggestions? I have tried https://processing.org/examples/flocking.html and www.mutualdestruction.net (no longer ...
0
votes
0answers
18 views

Lwjgl terrain generation [closed]

I am currently making a game and am wondering how one would go about making a terrain generator. Currently I have a mesh class to load all of the vertices and indices into, but how do I generate those ...
0
votes
0answers
11 views

Java how to fill a selected area with tiles [duplicate]

Hello this is my last try at asking this question because my other ones weren't great. I have a game where you build space ships. You can drag the mouse from one point to another and it will draw a ...
2
votes
3answers
67 views

How are win conditions handled in a turn based game?

Turn based games sometimes have different win conditions for different maps and mission. For example, control some structure for X turns, last X turns without losing a single soldier. They usually ...
1
vote
1answer
61 views

Random, Infinite Terrain Generation [closed]

I'm trying to generate random terrain for my game (In Unity3D, C#). All I need is water and grass. No height to it (no mountains or hills.) I'd preferably like to do it by placing individual cubes. On ...
0
votes
1answer
38 views

Unity3d webplayer failed to download data file

When testing my game web builds on localhost, I get the error "Failed to download data file". The game data file is correctly placed, and the page loads fine, it just wont download the plugin, or ...
0
votes
0answers
24 views

Grab all tiles within a radius?

I'm working on a 2D tile based game. I want NPC's to be able to destroy tiles, and ideally I would have a function, which takes a central x,y and then based upon a circular area from that point ...
-2
votes
0answers
16 views

java filling a rectangle with blocks [closed]

Hello I have a game like 2d space engineers where you place blocks to build a space ship I want to be able to drag my mouse from 1 point to another and be drawing rectangle in that area then when the ...
2
votes
1answer
61 views

Why does my simple OpenGL shadow map fail?

I want to render a simple shadow map for grass, where closer looks brighter and further looks darker, from the view of the light point. I can't get it to work. Here is the relevant code: //setting ...
1
vote
0answers
27 views

OpenGL enabled Java game not detected by Fraps

Recently I found out that I could enable OpenGL hardware acceleration in my java game with the line System.setProperty("sun.java2d.opengl", "True"); Initial tests showed a big boost in performance. ...
0
votes
1answer
18 views

How can I get the “SelfActor” in OnBeginActorOverlap?

The signature it takes is void ( AActor* OtherActor ) However, The actor that is handling this event is not involved in the overlap. How can I access the actor that owns this delegate? Assuming I ...
0
votes
0answers
13 views

2D viewport matrix World to Local coordinates

I would like to use a Matrix but it causes (or I think it does) problems with accuracy. Clearly classic float matrix causes jaggy movement/accuracy issues. The reason is that my objects have real ...
1
vote
1answer
48 views

2.5D Game - Using overlay as map

So a friend of mine and myself are starting to create our first game together. We descided on doing a 2.5D kind of game, so a static camera that moves with the player but cannot rotate. I got the ...
0
votes
0answers
12 views

how to build cocos2d-JS game as a native android app?

I have a cocos2d-JS game which runs in HTML5. How to I build it for android? The part I don't understand is how link cocos2d-JS to cocos2d-x. I know there's JavaScript bindings, but I can't find any ...
2
votes
1answer
22 views

How can I prevent seams when attempting to create a skybox for Unity5?

After following the documentation for how to create a skybox, seams are appearing around all sides of my 6 textures (sorry for faintness of image): There are no active lights in my scene. What am I ...
0
votes
1answer
34 views

Why aren't all public methods BlueprintCallable by default?

Considering the entire point of public/protected/private encapsulation is to abstract the class so it's easy to use, why does the programmer also have to decide if a method is callable from ...
0
votes
2answers
34 views

unity2D Top-Dow Mobile rigibody2D

im using this code for my 2D TopDown mobile player movement.but when i move player With UI Image buttons player keep moving.it didnt stop.and also player starting of move he is very slow. the he ...
0
votes
0answers
49 views

Rain World : How to have intelligent movement / animation?

In the project RainWorld the characters seem to move "intelligently" as they move "unrestricted". They seem to know "how" to move their limbs and "what" needs to be done. Here for an example the ...
0
votes
0answers
37 views

Dijkstra Pathfinding in Libgdx, some minor problems

I'm having some problems with my Dijkstra implementation in Libgdx. I understand that there are already AI libraries that can probably do this much simplier but this is a school assignment so i'm ...
0
votes
1answer
27 views

can't move a div (javascript) [closed]

Ok, before I begin, I know this is going to sound like a really dumb questions, but I need help, i am still very new to this. So despite the title, i know how to move a div, not very hard, but what I ...
-1
votes
0answers
20 views

What size sprites should I use for developing a 2D game for iPad Air and iPad mini? [duplicate]

I am developing a side-scrolling platformer that will run on an iPad Air and iPad mini. I am not sure how big to make my sprites/textures to ensure everything looks good on the retina screens. 1) How ...
0
votes
1answer
49 views

What is the difference between .obj files and Collada files? [closed]

I am currently making a game in java using LWJGL 2.9 and I am wondering what the difference between the .obj format and .dae format is. Currently I can load .obj files and would like to load .dae ...
0
votes
1answer
57 views

A* pathfinding not finding shortest path with weird behavior [on hold]

NOTE I have read through this thread and have tried the implemented answer The A* pathfinding algorithm works fine most of the time but in some specific cases, it seems to not use the shortest path. ...
0
votes
0answers
13 views

get the closest points [duplicate]

Let's say I have a bunch of points: What is the best way to get a certain amount of closest neighbors. For example I wan't the 8 closest points for point no 57. This without using brute force. O ...
3
votes
1answer
73 views

Geometry Shader not generating geometry for some Vertices

I am playing with a geometry shader and I am wondering why it doesn't generate geometry for each vertex in all meshes? I don't think this is a Cull problem because the same vertices generate ...
0
votes
1answer
55 views

Rotate Camera around GameObject in Unity [on hold]

Using Unity 5's new touch system, how can I rotate the camera around an object using touch detection, or "swipes"? I can do this using earlier versions of Unity, however the more recent version, Unity ...
0
votes
1answer
71 views

Delegation in unity C#

I have a game where I have balls bouncing and you shoot them. Since I need a way to end the level when the player shoots all the balls I though I would create a game controller script which will ...
0
votes
0answers
42 views

player sprite hidden after using a stage (scene2d library)

What i'am doing is showing a tiledmap on the full screen , and it works fine. The character moves perfectly and the camera too. What i want is : Showing some text or imageButton over the map like ...

15 30 50 per page