0
votes
0answers
2 views

How to manage collision of two player ?

I'm developing a multi-player car game. Suppose that car A hit car B: both A and B have Rigidbody and collision functions attached. Because car A hit car B i want to take actions only to car A (add ...
2
votes
1answer
27 views

OpenglGL Render two scenes with one draw call

I need to draw a normal-vector scene and default scene. I could achieve this my having two programs with different fragment shader to produce the following images. It will require me to draw ...
0
votes
1answer
7 views

Playing an animation all the way through with one quick keypress with Mechanim Unity

I have an if statement inside of the Update function that is only called if three other conditions are met. The problem is that right now the function sets a boolean to true which causes the animation ...
0
votes
0answers
12 views

How to “port” Java2D code to LWJGL

I've been following some game tutorials on youtube and developed a custom engine using Java (Graphics2D, BufferStrategy and such). I have a class "Surface", which represents any 2D object (image, ...
0
votes
0answers
9 views

Pygame Scrolling Viewbox Bug

So while working on my engine, I wanted to add an enemy in there, sounded simple enough. Even though my enemy is in the game, not violating the laws of physics (for the most part), the weird part is ...
0
votes
0answers
9 views

OpenGL GLSL using projection,view and transformation

I have been trying to get a simple triangle to render on the screen but an unable to using the Projection, View and Transformation Matrix's but an unable to get anything to the screen. Main loop ... ...
1
vote
2answers
32 views

Can a partially completed game be sold to a game development company for completion?

I'm a lone programmer with an idea for a game. I believe I can code the mechanics of the game by myself. I do not think I have the expertise, time, or creativity to create the graphics and audio of ...
0
votes
1answer
19 views

How to make Pong ai paddle?

I'm trying to make an ai so the paddles will move to position before the ball reaches it. I'm not sure how to go about it in this case. Here's the game ...
0
votes
0answers
21 views

I need a hole to hide in to jump start my project [on hold]

I'm trying to find a place where I can sequester myself for a few days and work without distractions to jump start a project that I'm working on. I would ideally like it to be somewhere I can take my ...
1
vote
0answers
24 views

How are Spot It cards generated?

Spot It is a card game 55 cards. Each card has exactly 8 symbols on it (though the total number of symbols used is greater than that). For any two cards in the deck, they share exactly one symbol. For ...
0
votes
1answer
17 views

Calculate camera target

How calculate camera target position, if I have front/back planes, camera transformation matrix and camera lens length?
1
vote
0answers
22 views

How to fix my camera angle in ROBLOX?

I am trying to make my own camera in ROBLOX. Here's my problem, I am using an inverse function to make the camera look nice and smooth but it only works on the x axis in the positive side. Here's an ...
0
votes
0answers
27 views

How to ignore Pointer Exit event when click on the UI object?

