0
votes
0answers
3 views

How can I have margins or padding around a texture in libgdx?

I am building a game using libgdx a 2048 like game and I draw the tiles of the board using textures (each texture represents a tile with the number 2 or 4 etc.) I would like tohave a small space ...
0
votes
0answers
11 views

What kind of parallelism is usually used in game development?

Since I'm starting to learn about parallel programming, I was curious about what kind of parallelism is usually used when developing games and if different kinds of parallelism are used in the same ...
-1
votes
0answers
12 views

What engine should I use to make an open world, 2D sandbox sidescroller?

As the title says, I want to make an open world sandbox that is a 2D sidescroller. I have considered Unreal and Unity, but I'm not sure which, and I haven't completely shut out the idea of making my ...
0
votes
0answers
3 views

I don't know how to animate a child in unity

I am making a FPS Zombie game and I have the walking animation attached to the player camera and i have the gun attached to a game object called "gunPoint" and that is a child of the player camera. I ...
0
votes
0answers
3 views

How to ensure a condition in a behaviour tree when processing followin nodes?

Exmaple Tree (Source): As far as I understood, a sequencer iterates over the children until one failed or all are successful. If one children returns "running", the sequencer will start to process ...
0
votes
0answers
11 views

How can I hide the Transform in a Prefab?

I have a prefab. It has a script attached that has this code: void Reset() { transform.hideFlags = HideFlags.HideInInspector; } If I create it, the Transform is hidden. Good. When I move it ...
0
votes
0answers
17 views

My points are being draw in 2 locations?

