1
vote
2answers
45 views

Path constraing (Spline,LineSegment)

This question isn't a Specific Coding question but more like a Architecural question: I am developing a system to constraint a character movement to a certain path, defined a-priori by the level ...
-1
votes
0answers
20 views

SFML draw throws exception [on hold]

Whenever I try to call the draw function (RenderWindow), I get an unhandled exception: Unhandled exception at 0x74A0C9F1 in Shard.exe: 0xC0000005: Access violation executing location 0x00000000. ...
0
votes
0answers
10 views

Slick2D ComponentListener added to MouseOverArea not responding to right mouse clicks

I am developing a UI using Slick2D and experimenting with MouseOverArea. I have noticed that if I add a ComponentListener to my Button (which extends MouseOverArea) it only responds to left-clicks on ...
0
votes
0answers
12 views

Convert CAD files [on hold]

I have a bunch of CAD files (IGES and STEP formats, but I can get other formats from the vendor) with too many details: mostly holes for bolts. Would it be easier to remove the holes or to create the ...
0
votes
0answers
18 views

Unity : OnCollisionEnter Destroy not working [on hold]

I wanna destroy an object (a box) when the object is in collision with another object, for example a gun shot: The box has a box collider and the gun shot (sphere) has a sphere collider, both have a ...
0
votes
0answers
41 views

What is the technique for complete the background of ground (2D) [on hold]

What is the technique on programming for complete the ground with a background repeated. See that image for understand: (Image from Chariot, game for xbox one) In that image, you can see an example ...
0
votes
0answers
29 views

Could multiple plugins cause some problems? (Unity) [on hold]

So, I'm trying to implement three different plugins for my game and I'm wondering if they could prevent each others from working. It just seems like when I'm adding new plugins the old ones stop ...
2
votes
1answer
53 views

2D collision of thrown objects in Unity

I am currently working on a game inspired by traditional 2D Zelda games ("Link To The Past", etc.) in Unity using the 2D settings. I am looking for the best way to handle objects that the character ...
0
votes
2answers
63 views

Trajectory of a spinning ball

How do I would precalculate trajectory of a kicked ball, when it's spinning? I'm applying spinning using simplified Magnus effect every frame like this and it works: acceleration += swerve × ...
-2
votes
0answers
17 views

Parameters of rotation [on hold]

For a Simulation, i need to know what kind of parameters to have if i want to realistically simulate rotating axis(es). I could think off Speed, but there are more parameters to an rotation, right?
0
votes
0answers
12 views

Node IPC Sibling Processes Communication [migrated]

Assume the following architecture context: +-----------------------------+ Lobby Server Starts ...
2
votes
1answer
46 views

How do I detect a line collison in LIBGDX?

I am drawing a continuous line using Pixmap. I want to check for a collision / intersection of my line with the already drawn line.
0
votes
1answer
33 views

How do I add my phaser.js game to my pre-made web page?

First off, it's my first time doing a little bit of game development, and I have no idea of the normal flow of making a game, let alone a browser game. My game uses the phaser framework of HTML and ...
0
votes
0answers
32 views

WebGL - Luminance textures from JPG images

Is there any way to create a WebGL texture with Luminance format from JPG image? JPG images have 3 color channels and luminance texture has only one channel. The problem is that gl.texImage2D can't ...
0
votes
0answers
19 views

Viscosity Term of Animating fluids [on hold]

When animating fluids such as water or air using a simulation method such as the “stable fluids," why is it seldom necessary to an an explicit viscosity term?
0
votes
0answers
7 views

How to prevent Rooted Android Phones from Installing my app? [migrated]

The purpose in this context is to prevent false high scores(my app is a game) from being reported in LeaderBoard. This occurred for Flappy Birds - see this link - ...
0
votes
0answers
26 views

Looking for simple aabb physics engine [on hold]

as you saw in the title, I'm looking for a simple aabb physics engine. I need the following features: NEEDS: ~aabb collision detection ~solid bodies ~gravity ~velocity and accelartion PREFERRED: ...
0
votes
1answer
18 views

