0
votes
0answers
18 views

Why are faces being drawn like this with my custom shader?

I've been writing a custom surface shader which allows for vertex colors (with alphas) to be set programmatically. From test runs of the shader itself, it works perfectly fine, and I am able to set ...
0
votes
0answers
4 views

Box2d Body filled with a texture Libgdx

I have a simple triangular shape (obstacle) in my game and i would like to fill it with a texture repeatedly. I have looked at the other 2 topics but couldn't find a working solution. How can i fill ...
0
votes
0answers
10 views

How to handle global Data within a state machine setup? (C#)

I am currently building a turn-based framework (Unity,C#) I was tired of my former tight-coupled systems and opted for a state machine this time, basically all components subscribe to the state-Enter ...
0
votes
1answer
19 views

Top Down Bullets will not move

I have a top down shooter. The player can move in the primary 4 directions, and follows the mouse for rotation. When I shoot, the bullets never leave the player, they just spawn on top of the player ...
2
votes
2answers
276 views

Removing delay at start of a key press

I'm making a simple game, and one of the problems I encountered is the annoying delay when pressing a key continuously. So basically, when I press (for a very long time) for example Up, my object ...
1
vote
1answer
25 views

2D circle against a corner change in direction

I have a 2D Ball that might go against a wall. If the Ball goes against the wall perpendicularly, it will just invert its direction (assuming no air resistance and no bounces that should make its ...
0
votes
1answer
32 views

Get the difference between 2 matrices

Hi I'm using C# and MonoGame, and have the world matrices of 2 objects. I need to get the difference between them, so I can effectively parent the second object onto the first. The aim is to get to a ...
0
votes
1answer
30 views

Why is my custom shader rendering completely transparent?

I'm currently trying to learn how to write shaders, so I'm getting my feet wet with Unity's Shaderlab format. One of the first things I tried was to write a surface shader that supports vertex colors ...
0
votes
0answers
11 views

Load 2 triangles in a simple DX11 example

I'm following this tutorial, where they show how to setup a simple dx11 demo with a green triangle in the middle. I'd like to be able to modify it so that it shows 2 triangles instead, i modified the ...
0
votes
0answers
21 views

How to check strings from multiple lines in one input field?

I need help with input fields. I already set the line type to 'Multi_Line NewLine' in inspector, but I have problem with submitting the string. Here's the code: using UnityEngine; using ...
0
votes
1answer
21 views

LIBGDX: Translate grid drawn with ShapeRenderer with an OrthographicCamera

I am trying to draw a grid for my "world" that may or may not extend beyond the screen. What I would like to do right now is draw the entire world (which is relatively small) and then use the ...
-1
votes
0answers
27 views

How to listen and take action on Steam CSGO dedicated server live state [on hold]

I have setup a CSGO dedicated server on win7. This game is visible on player machine in Internet tab and also they are able to play it. As the player plays game, the stat, and logs are continuously ...
0
votes
3answers
37 views

Problem with handling key input C#

I am attempting to make a game in C# in windows forms, and need for the character to react to key input. I have implemented a very basic code which changes the position of a picture box on key ...
1
vote
0answers
15 views

Correct form of the GGX geometry term

I'm trying to implement a microfacet BRDF in my raytracer but I'm running into some issues. A lot of the papers and articles I've read define the partial geometry term as a function of the view and ...
-5
votes
0answers
26 views

How do I get more information on gamification? [on hold]

I am new on Android development. I am working on an educational game project. I can use any information on gamification tools, concepts etc. Thnx in advance
-3
votes
0answers
36 views

Which Language to Learn to Start Game Development [on hold]

I'm thinking about starting career in Game Development, which programming language should I learn and on which game engine. I like 2d Games
0
votes
0answers
18 views

Two game object efficient and fast on-off switch

I have two game-object, on GUI button click i am toggle between them but the problem is one game-object which is small contains less vertx etc., is loading fast while the other which heavy taking ...
1
vote
1answer
29 views

Detect Collision on Child Object

I've created an obstacle prefab. The Prefab has following hierarchy. The player must die if he collides with Enemy. But It detects collision with parent object. I am also uploading the screen shot ...
1
vote
1answer
17 views

Making Basic Touch Behaviors

I am trying to make Basic Touch behaviors for my game where i want to Pan Camera by Single finger touch. Zoom Camera by pinch With two fingers ofCourse. Rotate Camera by two fingers rotation. Rotate ...
0
votes
0answers
13 views

Windows 10 UWP Game development [on hold]

I intend to create a simple 2D game for entire suit of Windows platform (UWP). I haven't used any game development engine or otherwise before. The game would basically have a simple physics engine, ...
0
votes
1answer
27 views

Don't understand how paddle location is tracked; using XNA tutorial

Wanting to learn how to make games, decided to use Monogame. Have pretty light programming knowledge, so I apologize beforehand for my ignorance to this surely obvious oversight. Following a ...
0
votes
0answers
14 views

What is the best way to animate a jumping motion in Unity 3D?

I am creating a a simple 3D game in Unity with a character who runs, walks, jumps, swims, shoots etc. I am pretty satisfied with my results in all the motions except jump. I need to know at what ...
0
votes
0answers
14 views

How do I figure out the view space coordinates for the screen extents?

I am trying to implement clustered shading which requires bounding boxes for each view sample. In short, I'm interested in creating a single bounding box that would cover all screen space. Here is my ...
0
votes
1answer
15 views

How Do I Play An AnimationClip

I want to play an animation but it seems that in The new version of unity it is harder. I have an AnimationClip but I don't know how to play it. I have been looking at this for 2 hrs now and i cant ...
0
votes
1answer
33 views

How to fill a canvas with triangles that are seemingly random?

Given a canvas say, 1000 X 1000 unit. I would like to fill the canvas with triangles. The triangles can be of any type right angle, equilateral...etc. To avoid big chunks of triangles lets say all ...
1
vote
0answers
11 views

Categorizing Projectiles in an arcade shooter (multiple inheritance?)

I have been working on a simple arcade shooter in Java in the vein of missile command/space invaders. I've made a base Projectile class and have been extending other Projectile types from it, This ...
1
vote
0answers
22 views

How to integrate Tiled maps and collision detection with pygame?

I have been using pygame to make a simple rpg pokemon style game. To create maps I have used the Tiled map editor and then loading them into pygame using pytmx. I have heard that you can add object ...
0
votes
0answers
28 views

Quickly Converting RenderTexture to Texture2D in Unity3D

I have a screenshot preview at the end of the game's level. When I am loading the screenshot, it makes the game freeze for a moment. What may I do so there would be no freeze when I am loading that ...
0
votes
0answers
15 views

Problem with automatic ragdoll shape generation using Bullet

I'm trying to automatically generate ragdoll colliders (for now, box colliders) from my mesh. First of all, I specify the body parts like so: ...
0
votes
0answers
27 views

Unresolved external symbol when compiling the Main.cpp [Game Engine] [on hold]

I am trying to code a game engine. It was working fine until I changed few things to make it easy to debug in VC++. But unfortunately I am getting this error when compiling: LNK2019 unresolved ...
0
votes
1answer
24 views

How to move 2D objects based on mouse movement with pointer locking?

I'm using pointer locking for a 2D game (where you perform calculations based on the delta in mouse positions from frame to frame). I'm having some basic math/logic issues with accomplishing what I ...
1
vote
2answers
30 views

Using Arrays as Output for Graph Grammars

I'm looking to do some pseudo-random map generation using graph grammars (graph rewriting). However, most of what I can find online on this is purely academic and, while helpful, doesn't have any ...
0
votes
1answer
35 views

glGenBuffers is NULL

I'm using GLEW 1.13.0, (GLUT), SDL2 and OpenGL 3.3 core. #include <GL/glew.h> #include <GL/glut.h> int main(int argc, char* args[]){ Engine::init(); // Initializes SDL_GL_* attributes ...
2
votes
0answers
11 views

Automatic audio segmentation and find the most energetic segments

What algorithm can be used for audio segmentation? I want to divide song to segments and find the most energetic segments (begin and end in seconds). It is needed for the rhythm-game. Examples: ...
-3
votes
0answers
26 views

Where do I start? [on hold]

I am contemplating in learning game development, I have great passion in anlyzing games and I want tl take it to the next level.. Can you all give me constructive ideas to build upon? Hehe
0
votes
0answers
3 views

Issue moving only one child node

I am trying to make a game that has a ball which is a SKShapeNode that shoots projectiles (SKSpriteNode). The issue that I am having is that when I try to get the players to move, it moves all of the ...
0
votes
0answers
23 views

Unity Mask shows black content

So I've built my scroll rect, like this reference tells me to do : http://docs.unity3d.com/Manual/script-ScrollRect.html -> Scroll View (Rect Transform with scroll rect attached) ---> Viewport ...
0
votes
0answers
58 views

Player character not moving

i am trying to make an fps game but my character won't move. i have tried different scripts for more than a week. Any help will be appreciated. Thanks! using UnityEngine; using System.Collections; ...
0
votes
0answers
10 views

Event handling for moving components in an HTML/JS game

I have developed a working prototype of an arkenoid-kind of game using plain HTML/JS/CSS3. I am using the DOM to display game elements. The whole game is infact contained inside a table element. Table ...
0
votes
1answer
24 views

Make a person walk faster when standing on plane/panel in Unity?

Is it possible to make a person walk faster when standing on plane/panel in Unity without writing a lot of code? If so how? I am using the standard asset first person movement prefab.
3
votes
0answers
59 views

Tick frame: update order problems

Sorry, it's a bit long story but I hope you can help me. First of all: I have an entity class called SceneObject. The SceneObject has components (eg. RenderableMesh, Camera) and transformation data ...
-3
votes
0answers
19 views

How to round 2 Straight lines

Never mind the programming langughe im trying to find way to take 2 Separate straight lines and to convert the intersection to round line For example if i have this 2 straight lines (1) i want to be ...
0
votes
0answers
28 views

Decrease force in a zero gravity world

I have a world with zero gravity. On a mouse pressed I apply a force so things drive away from the mouse. The problem is now that they keep on flying. How can i make them stop? ...
0
votes
1answer
16 views

How to remove white background from an image using LibGdx?

I am fairly new to game development. I am developing an application(Aquarium) for windows which requires me to animate(move) fishes around the screen and user will be able to add new fishes drawn on ...
1
vote
1answer
52 views

How Do I Play An Animation In Unity 5.3.4?

I am confused on how to play an animation with the new unity version because the flag "Automatically Play Animation" is gone. I cant have the animation connected to my GameObject because it plays ...
0
votes
1answer
60 views

Drawing bullets on a map

I'm going to be making a shooter-style game, on a navigatable map (All 2D). I'm a little unsure of how to handle the bullets: I see two main ways i could do it I could have the bullet's x and y ...
0
votes
1answer
16 views

Strange 1D Perlin noise generation with negative x values

I'm trying to use 1D Perlin Noise to generate "random" terrain for a side-view scrolling game (Think Terraria). I've gotten it mostly working, however strange things start to happen when generating ...
1
vote
1answer
48 views

C++ Data structure pattern preferability?

So im looking at ways of handling large amounts of data in situations such as an entity manager or particle system. So i have concluded to use an object pool, and there are two things that I could do ...
4
votes
1answer
74 views

What are these odd distortions on far away textures?

I'm currently writing a simple voxel engine just to get some practice in, and I'm coming across some odd issues. In order to generate terrain, I create a mesh and then assign UV coordinates on a ...
0
votes
1answer
16 views

capitalizing initial character in game maker studio

The value "V_Output" is the string of letters that I wish to capitalize the initial of. The following code is run in the step event. V_InitL=string_char_at(V_Output,1) ...

15 30 50 per page