0
votes
0answers
6 views

Get Particular Object's collision status via C# script

My current scripts creates and modifys the location of various prefab objects as they go along the screen. One of the things I want to find out about the active object is whether it has collided with ...
0
votes
0answers
5 views

Javascript 2D game tile textures

I am using a texture atlas for my tiles. Of course I need to get the sub-images to draw them on the canvas as separate tiles. Right now I can think of two ways to implement this. Divide the texture ...
0
votes
0answers
11 views

Jenkins CI with Unity on local machine

I have seen some people using Jenkins CI with Unity, would it be wise to install Jenkins locally and use it with Unity? I've never used Jenkins, so I can't imagine why not. Is this ill-advised? I ...
0
votes
0answers
23 views

In Unity, how can I modify the shape of a sprite?

I am new to Unity and programming in general, however, I wanted to know how to change a sprite's shape. I want to do this while the game is running, so I was thinking about removing a set of pixels ...
0
votes
0answers
2 views

How do I implement a LWJGL orthogonal matrix?

As seen on the official LWJGL page, I tried. But failed. All the things I've found on SO and other sites didn't answer anything that had to do with this specifically. I've been on this for weeks. It's ...
3
votes
3answers
41 views

How to properly differentiate single-clicks and double-click in Unity3D using C#?

What I am trying to understand and learn here is a very basic thing: what is the most general and most polished way to properly differentiate single-clicks and double-clicks for the 3 main mouse ...
1
vote
0answers
13 views

Implementing Browser in Unreal Engine 4.10

I am looking to add some oauth to a game I am working on. I can get the user auth to work in the browser that comes with UE4, however there is not any capability to detect changes to the currently ...
1
vote
1answer
35 views

Darkness, and a candle

My game has a Pokemon-type movement mechanic. I would like my level was a pitch black level, but the player having a candle can lighten a circular area, and so walk without being able to see more ...
0
votes
1answer
25 views

Set input relative to map rotation?

I'm trying to figure out how I can make the input which looks like this : // Checks if player is pressing movement keys, if is applies force to specified direction if ...
0
votes
1answer
18 views

Rigidbody AddForce() skipping/teleporting

I'm surprised that this issue is nowhere to be found on these forums... Well at least when I searched. So, on my setup I have created a cube and applied a Rigidbody to the object with the following C# ...
0
votes
1answer
15 views

Game Maker: How to end the game after player defeats all enemy instances

I'm making a simple version of the game asteroids as I'm learning how to develop with Game Maker Studio. Currently, mostly everything works properly except that when the player destroys all of the ...
0
votes
1answer
8 views

GL_TEXTURE_MAX_LEVEL equivalent on DirectX

I'm trying to mix atlas and mipmapping for a kind of Minecraft editor I'm doing. Everything looks good until I reach the smaller mipmaps of the atlas texture, where obviously all the textures are ...
0
votes
1answer
10 views

Libgdx rotate sprite with collision

Im making a game where I have an object in the center of the screen and then balls come out from the sides of the screen. When you touch the screen the object rotates 90 degrees clockwise and it has ...
1
vote
0answers
8 views

How to add (not blend) non-looped animation clip to looped animation with Mecanim?

I have a GameObject with Animator and looped animation clip. This animation changes X coordinate from 0 to 10 and back. I need to add another animation to the first one that increases GameObject's ...
0
votes
1answer
25 views

OpenGL GLSL vector of sampler2D

