0
votes
0answers
3 views

Generating a Sprite to cover given area

I have an area say a x b of cells. actually I render every single cell in this matrix with a tile representing floor, wall, etc. What I'm trying to achieve it to replace this tiling system with a ...
-1
votes
0answers
9 views

How to make the interaction of sensors is in box2d? [on hold]

can not figure out how to make the interaction of the sensor platform has become active. something like this: BeginContact { if (sensorA && sensorB){ platform.getBody () ...
1
vote
1answer
13 views

How can I tune material values with the slider in the Unity inspector more finely?

I'm adjusting a material's texture tiling and offset values in the editor but its increments are too large and it's jumping over the value I need. Is there a way to slow it down or adjust the amount ...
0
votes
1answer
14 views

Printing out a 2d array in Unity [duplicate]

I have a 2d array of type char. Its sort of the Model that goes with my Checkers board View so I can run the logic/rules on the array. If I was writing a console version I'd just do a nested for-loop ...
0
votes
1answer
9 views

Unity Android character controll with UI Buttons

So I'm trying to find a good tutorial which will explain how to controll character in 2D game when button is clicked (left, right, jump button). All the tutorials I've found are outdated and not ...
0
votes
0answers
13 views

How should I go about creating a generic Scene object for managing VBO data?

To simplify managing multiple types of data with different shaders and textures, I thought about creating a generic Scene object (is there a name for this?) which would allow me to pre-configure how I ...
0
votes
0answers
18 views

Orthogonal Tile Map with Camera's fixed rotation

I am working on a game that will have a 2D orthogonal view and Tile maps like, for example, Super Nintendo's Zelda (or something less old and nostalgic but with similar maps :). It will have mainly ...
0
votes
1answer
29 views

Is object space the same as local space?

I was in directx 11 and was wondering is local space the same as object space and if not, what is object space?
3
votes
0answers
29 views

Line Collision In Pygame?

I am working on a game(a platformer) that is physics and momentum based. I want to make it so that the player(a single dot) can bounce off of the lines with correct physics, but to do that, I need to ...
-1
votes
0answers
12 views

Game pausing in PhaserJS

I have in an extended Phaser.Game class the following let game = this; game.onGameStart = Phaser.Signal(); function startGame(){ game.onGameStart.dispatch(); } in an extended Phaser.State ...
0
votes
1answer
22 views

Object automatic create new with old every time when load / save game.?

My problem with this DontDestroyOnLoad(cube.gameObject); When I load my player position its create new object with default and saved position respectively. I have a screen shot for better understand. ...
2
votes
0answers
30 views

Procedural character animations. What is the state of the art?

I'm a programmer and I'm interested in programmatic character animation - walk, run, bipedal, many-legs creatures etc. What is the state of the art today? I heard about NaturalMotion's Euphoria ...
0
votes
0answers
24 views

Best way to do headshot decapitation?

I'm using UE4 and blender. I was wondering what the process is of preparing in the 3D software and then making a head burst animation upon headshot. I don't want to do destructible meshes because they ...
0
votes
0answers
38 views

Tetris implementing rotation

I am currently at the last stage of the Tetris Clone using SDL library, the only thing left is rotation. For each piece I have a separate class, and in order to move the pieces down I use a method: ...
0
votes
1answer
47 views

ScreenSize vs. WorldSize

While programming a game with LibGDX, I came across a problem. My OrthographicCamera wasn't centering in the right place. I was trying to center the camera by using the line of code: ...
1
vote
1answer
44 views

Is keeping all my game art in a static class wasting memory?

When I make games, I generally create a static class called Art that has static fields to track all content in the game. For example public static class Art { public static SpriteFont ...
0
votes
2answers
16 views

Reference to a particular Prefab clone

I am developing a simple 2D game. In game, I've created a prefab for charcaters. and I am changing sprite of prefab runtime. This all execute fine. Now I want to apply click event on a particular ...
0
votes
1answer
17 views

Covert Minimap render texture to 3d space position

I am using Render texture to make a Mini Map it is working fine but now I want to go further on side map and want world space position from render texture click point. Is there any way available that ...
0
votes
2answers
22 views

Calculating vertex normals to be able to have both sharp edges and smooth gradients

I'm computing area-weighted vertex normals, but lighting looks bad on meshes containing sharp edges and corners (e.g. cubes look 'blobby' as the light leaks onto the dark sides). Is there a way of ...
2
votes
2answers
11 views

How to apply Collider to Particle and what components are needed for particles?

i want to apply collider to particle system because if i applied the collider to particle ,if any other game object touched to that particle its gives some action or do some operation.so only i need.
0
votes
0answers
13 views

Best way to learn about PC/Console hardware? [on hold]

I want to design games and I would like to know more about physical side of machines that run our games. I looked on the internet but everytime I have found nothing compelling enough that just did a ...
0
votes
0answers
22 views

Escape key doesn't work in browser

So I made a 2D web player game, I have made a pause function to do something when the Escape key is pressed, but when ever I run it in browser and press the Escape key pause menu appears but I can't ...
-1
votes
0answers
33 views

Best programming language and software for game designer?

I want to start designing games for digital platforms - PC, mobiles, consoles and since I dont have professional programmer at my disposal I want to start programming my game concepts myself. So I ...
0
votes
0answers
9 views

Which format of point cloud is for OpenGL ES and Metal read

I am working on OpenGL ES framework with 3d Point cloud data for Android, and Metal framework with 3d Point cloud data for iOS, I found that there are a lot of formats for 3d point cloud data, I do ...
0
votes
0answers
31 views

Why have a publisher on Steam now, when you can self-publish and the Greenlighting process is the same?

I can't find a definitive answer to whether putting up your game on Steam via a publisher helps somehow, other than bringing some popularity due to publisher's other games/apps. It seems that ...
0
votes
0answers
17 views

Create a character from multiple sprites

I have multiple spritesheets for a character in my game. The user can decide which gender, which hair, which haircolor he wants. Some images have to be on a higher layer than others (hair > head > ...
0
votes
1answer
26 views

Convert a modified Transform.forward to world space

I am trying to make an electricity system, where it is given the start and end points and it works out a random sequence of points in the rough direction of the end point. These points are set as ...
-1
votes
0answers
13 views

Getting XNA 4.0 running on VirtualBox?

I'm teaching myself gamedev using VS2015 and MonoGame, however so much of the good example code uses XNA 4.0. So I installed Win7 on VirtualBox, with C# 2010 Express, with XNA 4.0. I installed Guest ...
0
votes
1answer
29 views

Why doesn't this formula double the value properly?

Making a clicker game: Amount awarded per click not increasing based on how many increasers purchased. I have a few global variables set up. global.ramen_1 = 1 This part says how many ramen ...
0
votes
0answers
26 views

how do i drop a block into grid?

I am trying to drag a block and place it on a grid in unity5. The grid can be empty or already occupied. How do I handle the dropping of block ? I have a 2D array of blocks type, where: class ...
0
votes
1answer
18 views

Component messaging system - using integers vs message objects

I'm currently working on a component based system for my game, and I've decided to use a messaging system to communicate between components. I've read some on the subject and it seems that most people ...
0
votes
0answers
9 views

Whats a good configuration for a fighting game somersault jump animation with easing functions?

I want to create a nice SF2 style jump animation for my fighting game characters. Nothing complicated, just a typical somersault jump forward. As much as I like experimenting with different ...
-2
votes
0answers
8 views

Developer Using Payoneer Account for Google Play [on hold]

Can a game developer use Payoneer card for Google play account?
0
votes
0answers
36 views

Why does my world generation code perform poorly on large inputs?

I'm writing some code to procedurally generate some islands in real time. The idea is to choose some points for each chunk, and for each tile calculate the distance from those points, then combine it ...
0
votes
0answers
28 views

How does one create a Player GUI

I am using Java and the Slick2D library. I've been testing around with ways to develop a Player Graphical User Interface (GUI) (to show armour, items picked up, weapons equipped, etc). The one ...
1
vote
1answer
73 views

Most effective approach when creating % chance of something

When dealing with % chance in a game what are the most effective ways to achieve this? When I use random.random()[python] or Math.random()[javascript] and use an if/elif/else conditional it seems like ...
-1
votes
0answers
19 views

Development time Question [on hold]

With no development experience, from the self learning or college phase (from what I understand you already start making games while your in college; could be wrong correct me if so) all the way to ...
0
votes
1answer
21 views

GameObject eulerangle rotation is off

In a game I am creating players can flip their character. So say the player does a front flip, it triggers an animation that plays to flip the car forward. I have the player as a child of another ...
-1
votes
0answers
30 views

Fade out / fade in scene w/ loading screen [on hold]

I've got a (very simple?) requirement I just can't get to work, even though it's been covered by numerous tutorials and how-to's on the web. Basically, I want to transition between individual scenes ...
2
votes
1answer
89 views

Could triangles be used for swept-AABB checks between positions?

I'm trying to understand swept-AABB collision detection. When checking for collisions between two positions of an object, I commonly see one of 3 strategies used: Rays: trace rays from parts of the ...
0
votes
0answers
11 views

no lwjgl in java.library.path - however as far as I can see, everything is linked correctly! [on hold]

I am very new to java but have been really enjoying it so far. Progress has been fast and I almost have a little demo game fully working. However when I export it (I'm using Eclipse) the .jar won't ...
1
vote
0answers
27 views

How to make expanding ring with constant thickness?

I need to generate this burst or (donut-shaped) pulse. I'm having a difficult time how to generate such shape. At first, I was thinking of scaling the image but that didnt work out because the line or ...
0
votes
0answers
5 views

LibGDX Child node is not following animation

So I'm trying to place a golf club as a child node of the hand of our "golfer", so it follows the animation the golfer has when the animation is invoked. However, once I hit "Check Swing" (the button ...
12
votes
4answers
3k views

Is it a bad idea to “map” the mouse position on the screen so that collision detection works regardless of resolution?

Consider a game who's default resolution is 800x600. Objects with collision masks are placed in a game world of size 800x600. The collision masks can detect when the mouse collides with them. Now ...
0
votes
0answers
19 views

How does the Unreal Engine transaction (undo/redo) system work?

I would like the transaction system to handle the create/update/deletion of some custom objects. Then I can proceed as follow: // Create custom object: ...
0
votes
0answers
15 views

Resizing orthographic camera while zoomed

I have a orthographic camera. With the help of this camera i'm able to render a quad onto the screen using screen-cordinates. Using the camera i perform the zoom in/out on specific mouse position ...
0
votes
2answers
40 views

Opentk Textured Full Screen Quad

I want to display a texture on a full screen quad. What I get is a completely green quad and after a week of debugging I cannot understand why. I am currently using OpenTK 1.1.2225 and ...
0
votes
1answer
41 views

Refraction and transparency?

I need to do some refraction in a sphere. Do I need to make the object transparent first? Or just use refraction(refract) in HLSL DirectX?
1
vote
0answers
48 views

Is it possible to create a homemade depth buffer?

Studying the case of isometric rendering, I'm facing a big and well-known problem : depth sorting. After many researches it seems that without tile mapping or 'height-leveling' it's impossible to ...
0
votes
0answers
21 views

implementing gesture detection lib gdx

How do I add a long press input to my libgdx game. here is my failed attempt: public class PlayState extends State implements GestureDetector.GestureListener { private Protagonist bird; ...

15 30 50 per page