Alright so I have an array with a bunch of vertices and I would like to draw it as line strips and as points. What I do is the following: glGenVertexArrays(1, &VAO); glGenBuffers(1, ...
0
votes
0answers
10 views

Hotplugging LibGDX

Trying to find a work around to getting hotplugging to work with LibGDX (the latest version seems still like it doesn't support it). Anyone know of something I could do to get joystick hotplugging to ...
0
votes
0answers
12 views

Sync bullets node.js phaser.io

i am currently having a struggle thinking about syncing bullets. I am using node js and phaser.io and I am creating top-down shooter. I would do it like this: Player shoots a bullet. Player ...
0
votes
0answers
17 views

Game Physics with RK4 and VB.NET

http://gafferongames.com/game-physics/integration-basics/ I tried to have a go at porting this to VB.NET: Public Structure State Dim x As Single ' position Dim v As Single ' velocity End ...
0
votes
0answers
14 views

Unity Commands giving warning “Trying to send command for non-local player”

I am trying to spawn objects on the server(then spawn from server to client) calling from the client but I get this warning and it doesn't spawn: Trying to send command for non-local player. ...
0
votes
0answers
34 views

More efficient way to load a sprite tilesheet(for animation) and how to avoid the texture dissappearing when it reloads? OpenGL, DevIL, C++

I'm not actually developing a game yet but I came here because I figured this would be the place to ask this kind of question. Issue 1: I have these tilesheets that I can load just find and they ...
0
votes
1answer
39 views

For Indie Developers should abstraction or development speed be prioritized? [on hold]

As an indie development team/business with no projects released and therefore no income, should abstraction or development speed be prioritized? This question assumes the following: This is the ...
0
votes
0answers
22 views

How to silence the Windows Asterisk sound?

When pressing keys while my game is running, Windows makes the "Asterisk" or "Exclamation" sound that you hear while trying to use the keyboard on a window that doesn't have focus on an input control. ...
0
votes
0answers
10 views

Animator Component gets removed automatically - Unity

I am creating a simple scaling animation on image (in Unity). When I play game in unity editor, the animator component get removed automatically. Here I am copying snapshop of Inspector of Image. ...
0
votes
1answer
30 views

texelFetch weird behavior

I am writing an isometric game engine on OpenGL (version 3.3 specifically). For each wall tileset i have volume mask tileset for the wall relative volume coordinates. Volume mask looks like this: ...
0
votes
0answers
20 views

Dynamically add Components to an Entity

In my game, I have an entity which is an empty robot, and some components which are parts for building that robot(arm, head, weapon, tool, etc) and each part consists of different types. What I want ...
1
vote
2answers
28 views

How can I register Mouse Events in the Scene window of the Editor?

I want to create a custom level editor for the level designers that should allow them to place predefined objects in Unity3d similar to the Terrain wizard. How can I register Mouse Events in the ...
0
votes
0answers
9 views

Why does my STB Vorbis decoder occasionally cause an EXCEPTION_ACCESS_VIOLATION?

I wrote an stbVorbis based decoder to load .oggs mostly using this tutorial. However, my code consistently causes an EXCEPTION_ACCESS_VIOLATION upon calling ...
1
vote
2answers
74 views

How to generate a city street network?

I would like to create a city generator for a game, but I am facing a problem at the very start of the generation: the road system. As it is a medieval world, I don't want a grid plan like many ...
0
votes
0answers
17 views

SFML2 parsing .tmx using STP

Im trying to load .tmx maps from Tiled Map Editor into SFML 2.3.2 using an extension library called STP. However, when i try to compile the provided example code from STP i get a linker error. ...
0
votes
0answers
12 views

Finding minimum horizontal offset to disjoin two objects in 3D

This is an extension of sorts of the question asked here: Allowing a player to walk up and down slopes without resistance I am using the Separating Axis Theorem to determine the minimum translation ...
1
vote
1answer
21 views

Level/Asset design for performance Unity

I am a big fan of modular assets. Currently I am designing a 3d game for mobile and I don't know how I should create my levels to get the most out of the device. Should I... create lots of "small" ...
1
vote
1answer
14 views

Average height of any point in a shape

Super quick intro. I am making a terrain generator (With a MC exporter mostly to debug). For the islands I am creating a map with points, and create a Voronoi diagram from it. Each intersection (Where ...
0
votes
0answers
4 views

Game Maker - Collision With Subimage Total Storing

I have 3 objects: obj_bullet, obj_meteoriteLv2, obj_tempMeteoriteLv2. obj_meteoriteLv2 contains 4 sub-images. obj_tempMeteoriteLv2 helps obj_meteoriteLv2 spawn. obj_bullet is controlled by player, it ...
0
votes
0answers
7 views

Unity and C# - Lighting concentrated on floor with RenderSettings? How to get even lighting on all objects?

I am just getting into lighting with Unity 3d and right now have a function that progressively deepens the lighting of my scene here. I have done this via Render Settings and have tried 3 different ...
0
votes
2answers
25 views

Game Maker - Random Won't Stop

I make a project. I want to make randomize number & draw the number result. So, I make obj_BossText, which has a draw event & executes a code inside the event. This is the code: randomize(); ...
0
votes
1answer
29 views

Gravity wells that go with finger

I have a simple particle game, where all the particles are arranged in a grid. This game is for touch devices so to take advantage of it I am trying to have a multitouch gravity field thing going on. ...
1
vote
0answers
22 views

How can I model AI Interactions across the entire game world without computing them individually?

I'm making a 2D top-down tile-based game in C++ using SDL2. The game uses a very large world map (think Dwarf Fortress). My world terrain is generated using a noise function, another function is ...
0
votes
1answer
10 views

Load game data via ajax

what are The Best practies To load game data that are Stored in a mysql database? I'm using ajax request. But The async Call is a problem because i can't sync The game level with The data load. And ...
0
votes
1answer
14 views

How to get which gameobject the mouse is over in Unity?

So I'm working on a simple drag-n-drop based trading card game for my own amusement. There is a card inspector included. What I want to achieve is to change values in the inspector (which has its ...
0
votes
0answers
15 views

GLSL `vec4` as return type syntax error? [on hold]

Here is my GLSL fragment shader code: #version 430 in vec3 fragPosition; in vec4 fragColor; in vec3 fragNormal; uniform int num_lights; layout(std430) buffer light { //... } vec4 lambert() { ...
0
votes
0answers
13 views

Random Disconnects on UNET

Using UNET, I can't host a game for more than a few minutes unless both server and client are on the same computer. It appears that I am not alone in this. Essentially, any latency problems or ...
0
votes
1answer
32 views

Unity 3D - create autonomous moving robot in house + first person camera movement

I have very, very little knowledge about programming or Unity. I have done some basic tutorials, but I want to try something harder. The thing is, I don't know where to start. If you find the time to ...
0
votes
1answer
34 views

How to make an object fly disabling gravity through C# script in unity

I want to make an object fly which has ridged body physics by disabling its gravity after pressing a key. So I just want to know how to disable gravity through C# script. I already went through google ...
0
votes
0answers
13 views

How to flag interactivity to a player without an avatar? [on hold]

I'm working on the opening sequence of a game. As with many games there'll be an intro scene where the player can't do anything. And I want to transition smoothly to letting the player take control ...
0
votes
0answers
13 views

Why can't import height maps in Cryengine 5.1.0?

I just downloaded CryEngine 5.1.0 and started following the docs. I downloaded Cryengine V Beginners Pack. When I try to import FishingLakeHM.raw, I'm just left with the blue ocean and all terrain is ...
0
votes
0answers
23 views

Ambient Occlusion

I've seen many tutorials on SSAO, but none for simple ambient occlusion maps. I can see myself working things out alone, as AO maps are simple greyscale maps that indicate where there should be more ...
0
votes
1answer
12 views

Should I use one GLSurfaceView.Renderer for each part of my game?

I am creating a small platformer-like game for Android using OpenGL. The game has 3 main screens/states: Main menu screen Level selection screen The game screen Currently I use a ...
3
votes
1answer
32 views

Matte reflection effect in Unity?

I'm trying to achieve that kind of scene but in real time using Unity. It's basically composed of some primitives, a skybox, and a plane. I'm intrigued on how to do this effect in particular: ...
2
votes
0answers
19 views

Environment mapping without cubemap (need coordinates projection)

I'm working on a project with C++ and glsl (4.1). I have implemented a mirror object which is a plane at height 0 that works as follow: I render the scene with a MVP computed such that the camera ...
0
votes
0answers
10 views

HTML5 game - Difference in layouts in webview of app and webpage

I have created a working prototype of an HTML5 game and tried to convert it into an android app using PhoneGap. My issue is that the layout of the screen is bigger in case of the webview of the app. ...
0
votes
0answers
10 views

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded

I am creating a project in Unity 5 free and using external dlls. I have a scene that is running normally within Unity but when I try to build the project as a standalone windows game I get this error ...
0
votes
0answers
4 views

LibGDX Box2D Body shape transformation

In the following method my player Body is created: public static Body createPlayer (World world) { BodyDef bodyDef = new BodyDef(); bodyDef.type = BodyDef.BodyType.DynamicBody; ...
0
votes
1answer
56 views

How to combat exponential growth in sprite messaging?

In my 2D platformer game, I have a number of sprites moving around the world. When two sprites collide with each other, I calculate how deep the collision is and then call a virtual method on both ...
0
votes
2answers
20 views

How can I use a data grid to make an isometric turn based game in GameMaker?

I am making a Hero Quest clone. It is a turn based adventure game with an isometric view point. So far I have been able to turn a 2D map into an isometric view but I believe I need to use a data grid ...
0
votes
2answers
46 views

2D Collision in tilemap - ArrayOutOfBounds

im trying to do collision detection with world based on tilemaps (two dimensional array) array - private int WIDTH = 10; private int HEIGHT = 6; String[][] simplemap = new String[][]{ { ...
-4
votes
0answers
28 views

I want to upload my game [on hold]

i want to upload my game and want installs for it Kindly help me out in this , so that my talent would be shown to all of the world
0
votes
1answer
19 views

Play and Stop Animation on Condition - Unity

I've applied a scale animation on Play button of my game. I want to stop animation when play button is not interactable. It stops playing animation, but animation is not playing again, even when play ...
0
votes
1answer
18 views

Applying texture inside of an Icosphere?

I have implemented a code to generate an Icosphere procedurally in Unity 5.3.4f, which works pretty well. However, what I need to do know it tweak the code to make the sphere to receive texture only ...

15 30 50 per page