If im trying to create an obj. file loader in c++ and draw it with opengl i need to use multiple textures in the fragment shader.I know i can just use: `uniform sampler2D Texture1` `uniform ...
0
votes
0answers
15 views

SSDO as 2D filter

I've been looking for a way to get SSDO as a 2D filter in Blender Game Engine. I know that it is possible, but I have no idea how. And I can't find any good resources online. Maybe someone can help me ...
-1
votes
2answers
23 views

How can I get information from a function

Okay, so if I use this code to randomly spawn balls at the top of the screen, how do i get them to move down: var max_bollar = 10; var i = 0; var timecounter = 0; var bollarcounter = 0; var ...
0
votes
0answers
22 views

What Is Vector Math? [duplicate]

Okay so I was wondering, what exactly is "Vector Math"? I was wondering if I needed to know physics for game development, and most people said you just need to understand the basics, but they said ...
0
votes
0answers
17 views

PID for car suspension [on hold]

All I wanted to know is - how accurate is PID for simulating car suspension? Assuming that P = spring power and D = damper power, I = 0, because under high load suspension just collapses. Does this ...
0
votes
0answers
5 views

How to copy texture of type GL_TEXTURE_EXTERNAL_OES to a texture of type GL_TEXTURE_2D

How to copy texture of type GL_TEXTURE_EXTERNAL_OES to a texture of type GL_TEXTURE_2D ? How to find the internal format of texture ?
0
votes
0answers
5 views

Bake Blurry metal in C4d

Been trying the bake a blurry or rough metal in Cinema 4d. I am looking to bake a stainless steel effect. Every time i bake the refection the reflection channel is clear... I have tried everything ...
0
votes
1answer
21 views

Can 2D Rigidbodies detect collisions with 3D Box colliders?

I would like to know if Rigidbody2D's can detect collisions with 3D Box colliders and/or normal rigidbodies. I seem to have a problem where my 2D Colliders don't detect collision with my 3D Cubes. ...
2
votes
1answer
44 views

I want to render a texture2d on to the screen in unity, how do I do this?

So I have modified a texture in C# by removing all of its white pixels, now I want to render it on the screen in unity so that later I can use it as a terrain where I can make my sprite walk. So far, ...
-2
votes
0answers
19 views

Most efficient structure of 2D games in Java [on hold]

Studying game development and as a beginner, i have started coding most simple games like flappy bird, pong or snake. I watch a lot of tutorials and they differ so much to each other. As you know in ...
0
votes
0answers
7 views

Slick2D Simple StateBasedGame not working

I recently started trying to work with outside Java libraries like Slick2D. This is my first time doing so, so I basically have no clue what I am doing. I tried making a simple StateBasedGame that ...
1
vote
0answers
16 views

Best way to find line segment intersection

I am working with an OpenGL ES 2.0 shader and need to find the point of intersection between two line segments in 2D space. I receive them in terms of both coordinates of both lines. Because they are ...
0
votes
0answers
25 views

developing game requirements [on hold]

I am a c++ programmer , and after 2 years and half learning c++ , I want to go in game development field ! I don't have even a clue , how to build a 2d game , like pong myself !i had experiences with ...
0
votes
1answer
35 views

How do I calculate a vertex's position on the CPU?

I'm creating light processor and I need light position and vertex position after translating, rotating and scaling (to calculate distance between them to check if light is affecting my vertex ...
0
votes
0answers
18 views

Align UI element to gameObject in 2D

I have a 2d game where I want to display UI element perfectly aligned to specific gameObjects. I have an ortographic camera and I used to Camera.main.WorldToScreenPoint() function giving it the ...
-3
votes
0answers
25 views

How does projectile hit detection work?

I need to build some form of hit detection in my game and hitscan wouldn't be very useful because I want it to be more realistic at long ranges. The battlefield game series doesn't use hitscan but ...
-3
votes
1answer
33 views

Treyarch Call of Duty Audio Engine [on hold]

This isn't a specific programming question, it is just my curiosity wondering about stuff. I assume most of you will have heard about the popular game, Call of Duty, especially around christmas from ...
-1
votes
0answers
35 views

Alternative to ogre [on hold]

I'm new to game dev . Try some free open source game engine like irrlicht ,ogre but irrlicht seam to be easy not for commercial production and ogre difficult to use more steps to do simple init. Is ...
0
votes
0answers
40 views

How to automate testing C/C++ slot games?

Sorry if my question is hella nooby in advance. I'm doing manual testing of slot games on actual virtual lottery terminals. I was wondering how can I automate test scripts? Is that possible at all? ...
0
votes
0answers
25 views

How to navigate through google Map in unity

I am working on loading the google map and navigating through the map. I have loaded the google map which shows the current location in unity. Now I need to show the direction from Place A to Place ...
-3
votes
0answers
25 views

iHomeless and Homeless android game tutorials? [duplicate]

I want to make a game like these 2. Very simple with just buttons no animations or anything like that. I just want too know if there is any tutorials online I can use to look at to guide me?
1
vote
1answer
32 views

Mesh slicing/knifing with multiple planes

I have a ginormous mesh which I want to cut with multiple planes. For simplicity I want to know how to cut a mesh with single plane and repeat the logic. Consider a X-Y plane of coords (1,1,0,0) = ...
-1
votes
0answers
38 views

How and Where do I start? [on hold]

I'm Nick, I want to learn how to develop games, I've seen videos that say start small, learn programming, use certain tools, but I have no idea where to start. One common tip across everything I've ...
0
votes
0answers
22 views

Enabling VSync results in stuttering

With VSync disabled my FPS doesn't drop below 100. When I enable it my FPS sits in the 55-60 range. The issue I have is that I have fast moving platforms that move at a constant speed, so a single ...
0
votes
2answers
67 views

How can i call a thing a lot of times (game: dodger)

Hey I am new to coding and i want to know how to get the same thing to hapen until i "say" stop. The game is that you need to dodge stuff that is falling, i was thinking that i could use a while loop ...
0
votes
0answers
23 views

Sampling in the Compute Shader not working

I'm trying to sample a image in the compute shader. My code is [numthreads(1, N, 1)] void VertBlurCS(int3 groupThreadID : SV_GroupThreadID, int3 dispatchThreadID : ...
-1
votes
1answer
30 views

Compute shader in directx 12? [on hold]

I was just wondering since directx 12 is out does it have a compute shader like directx 11??? Ive tried searching and didn't find anything.
0
votes
0answers
39 views

Kickstarter game development Contract [on hold]

I am wondering what I should do , I have started work on a game that is planned to be funded via kickstarter for the actual payment of me and the other members I'm fine being unpaid until the ...
0
votes
1answer
47 views

C++ & OpenGL - Bad orthographic projection matrix?

So I'm trying to render 2D text in my Game Engine using programmable pipeline. Normally I'm using perspective projection matrix but for UI elements I'm trying to create orthographic projection matrix ...
1
vote
1answer
28 views

Swept AABB Collision and Response Problems

I am working on a simple 2D game, and I am having problems with collision detection and response. I am using code adapted from this article: ...
0
votes
1answer
26 views

Unity test/Play mode window problem

I tried to find an answer to his problem but i wasn't successful. When i press play to test my game, instead of the play mode going to the Game tab and play the game there, with all the unity tabs and ...
0
votes
1answer
41 views

How to play an animation backwards in Unity?

I know this question has been asked before but it all involves using the Animation(?) component, so that is no longer any good in Unity 5.3.1f1, I explain a bit more later. I'm trying to simply get ...
0
votes
0answers
23 views

Java game architecture [on hold]

so Ive started to design my game engine, and this is what Ive come up with. There is an abstract Entity class wich contains some info (x,y,speed etc.) Now, I will want some entities to have health, ...
0
votes
0answers
35 views

Make GameObject be in front of image? [on hold]

I have a 2D image that always stays in front of a GameObject. And I have a GameObject that's always behind it no matter what its Z position is. How can I make GameObject be in front of image?
1
vote
0answers
38 views

ECS: AI components and systems

I'm trying to find the best design pattern for my AI code using an ECS. Right now the entities that act as CPU-controlled have components like: WeaponComponent ChargeComponent MovementComponent ...
0
votes
1answer
25 views

HTML Canvas Makes Everything Bolder On Right Side

For some strange and sudden reason, my canvas seems to make lines thicker and darker on the right ~1/4-ish. I have tried multiple browsers and different computers and they all have the same rendering ...

15 30 50 per page