0
votes
0answers
3 views

Slick2D crashes on Image.getGraphics() on some machines

On some machines, creating a new Image and calling getGraphics() on it causes lwjgl to enter into some kind of faulty state that crashes when swapping buffers. Any idea what causes this and how to ...
0
votes
0answers
12 views

SFML sprite batching

I'm new to game dev, I'm using SFML at the moment. Now, since I need to use lots of sprites at the same time I will probably need sprite batching. I know that sprite batching is used to draw multiple ...
-1
votes
0answers
32 views

which language is used for animation in Clash Of Kings Game

Can anybody told me which language or Game Engine is used by Clash of Kings Game. 1) For animation? 2) For Coding? 2) Back End (server End)
0
votes
2answers
30 views

2D indicator for Rotation in 3D space (this time with picture)

Here we go again. this is the view from my spaceship. it can move arround in 3d space and turn up, down, left and right (And rotate around it's axis but I think we can ignore this for now) The planet ...
0
votes
0answers
5 views

Cocos2dx How to show different parts of a scene in a split screen

I come from an SFML background and you could show different parts of a scene in split screens by manipulating sf::View. Is there any way to do it with Cocos2dx? I plan to make a split screen game but ...
1
vote
1answer
182 views

How to rotate an object to face another in Unity?

I'm having an issue where I can't seem to rotate my bullet appropriately whenever I spawn one. I currently have a capsule prefab I am testing with. I spawn it with the following code. ...
0
votes
1answer
33 views

Can someone explain to me the difference between 2 XNA methods?

I was recently trying to make a boucing ball off the environment walls. I apparently had everything correct, except for one thing, that I corrected stupidly, which made my code work, but I don't ...
0
votes
1answer
38 views

How do I make a time lapse in my code so it updates slower?

I have made some collision if statements, but they didn't work. birdbox3.X += 5; birdbox3.Y -= 5; if (birdbox3.Intersects(Banner1)) { birdbox3.Y ...
1
vote
1answer
41 views

What are names like “net.minecraft.blocks” called?

I'm trying to find these types of names for certain Minecraft blocks to add them to a block whitelist for one of my mods. Is there an actual name for these? If not, how would I go about finding a list ...
0
votes
1answer
18 views

Rotation and timer at the same time

I have a project where I flip a card after 5 seconds, then I want to start a countdown timer of x seconds. After x seconds the card flips again. I found a good example for the timer here, but that ...
-3
votes
1answer
37 views

What's the difference between Rendering pipeline and compute shader?

What's the difference between rendering pipeline - https://msdn.microsoft.com/en-us/library/windows/desktop/ff476882.aspx and compute shader - ...
-2
votes
1answer
32 views

Is RHI and C++ cross platform renderer are frameworks?

Is RHI a framework like this one- http://www.rastertek.com/dx11tut02.html but much more diverse? If yes, then what is C++ cross-platform renderer, is that too a framework like this one - ...
0
votes
0answers
20 views

Unity3d iOS build - where are the textures?

First time building and running my Unity3D app on my iPhone and it appears that all the textures are missing. Everything is just a solid block of whatever color I made it. When running in Unity I ...
0
votes
2answers
34 views

How to move dashes towards target?

Would you know how to create a dash line that moves towards the direction of the target, and if it collides with a wall, goes to the opposite angle? I have seen atan2 but I am not sure what it does, ...
0
votes
0answers
19 views

Have several classes with a common interface, but still able to access MonoBehaviour methods through that interface?

In our project we used to have a PlayerObject class and then Unit and Building derived from that class. We recently started taking a look at Bolt, which requires classes that define objects that may ...
0
votes
0answers
27 views

How do I make a multiplayer android game with online servers? [on hold]

I made a android game and I want to convert it to multiplayer game with online servers.So i got a domain name and hosting.But I have no experience on websites,domains etc.Do i need some html codes for ...
6
votes
2answers
473 views

Getting a Ranged AI “In Range” to shoot

In my game, ranged units and melee units have the same behavior. Ranged units try to maintain a fixed distance r, from their targets. If they're within r + d of the target (where d is a small value) ...
0
votes
0answers
30 views

OpenGL messy lighting on sphere

I made a set of objects that are animated and move around the screen. The animation looks fine, but I'm having issues with the material settings. The lighting on the sphere looks very bizarre. A ...
0
votes
0answers
12 views

Good books on fluid simulation [on hold]

I am extremely interested in Fluid Simulations and I know some advanced mathematics (Linear Algebra, Vector/Multivariable Calculus, Probability Theory and in the next two semesters I take two ...
0
votes
1answer
26 views

getting my opengl/c++ program to run on my nvidia gpu

I'm a newbie to graphics programming but not to coding in general. I've been learning opengl from the openGl superbible 6th edition. I was trying out the shader examples from the book but couldn't get ...
0
votes
1answer
27 views

How to hide game assets with release build

I'm making a game with SFML 2.0 and finally made a release build. The file path to game assets are relative to the .exe file, so that means folders such as "Fonts", "SoundEffects", etc. are explicitly ...
0
votes
0answers
10 views

Invalid operation (1282) in GLSL vertex shader

My GLSL vertex shader works fine, but you if put a for loop inside or rename the uniform xxx to something else, it says the follwoing: Exception in thread "main" org.lwjgl.opengl.OpenGLException: ...
-1
votes
0answers
16 views

Can i legally remake a game like they did with toontown? [duplicate]

There's this game that said they would add a fourth part to if enough people asked. There were polls with many people asking but 5 years later and still no part 4. This game has been around since the ...
0
votes
0answers
30 views

How to obtain age of a gamer? [on hold]

If I were to make game with lots of pornography, violence, drug usage, whatever, in it. I'd surely like to verify the gamer actually being 18+ or 21+. What are the legal and trusted ways to do it? ...
0
votes
0answers
11 views

SDL 2 Rendering texture outside screen

This is driving me mad. I'm creating a game using SDL2 + Box 2D, I use a renderer and textures to represent everything, today I noticed a huge lack of FPS due to my use of SDL_RenderCopyEx (used only ...
1
vote
2answers
111 views

Unity: DontDestroyOnLoad

I'm viewing tutorial of Unity. In this tutorial, I see this piece of code: public class GameControl : MonoBehaviour { public static GameControl control; public void Awake() { if ...
0
votes
1answer
29 views

Trying to implement physics to my player. Can't get it to work

I'm currently stuck on where to add physics to my player. Currently it's set so the player spawns in the middle to the left of the screen and can move around, but I want to make it so the user has to ...
2
votes
1answer
45 views

2D Physics: What happens with torque when center of mass changes?

Novice programmer and explorer of simple 2D physics, here. I have a simple 2D object made up of two rigid bodies connected at a fixed joint. The two rigid objects can rotate freely about that fixed ...
0
votes
2answers
30 views

How to detect a cursor inside a non-rectangle shape

How can I detect and do something if the cursor is inside a hexagonal shape? Is there any way other than detecting if it's in a rectangle area close to the shape of the hexagon? It would also have to ...
0
votes
0answers
4 views

Problem while importing bip files in 3ds max

I am having a problem while opening many .bip files in 3ds max .I am using 3ds Max 2015 .I get the following error My dump file is Dump File: 3dsmax_minidump.dmp : C:\Users\bla bla ...
0
votes
0answers
40 views

How to get a position from a radial distance and angles?

I have a radius and the 2 angles for northSouth and eastWest rotations in degrees. I need a Spherical position or a cartesian position (I have code translate one to the other) Where a position is ...
0
votes
1answer
15 views

Unity3d - c# - changing FPSInputController controls through script

For a game I am making I would like the user to be able to change the controls (in game NOT through the clunky launch window (wich i disabled)) I have the system working but don't know how to change ...
0
votes
0answers
21 views

Strange result, when changing variable name

I have no idea, what is going on. The mat4 xxx is the cause. Renaming it to "bones"/"bone_transfromations" etc. won't work it gives me an error. Renaming it to "test" works perfectly fine... This is ...
1
vote
2answers
30 views

How do I create and implement a sprite sheet for my SFML game?

I have a game I am currently working on, and I have created 6 16 frame animations for my player character. Currently each of these are saved as seperate .jpg files, which are about 1.5x bigger than I ...
1
vote
0answers
31 views

Find the largest empty space inside a cube populated with a point cloud?

Lets say we have a set of points (x, y, z) where we know 0 < x < 1 (same for y and z). Now that 3d space is populated with monsters, players or what not. The points represent their location. We ...
1
vote
1answer
23 views

2d character implementation in unity with a baseball bat

I going to make a 2d baseball game in unity so how should the player and bat be connected,Or if i use single sprite of player and bat, then how the exact collision of bat and ball should be detected.
0
votes
1answer
37 views

How to draw the simplest grid map OpenGL 1.0

I want to draw a simple black & white grid map, like that: I have been searching for a way to generate tile, a tile map and tho and I want to draw this map and thats all. I mean that I want to ...
-4
votes
1answer
48 views

Are these functions and parameters used in DirectX 11.2? [on hold]

Functions and parameters like WINAPI, hPrevInstance, hInstance , PSTR etc are used in DirectX 11.2?
0
votes
0answers
26 views

If item in inventory then give these options [on hold]

Metaphorically speaking, I'm learning python in a community college for game programming; and our second assignment is to make a text based game. I'm stuck trying to figure out how to get the code to ...
-1
votes
0answers
17 views

Key and lock function? [on hold]

Metaphoricaly speaking. Im learning python in a community college for game programming and our second assignment is to make a text based game, and im stuck trying to figure out how to get the code to ...
1
vote
3answers
52 views

Finding neighboring coordinates on offset tile map

I have a grid of hexagonal tiles. Every other row is slightly offset for visual reasons. Imagine a player touches any tile - I need to compare the coordinate of that tile, with any tile they touch ...
0
votes
0answers
22 views

Pausing an animation in Libgdx

How would I pause an Animation from the LibGdx animation class? I've followed tutorials that teach me how to animate a sprite sheet but none to pause it. I'm trying to make an animation play once ...
3
votes
0answers
39 views

What are the advantages of tangent space shading/lighting, and what about attenuation?

In several topics here it was suggested by people that doing lighting in tangent space is better than doing it in world space. Right now I am doing it in camera space, but it's really similar to world ...
0
votes
0answers
22 views

Is sidescroller movement just offsetting the background?, MonoGame/XNA

When I make a sidescroller game and what to move my character do I just offset the background, or is there another better way?
0
votes
0answers
27 views

I'm getting an ArrayIndexOutOfBounds Exception and I don't know why. Can someone shed some light? [on hold]

This is my first time making a 2D game. The code is in Java. I have a character that can shoot blasts at zombies, and this is how I have been dealing with the collision detection between the blasts ...
0
votes
1answer
50 views

Collision Detection algorithm using Line Detection

For a 2D physics sandbox I am working on, I need a way of detecting detecting a collision using lines. This sandbox uses a class called Particle, which has a x and a y (stored as a struct called ...
0
votes
1answer
15 views

Loading Indices Collada File

I have been writing a COLLADA loader in c++ and I have run into a problem loading the indices for the mesh vertices whenever I try and find what indices correspond to the vertices and I try and draw ...
0
votes
1answer
108 views

Why do games like Guild Wars 2 and Clash of Clans require you to manually collect loot?

For example, in world vs world in Guild Wars 2, enemies drop bags that you have to manually collect. Then you have to manually open the bag which may contain other bags that you have to open. In ...
0
votes
0answers
23 views

Libgdx: different speed on different devices

I am running a simple Libgdx app that I have wrote, on my Android phone and Android tablet and I am getting the unexpected result of having different velocities when a body is moved. To move the body ...
0
votes
0answers
24 views

OpenGL using VBO to draw a tile map [on hold]

So I read about VBO and I want to draw a tilemap with that. How do I put something in a VBO?

15 30 50 per page