0
votes
0answers
8 views

Beginner - How to get widht of quad with png?

I have a huge Quad and a PNG as a child object. The PNG covers the whole game area / screen. The problem is I don't know how do I find out the width of the current game object!
0
votes
0answers
6 views

Monogame - how to switch backend on Windows (VS2013 Express)

I'm using MonoGame with Visual Studio 2013 Express. I'd like to switch from SharpDX backend to OpenGL/OpenAL. How do I achieve that? People on the Internet usually say that they can switch backends ...
0
votes
0answers
8 views

How to loop through tiles in libGDX [duplicate]

I just need a for loop to show me all of the tiles in a tiled map. for(Tiles t: thetilemap) { }
0
votes
1answer
18 views

Collision detection enhancement

I am developping a spaceinvader-like game. There comes the problem of how to handle collision detection. At first I was doing like that : forEach(fireBall : fireBalls) { forEach(stormTrooper : ...
0
votes
0answers
9 views

change size of split image

How can I change size of split image so it fix on screen? Below, I am setting up two textureRegion. 1st will have the full image and 2nd will have the split image. public TextureRegion fullImage; ...
0
votes
0answers
8 views

How to reference UnityEditor in external DLL when using UnityVS, successfully?

So I'm trying to put my scripts and custom inspector editor scripts in two external DLLs and I'm facing a problem on my Editor DLL. First of, I'm using UnityVS with Visual Studio 2013 Ultimate. I ...
0
votes
0answers
26 views

Is there such thing as a design pattern for game character attributes?

I'm toying with the idea of a character based game. The characters, robots, monsters, heroes (and weapons I suppose) will all have various attributes as per a D&D game for example. They player ...
0
votes
1answer
15 views

how to create sliding puzzle game [on hold]

I am trying to create a sliding game in java. Take a look at this: http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-components-postattachments/00-08-42-44-49/sl_5F00_puzzle.jpg I ...
1
vote
2answers
44 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 ...
1
vote
1answer
28 views

Debugging unrecognized identifiers 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: ...
1
vote
0answers
12 views

NullPointer calling scrollpane draw from a libgdx application

I get this error when opening the GameScreen and calling the render method. Exception in thread "LWJGL Application" java.lang.NullPointerException at ...
0
votes
1answer
23 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
16 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
27 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
24 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
1answer
57 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
15 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
49 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
63 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
17 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
35 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
13 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
46 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
23 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
10 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
28 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
52 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
17 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 ...
4
votes
2answers
352 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
30 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
59 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
15 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
22 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
14 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
66 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
63 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
50 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
623 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
3answers
62 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
17 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
65 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 ...

15 30 50 per page