Device display size scaling

So I've never made a game before besides a basic 4:3 aspect ratio flapper, so bare with me. Recently I had this wild idea that I wanted to make this complected (for a 2d) game in cca. Unfortunately ...
0
votes
0answers
19 views

looking for JavaScript physics engine [on hold]

I am looking for a simple JavaScript Physics engine that meets the following requirements: NEEDS: ~aabb collision detection ~solid bodies ~gravity ~velocity and acceleration PREFERRED: ~ability to ...
1
vote
1answer
52 views

Using GetTickCount (to shoot missiles) [on hold]

I have some difficulties to understand how to correctly use GetTickCount() as I have some problems in my little game. I have to place on a case a space ship. This one will shoot with a certain ...
1
vote
1answer
36 views

Problem getting mouse events while keys held down in SDL2

I'm attempting to write input capturing code using SDL2 on Windows. However, I'm running into a problem. Whenever a key is held down, the SDL event queue has no mouse movement, nor will the mouse ...
0
votes
0answers
16 views

Naming problem with method that visualise the unrenderable objects (helpers) [on hold]

I'm creating some game engine in C++. I am stuck with the naming problem. I know that some of you think it's not so big deal, but badly named things = things that will mislead you in future (bad ...
0
votes
0answers
54 views

Is there possiblity that i get sued for using models from internet? [on hold]

As the title suggest i found some pretty good looking models in internet, I am thinking about using them in my game. The websites i downloaded models does not provide background about who created them ...
0
votes
1answer
28 views

invoking callback events only in the main loop

The problem is that the mouse and keyboard events can be triggered before the main loop(in which the program starts to render and update content) takes place. In the program if the moues button is ...
0
votes
1answer
62 views

Why does RGB order differ between color formats?

On the reference page for SurfaceFormat, it indicates that the Bgra4444 format is an unsigned format which is 16-bits long, with 4 bits per color with alpha. Further down the page, it describes the ...
0
votes
0answers
28 views

Is there some general tips on optimizing openGL applications? [on hold]

I'm working on my very first OpenGL game, and since it's mostly ment as an educational exercise for myself I have until now not spent much time worrying abouyt performance. However, I've reached a ...
-1
votes
0answers
29 views

Bitmap collision detection android? [on hold]

Edit: Sorry, I thought I pasted the entire code but somehow I guess it didn't show up. I am working with two bitmaps, moving them on the screen. However, I have been unable to detect when they overlap ...
3
votes
1answer
76 views

How can I tell if an object in a tile grid is surrounded?

I'm making a game which uses a 10x20 matrix to store the position of the objects. I have a castle object, represented by a number in a matrix. It is randomly deployed in some cell of the matrix. I ...
0
votes
1answer
44 views

Rotating an image in Python

So I am making an "Asteroids" like game and I can principally get my sprites image to rotate but when I do, the image gets kinda torn apart. This is the method I am using for rotation. Any help would ...
1
vote
2answers
103 views

Boost per-pixel rendering

I'm writing my own renderer in pure java without any external libraries. I'm using per-pixel rendering. I'm rendering an image with this method: public void renderImage(int x, int y, RawImage image) ...
0
votes
0answers
9 views

Positioning of the game object after scaling the game background [duplicate]

i'm creating a game using Corona SDK i have a map and with ball and some other object moving on this map and i'm using the ultimate config.lua file for scaling background based on device screen ...
1
vote
1answer
84 views

It possible to render a true quad (without triangles) using OpenGL?

Is it possible to render a "true" quad in OpenGL? By that I mean a square which is not made out of two triangles.
0
votes
1answer
79 views

Is there a pattern for handling multiple game states?

I'm experimenting with writing a multiplayer game, almost from scratch (I'm using C++, OpenGL, ENet, and platform-specific APIs) with a client/server networking model where the server is ...
0
votes
1answer
61 views

How can I raycast between two moving objects in Unity?

How can I raycast between two moving objects? I want to raycast from a moving enemy to a moving player. I dont know how to actually code to make the direction work. using UnityEngine; using ...
0
votes
0answers
24 views

