0
votes
0answers
2 views

Set forward rotation of already rotated Quaternion. Unity3D. C#

I need some help with this please. I need an object (e.g a cube) to be able to move around a sphere as if it were a planet, while being able to set its forward direction. I already have the code for ...
0
votes
0answers
7 views

std::vector clears after every frame?

Not a question, but a bug I've been handling for a few days. Thought I'd share the solution since it was so obvious. The stack gets cleared after every function call. So if you are accessing a vector ...
0
votes
0answers
5 views

What are the critical differences between testing mobile app and web sites?

I have finished the training for beginners testers. But we learned on testing web sites, not mobile apps. I'm interesting in mobile testing too, but have no any experience in it. Mobile OS, difference ...
0
votes
0answers
3 views

AI: Turn-Based Movement with 2 actions per Unit

I am currently building a turnbased tactics game. The Board is a small (about 4*6) tiled grid. The AI plans all moves of its units, each unit can move 2 times move and attack or attack at ...
0
votes
0answers
4 views

Garment Maker crashing in 3ds max 2013

Problem : when adding garment maker on any object with density 0.01 it works well but on increasing the density it crashes. what i have tried : removing auto mesh option in the garment maker ...
0
votes
0answers
4 views

Mixing animations in an 3d Tennis game in Unity 5.3

I am trying to make an 3d Tennis game. This is my first Unity Game. My game requires multiple animations like running and hitting the ball, making a volley on net, Serving the ball, etc. I am ...
0
votes
1answer
14 views

Gamemaker studio - Rooms Object doesn't stick inside the square grid

I keep trying to put an object into the square of the grid but the object keeps going to the top corner of the square; also I can't place multiple objects by grabbing the 4 point on the vertex of the ...
1
vote
0answers
7 views

Chunk/Region Compression/Decompression

Reading this article here, the author writes about chunk saving and using a lookup table and then saving each chunk in a region file, each region file having 4096 chunks and each chunk having 4096 ...
1
vote
0answers
12 views

In Unity, is there a way to Set a new MeshRenderer?

Here is what I want to do in Unity for a given GameObject go = new GameObject(). I want to create a MeshRenderer, change its properties and only in the end set it as the component of go. For instance: ...
1
vote
0answers
13 views

Details of what GPU actually do between primitive assembly stage and fragment shader?

I am learning programmable rendering pipeline by implementing a tiny software renderer. I try to implement it in a 'hardware' style. However, I am not familiar with the GPU pipeline and got some ...
0
votes
0answers
41 views

What will happen if i sell my game that was made with a cracked engine [on hold]

I can't seem to afford to buy a license for GameMaker Studio and I am currently using a pirated version of it. what will happen if i put my game on a website like gamejolt or even steam will ...
0
votes
0answers
12 views

Making an iOS game like Age of Empires [on hold]

Hey me and two of my friends are students and trying to make an iOS game. We're two programmers (CS majors with experience in Swift / Java / Python / C / C++) and a graphics guy. We want to build ...
0
votes
1answer
27 views

Entity-components pattern and memory management

I indent to use a level-entity-components hierarchy in my c++ game engine where level is just a placeholder for entities. However, since I'd like to setup all the levels at once (and thus entities and ...
0
votes
1answer
24 views

How to program destructibles? [on hold]

Sorry for asking four questions at once but these are all on the subject of "how do I do this and what are the pitfalls". I'm building a space ship! I was wondering about the simplest way to make a ...
0
votes
0answers
7 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
25 views

What kind of parallelism is usually used in game development? [on hold]

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
28 views

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

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
17 views

How to animate a child in Unity

I am making a FPS Zombie game. I have the walking animation attached to the player camera and I have the gun attached to a game object called "gunPoint", which is a child of the player camera. I ...
0
votes
0answers
5 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
16 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
18 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
13 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
27 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
15 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
36 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
42 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
23 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. ...
1
vote
0answers
12 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
33 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
23 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
32 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
83 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
19 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
22 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
13 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
8 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
30 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
23 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
11 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
15 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
34 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
37 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 ...

15 30 50 per page