When pointer enters, it calls a function that make a Boolean true. When it exits, it makes the Boolean false. But when I click on the UI object it calls Pointer Exit for very small amount of time(low ...
0
votes
0answers
33 views

CPU vs Intel HD [on hold]

I am in no position to test this as I use a battered AMD CPU (which I plan to upgrade soon): Let's say I am to hypothetically develop a rendering application and implement a very similar algorithm in ...
0
votes
0answers
41 views

C# Moving object from point to point and back

I was trying to make an algorithm that makes an object move from a point to another point and back (in C#), but I can't make it work. Does anyone know a correct way of doing it? The code I used is ...
0
votes
0answers
16 views

GameMaker : Instance destroyed before the draw event complete?

I find myself stuck again with a peculiar issue that i dont really understand. I currently try to implement "weapon" to a shooter game (using it as a learning project as i was (and still is) a total ...
0
votes
0answers
14 views

How to place the team score in Source Engine?

I ran into a problem. I want to display the Rebel and Combine on the HUD. I successfully managed to display the Health, Team logo, and ammo. But I can't display the team score. I came with an idea, to ...
0
votes
0answers
33 views

How to make character select menu? [on hold]

I want to make racing game but I cant make car selection menu my game is android game and I want any thing that can help me to make the selection car scene
0
votes
0answers
14 views

How to program light effects in Andengine

I'm trying to make some light effects to my game, but for now i failed to do it well, i try put 3 Sprites: bitmap1 = new BitmapTextureAtlas(getTextureManager(), 1400, 1400, TextureOptions.DEFAULT); ...
0
votes
1answer
7 views

Render ModelContent directly

Say I have a set of .fbx files which contain all my bones, meshes and animations. I want to make use of these in the finished application i.e. rather than converting them all to .xnb I just want to ...
0
votes
1answer
19 views

Unity rope/cable physics / anchor points

I'm creating a cable in Unity, which should behave realistically. I found 2 different ways to approach the problem. First was to simply rigg a subdivided cylinder in Blender, Cinema4D or whatever ...
0
votes
0answers
5 views

Integrate ImagePicker in Cocos Creator

Can someone please provide steps for integrating this imagepicker https://github.com/qiankanglai/ImagePicker12 in Cocos Creator project ? And please make some tutorials for doing these kind of works. ...
-3
votes
1answer
13 views

How to fix an alarm event not triggering? [Gamemaker studio]

Object_1's alarm 1 event show_message("alarm triggered"); if (Destroy = true){ instance_destroy(); } Object_trigger's alarm start while (!ds_stack_empty(obj_Handle_Links.Link_Stack)) ...
0
votes
1answer
48 views

How to find magic numbers? [on hold]

Well, I am starting a new web based manager game about horse racing and I need information about what math I should use? What are the best values for initial setup and what values should be used to ...
0
votes
0answers
19 views

Frustum Culling behaves incorrectly with vertex shaded objects

I have a scene with a straight path. It looks something like this: I've also wrote a vertex shader that bends the path. After applying the shader, it looks something like this: If you were to ...
0
votes
1answer
29 views

Unity, Steam and updaters!

I am probably asking a question answered here already; but I have yet to find the answer! Can anyone here help me with how updates work for your games? I know that through visual basic you can create ...
0
votes
1answer
26 views

No assets in CryEngine V?

I just downloaded and installed CryEngine 5.0.1. I am trying to follow the Island tutorial but I don't have the assets the tutor has. I have installing CryEngine Game SDK but I still don't see any ...
0
votes
1answer
28 views

How to go about making a stock market game? [on hold]

Id like if anyone could point me in a direction of how the javascript portion of a stock market game would work, making a website is easy but putting in the game part with javascript is where i ...
0
votes
0answers
14 views

Webcrypto npm module not working on only on android in Cocos Creator [on hold]

Hi all I tried using this node module for encryption, It is working on every platform except android. Game is not even loading , stucks to black screen when using this module. But it is working on ...
0
votes
0answers
22 views

Move unit 64 pixels at a time Unity3d

I'm new to Unity and am trying to learn how to use it. I'm making a 2D top down Frogger-esque game. I was wondering how you would go about making the player move x pixels per button press. I currently ...
0
votes
0answers
19 views

Java - Issue colliding with more than one object

Ok, I am working on a simple 2D sidescroller game and having issues with the player (or any moving entity) colliding with another entity. My current method, (a box on north, south, east, and west to ...
0
votes
1answer
20 views

Weapon RPS - circular list; troubles keeping circular list balanced when expanding

I've got a idea for a game in the works, and I'm trying to figure out how to sort 17 weapons into a circular list where each weapon beats the 8 below it but loses to the 8 above it. Currently, I only ...
1
vote
0answers
26 views

Mobile game without game engine [on hold]

I am planning on making a 2D mobile game for iOS and Android. It will have animations (including some simple flash/light and particle effects, like in Candy Crush), but the only physics the game will ...
0
votes
0answers
13 views

How to do a 2D companion for a Unity 2D platformer? [on hold]

Ok this is really a concept and where in the world to start to make a companion for a player. How should I start off on my code??? What are the concepts i need to understand????
0
votes
0answers
17 views

Libgdx if statement is not working well

I am trying to make the player die when it hits the rock or the time is up and the score is not reached, in this code at the first if statement it works when Rockhit is true, the player jump and ...
0
votes
0answers
17 views

Drawing strings with a fabric texture in Javascript - possible?

Am exploring ways to programmatically generate string arts (sort of like these physical examples: https://goo.gl/d2Gyeg) in the browser. Any gurus out there that can help guide this exploration down a ...
0
votes
1answer
34 views

C# OpenTK Text rendering

I've been looking everywhere for a solution on how to render/draw text for my 2D OpenTK-based game. Been trying quite a few QuickFont ones without success (either a AccessViolation exception or text ...
1
vote
1answer
38 views

In Unity, Change which mouse button is used to scroll in ScrollRect

I've created a new ScrollView in Unity. How do I change which mouse button is used to scroll in ScrollRect (through script or in the editor). By default it's the left mouse button. I'd like to be ...
-1
votes
0answers
11 views

Which editor is best overlap2d or tiled editor map for game design? [on hold]

Recently I started working with libgdx.I want to know which editor is best for game design.I came across with these two editors(Overlap 2d,Tiled map editor).Which editor should I choose?What is the ...
0
votes
0answers
14 views

How to convert HiPoly to LoPoly & Displacement map

I've got some HiPoly meshes that have come from RealFlow. Loading them as-is uses a huge amount of memory. It seems like the ideal solution would be to simplify the mesh, but I'd like to preserve the ...
0
votes
0answers
21 views

CMake with Mingw “No rule to make target 'C:/Windows/System32/SDL2.dll'” [on hold]

I'm getting this strange error while trying to build a SDL demo project in CLion. "C:\Program Files (x86)\JetBrains\CLion 2016.1.3\bin\cmake\bin\cmake.exe" --build ...
-1
votes
0answers
10 views

How to manage multiple scenes in my engine with a data-oriented design approach?

I've been building my game with a data-oriented design approach after experiencing the pitfalls of object-oriented the first two times I tried to build it. My RenderSystem owns it's own data and is ...
0
votes
0answers
9 views

Client-side Prediction and Reconciliation for movement

I've explored the concept of client-side prediction with reconciliation quite a bit and there's one thing that puzzles me a lot. From what I've seen in most guides, the flow looks a bit like this: ...
0
votes
2answers
29 views

Multithreading/Optimisation for Random Generation in Gamemaker

I have a FurGeneration() script in my game; when run, it randomly generates individual oFur objects in specified areas in the game's single Room. Each has a random depth and one of three sprites, and ...
2
votes
2answers
32 views

Handling input through callbacks or through game loop?

I've tried to figure out how to handle player input properly, but without luck so far. As far as I have figured out, I can either: Call the respective methods directly through the callback fired ...
1
vote
3answers
79 views

Unity AddForce causing twitch

Since this wasn't clear enough, I've removed even more code. It kind of defeats the purpose I was aiming for, but I guess getting any answer relevant to the problem is better than none. What I want: ...
1
vote
1answer
31 views

How to stack sprites?

I am currently working on a 2D game in Unity, I am using Animation Controllers / Animators for the different slots of armor on the character. The scripts set the Animation to the player object and ...
0
votes
1answer
27 views

Pygame: Collision detection

i've been adding some extra stuff like Gravity and a table to a simple pong game made with Pygame and Python, the problem is that i dont know how to add collision detection, so when the ball hits the ...
0
votes
0answers
13 views

p2 collision not working after state change

i have 2 objects GAME.ball Game.stick both have two bodies and i have two scene first scene GAME.ball = game.add.sprite(x,y,key) game.physics.p2.enable(GAME.ball, true); GAME.ball.body.dynamic = ...
0
votes
0answers
20 views

Bullet Physics: 2dArray into Collisionshape

I'm fairly new to bullet physics and I am wondering how to make a collisionshape out of an 2dArray(x,y) with height informations. I figured out I have to use either btBvhTriangleMeshShape or ...

15 30 50 per page