rotate to movement direction [duplicate]

If I have a player character that can move 8-directionally, I can set the rotation of the player to face the direction of movement. But if I want to smoothly rotate to a direction, sometimes the ...
1
vote
1answer
26 views

How can I obtain information about the GPU in Cocos2d-x?

I'm trying to obtain information about the GPU that is running the game in order to use the correct texture compression for that GPU: std::string GPUInfo::getTC() { std::string TC; ...
2
votes
1answer
56 views

Why do my Box2D collisions fail when I have multiple fixtures on one body?

I'm creating my first libgdx / Box2D game where a player moves around using a mouseJoint. My player has two fixtures, "main" and "question". For some reason when I have these two fixtures, my player ...
1
vote
1answer
38 views

Texture Packer - Any way to make it combine intelligently

I am making a Pokemon Clone, using libgdx. I have the different types of sprites: e.g. Back, front, back shiny, and front shiny. The current way the Texture Packer combines the textures seems to be ...
1
vote
3answers
68 views

How do I interpret the dot product of non-normalized vectors?

I know that if you take the dot-product of two normalized vectors, you get the cosine of the angle between them. But if I take the dot-product of two non-normalized vectors (or one normalized, one ...
-1
votes
1answer
42 views

How would I go about merging two models together in-game to create a new model? [on hold]

Let's say I have two models: model 1 is hilt and model 2 is blade. How would I merge these to models together to create a sword?
1
vote
1answer
36 views

How can my entities avoid walking on certain tiles?

In my tile map, created with 'Tiled', I placed some tiles that need to be avoided by my mobiles. Tiles like water or obstacles. The entities "wander" in the map, choosing random directions, and their ...
2
votes
1answer
45 views

How can I compute a “steepness” value for height map cells?

Here's a question related to height map generation. From a 2D height map I want to produce a second map, I guess you can call it sort of a derivative map, which shows the "steepness" of all the ...
-2
votes
0answers
52 views

Strong GPU with bad CPU? [on hold]

I have pc with intel cpu, 2.4ghz 1 core 64bit. it is quite old too. Ram is ddr2 4gb 800mhz,and old sata HDD (one of first SATA disks from samsung) now my question is: would it be racional to put ...
-1
votes
0answers
18 views

LibGDX/Java - IllegalArgumentException causes my game to crash whenever my main character touches a Coin [on hold]

Trying to figure out why my Android game crashes whenever the player touches an animated coin. I have attached an image of the LogCat and my code is below (NOTE: all game objects in ![Renderer] are in ...
-1
votes
0answers
22 views

Startup Business Questions [on hold]

I'm in need of some help I don't exactly have all the knowledge I need to get into the business and would like some feedback from indie developers. I want to start my own indie company however the ...
-1
votes
0answers
19 views

Minecraft Modding [on hold]

I am trying to make mods for Minecraft, and I am trying to figure out if it is possible to create new blocks, items, mobs etc. using ScriptCraft, because I would prefer JavaScript over Java. If this ...
-1
votes
0answers
8 views

Help Develop 3D Camera “LookAt” Method In JavaFX8 [duplicate]

[I know this question was supposedly answered, when asked by Grady 8 months ago (3D Camera Rotation), but I was unable to follow the solution, and I cannot get hold of Grady, so I am re-asking it with ...
0
votes
1answer
62 views

c++ - collision detection/resolution clipping

I'm trying to implement a collision detection system, and it is working for the most part, no overlapping (or at most very little overlapping) of characters, and wall collisions. The problem is that i ...
1
vote
0answers
60 views

How can I mimic an isometric perspective using square tiles?

Can an isometric perspective be mimicked with traditional square tiles? Can't the effects of the 45-degree overhead view simply be "drawn in" to the square? How would this work? Picture this: the ...
0
votes
0answers
16 views

Phaser-based HTML5 game creator [on hold]

I am currently in need of finding a creator for HTML5 games. I'm developing a homepage and thought it would be fun to integrate some self-made online games in it. Thanks in advance!

15 30 50 per page