1
vote
1answer
27 views

Is this a viable architecture for lag compensation?

In some games/engines (such as Source), the server compensates for latency by applying player inputs in the past. Whenever the server receives a player's input for a frame, it rewinds the game to the ...
0
votes
0answers
12 views

Debugging undefined variables or constants in Godot

I was working though the Pong tutorial on the Godot wiki and encountered a problem. When I ran the scene, the game window was unresponsive while the console displayed: ERROR: set_stream_peer: ...
0
votes
0answers
4 views

NullPointer calling scrollpane draw from a libgdx application [on hold]

I get this error when opening the GameScreen and calling the render method. Exception in thread "LWJGL Application" java.lang.NullPointerException at ...
0
votes
0answers
19 views

Cover system design considerations

I'm trying to plan out a cover system for a 3D game. The mechanic When the player approaches a surface they can take cover behind... A prompt appears indicating they can enter cover, and what to ...
-2
votes
0answers
13 views

Minecraft custom mob: animations

I am quite new to modding and, for that matter, programming in general. I have recently started to mod using Minecraft Forge. I have created a dinosaur-like mob (With which I went kind of overboard ...
-1
votes
0answers
23 views

Copyright Issue and Substantial Similarity [on hold]

I wasn't really sure where to post this, so I asked this on the Graphic Design SE too. I've been asked to create several images to look like ships from various science fiction series for a PC game. ...
-1
votes
0answers
22 views

Can't check speed of moving sprite in group (phaser)

So I'm moving sprites across the screen with moveToXY and continually checking the velocity (in the updates function) to see if the sprite makes it to its destination, like so: if ((player.body.speed ...
-2
votes
0answers
48 views

Flat Terrain Generation OpenGL (so close)

I am very close to rendering a flat terrain using LWJGL/OpenGL and filling up vertex/index buffers. The only issue I am having seems to be from the very first square rendered. I tried hard coding a ...
0
votes
0answers
10 views

How to loop through all of the tiles in LibGDX [on hold]

I need to loop through all the tiles and use my personal collision class. How do I loop through them?
0
votes
1answer
41 views

Creating Entities from Identifiers (C#)

I am writing a game in C#/XNA. Often, it's useful to have a function like this in a game engine: Entity CreateEntity(string id, Vector3 location) { ... } So that, for instance, you ...
2
votes
3answers
52 views

Hero made of parts 2d rotation

I have a problem with rotation of my hero in 2D space. The hero is made of body parts such as: head, arms etc. Every part is a separate sprite. When I want to rotate the hero, I have to rotate all ...
0
votes
1answer
15 views

Adding SpriteFont in Monogame

My question is probably something you guys have heard before - "How do you add SpriteFont's in Monogame's content manager?" The simple answer to this is, right click the 'Content' folder, go on 'Add ...
-1
votes
0answers
34 views

how do i start a video game development team [on hold]

please help me figure out the best way to find a team. I tried making a Google group and so far only a friend from my school and Im 13 so i cant drive what do I do
0
votes
0answers
15 views

Event handling for Pressing only 4 keys on desktop

I want to poll only 4 keys i.e. Keys.LEFT, Keys.RIGHT, Keys.Up and Keys.Down in libGDX strictly. That means, I want to call render method, only when above 4 keys are pressed. I followed below link ...
0
votes
0answers
12 views

How to draw image with other small icon on it using opengl? [on hold]

I'm new here ... and also new on the opengl world. I don't find any example of drawing image ( bitmap / jpg ) on the screen. What i need is to draw simple image and on this image draw some icon on ...
1
vote
0answers
42 views

I'm 14 y/o and I'd like to publish my app on the Play Store! [on hold]

I'm 14 and I made a game for Android and I would like to publish it. My question is that how could I publish my app on the Play Store. As a minor is it legal for me to publish it? I wouldn't like to ...
0
votes
1answer
18 views

Rotating and scaling textures built up of pixel arrays in java?

I'm making my first real game, in Java, and I'm currently working on the base system, for rendering images (sprites) and I wonder how I can rotate sprites. My sprite class looks like this: ...
0
votes
0answers
9 views

How to setup glOrtho and Viewport

When setting up a window I set 6 variables in my render class int windowWidth; // the width of the window int windowHeight; //the height of the window int dimL; // the coordinate of ...
0
votes
1answer
26 views

Unity 2d Side Scrolling Mobile Prefab Problem

hi im trying to use the 2d side scrolling prefab that comes with the standard mobile assets. When i drag it onto my heiarchy its default position is set and i can see the touchpads. But when i play ...
0
votes
0answers
18 views

OcclusionQuery for certain part of screen

As you see on the Image above, I want to know how can I calculate the number of pixels of players inside the elephant ? because OcclusionQuery is used for count number of pixel for whole screen but ...
1
vote
1answer
50 views

When do you have inflation and when deflation in a virtual economy

In a virtual economy, you can calculate all the income and all the costs (money that sinks) from every user in the game. You can calculate the percentage of the new money on the system or the money ...
1
vote
1answer
14 views

how to remove game objects after on overlap in LIBGDX game

I have gold stars in my game that give score to game hero if the hero overlap with the star. What I want is to remove star once it overlap with hero object. I give score by checking overlap with this ...
3
votes
2answers
339 views

2D games and modern OpenGL

Preconcepts Ok, so what I've gathered so far is this: don't use fixed pipeline (deprecated or going to be deprecated) vbos store "object models" (n vertex data, mostly) vaos describe how data is ...
-1
votes
0answers
11 views

System.AccessViolationException when instantiating a SlimDX.Direct3D9.VertexShader from pointer

I'm trying to instantiate a SlimDX.Direct3D9.VertexShader object from a pointer. I retrieve the pointer using the PassDescription object present in the compiled effect like so: try { // create ...
1
vote
1answer
19 views

Drawing shapes and images in libgdx dialog

I am currently working on a dialog window for my android game using libgdx. This dialog window contains a collection of labels and buttons, but should also contain an image. The image represents the ...
1
vote
1answer
28 views

XNA Weird Alpha Blending

I recently implemented a prelighting renderer for my XNA voxel engine, but there is now a weird alpha blending glitch. When I render to the light map, I set the graphics device's blend state to ...
-1
votes
0answers
20 views

2D Sprite movement XNA [on hold]

I'm using XNA to make a 2D game. How would I use keyboard input to move a simple sprite around the screen? Any help would be greatly appreciated.
0
votes
0answers
52 views

Preserve rendering order with queues

I'm trying to implement render queue and render commands in my engine and I don't understand something with this sites: http://realtimecollisiondetection.net/blog/?p=86 http://ploobs.com.br/?p=2378 ...
-1
votes
0answers
14 views

Perspective based Isometric Projection

So i am currently developing a game and i am trying to come up with a solution to this problem and i though you guys could help. So i am developing a Isometric based game that will be in a 3D space ...
1
vote
0answers
21 views

Broken World Generation [on hold]

I am learning to write java/mod Minecraft. The mod I am working on is just a "Can I do it?" Kind of thing and I have no intention to distribute it. The problem I ran into is when I try to generate a ...
3
votes
0answers
13 views

Monogame [Linux] cannot resize screen

While working on a Monogame project on Linux (Arch to be exact), I found that I could not change the screen height away from the default 800 px, while I could easily, perfectly change the width to ...
1
vote
2answers
65 views

Make square walk by rotating around corners

I in the very beginning of making a small game, and I'm having some problems getting the basic movement of my character. My character is a square that can be moved by rotating around a corner. The ...
1
vote
1answer
61 views

Unity Grid Movement (Turn Based, 2D)

I trying to create a Turn Based Strategy behaviour where you move a gameObject from 1 tile of a grid to another tile near it I have created the Grid using sprites and gameObjects but can't sort out ...
0
votes
0answers
22 views

Display black on loading texture

While developing a game with LWJGL I hit a sudden stop with the following issue: Anytime I load a texture using Slick Util, the display stays black until i restart the application. Even when i load ...
-3
votes
1answer
49 views

Direct raycasting from moving point A and moving Point B

I am attempting to raycast from Point A to Point A (both moving points). I dont understand the comcept of raycasting (direction). Update() { player = GameObject.FindGameObjectWithTag ("Player"); ...
8
votes
2answers
620 views

Game prelauncher with configurations (resolution/quality)

I've seen that a lot of games have the exactly same configuration screen before the game launches, as you can see in the following screenshot. Is this screen generated by some tool, for example, ...
-5
votes
0answers
59 views

What is it Game Engine of Game like Simpsons Tapped out,Family Guy: The Quest for Stuff,…? [on hold]

i have a question what is it Simpsons Tapped out , Family Guy: The Quest for Stuff , SpongeBob Moves In , Clash of Clans , Boom beach , ... game engine? i believe someone say they have own engine but ...
0
votes
1answer
49 views

What questions need to be answered during pre-prodution of a solo project? [on hold]

As a solo developer starting a project, what sorts of things do I need to be asking myself before I put code on a screen? I am at the stage where I have a rough idea of the what sort of thing I want ...
2
votes
2answers
50 views

Using Delta for a stopwatch, delta too fast than real time seconds

I search for methods to create a stopwatch on libgdx and came across with this: public void trigger(float delta){ playTime += delta; playTimeRounded = ((double)Math.round(playTime * 100) / ...
1
vote
1answer
14 views

Libgdx--how to store every single point drawn using touchdragged?

Basically i am trying to detect line collision. The problem is when intersection occurs quickly(touch dragged is done quickly like fling), the collision is not detected. It seems as if 'touch dragged' ...
1
vote
1answer
69 views

Space invaders implementation

I'm just wondering about the implementing of the collision response of bullets and the fours obstacles. https://www.youtube.com/watch?v=LCNTwG3MGEg When a bullet hit, a one black pixel is ...
1
vote
1answer
64 views

How to Load Raw Bayer Images using OpenGL?

I know how to load a Raw RGB888 Buffer as a Texture using opengl. But i want to Load a Raw Bayer (Lets say BG) format Image & Interpolate it to RGB using openGL! . So far i have played around with ...
1
vote
0answers
29 views

XNA Texture2D GetData [on hold]

this is my code for creating Texture2D from depthFrame of Kinect : private short[] depthData; private Texture2D depthTexture; Color[] depthTextureData; if (null == this.depthData || ...
1
vote
2answers
75 views

Collision detection between triangle and polygon

I have some difficulties to understand how to be sure if there is a collision between a space ship (black) and an asteroid (in blue). A space ship is placed on a case and an asteroid comes from the ...
2
votes
0answers
15 views

Why does adding LIBGDX “fadeIn” action to a table in a group make the whole stage fade in?

I'm trying to "fadeIn" a store "screen" which is really just an invisible group. I set the group to visible=true, set the alpha to 0 and then do a "fadeIn" on the group. The problem is that the whole ...
0
votes
0answers
30 views

Minecraft map converter [on hold]

I am trying to convert minecraft's .mcr map chunks into another 3D engine. The .mcr are however zipped/encrypted and I haven't found a way to read them. How do I extract map data from .mcr files in ...
0
votes
0answers
34 views

Setting up a turn-based combat [on hold]

I'm starting a little rpg in C# and ran into a bit of a problem with battling enemies. Battles functions as a series of turn-based interactions (rounds) between parties made of varying amounts of ...
0
votes
0answers
22 views

Best server type and companies for real time multiplayer game? [on hold]

i've made a iPhone game using Game Center multiplayer. However, I found this to not be as great since it's p2p based. My game is really dependent on synchronization between players. So, I think I will ...
0
votes
1answer
24 views

Add dialogues to a visual novel in HaxeFlixel

I'm planning on developing a visual novel in Haxe Flixel, I wanted to know if there is a easier way to add the dialogues than to hardcode them in every square. I don't know if I can import a txt file ...
-3
votes
0answers
50 views

Developing something different game [on hold]

I want to develop something different. Like world of goo ,angry bird ,flappy bird All i want from you guys is just an imagination , an idea, a thought

15 30 50 per page