Usually a flat surface onto which information is visually presented. The screen of a computer is sometimes called a monitor.

learn more… | top users | synonyms

1
vote
1answer
40 views

Aspect ratio in LibGdx

I'm learning LibGdx and I need some help with the camera. Let's see, I'm making a Chu Chu Rocket! clon to start. I've loaded a TiledMap (10x10), and I've created an OrthographicCamera to show the ...
2
votes
1answer
126 views

C# - XNA - Making a Modular Screen / State Manager

I'm not entirely sure how to ask this question since its somewhat broad, but also a bit specific to my code. I'm making a game in C# XNA and attempting to have the parts of it be fairly modular so ...
3
votes
1answer
75 views

Float-based screen coordinates, higher mouse precision

I wrote 2 weeks ago about problem with motion blur in my engine. When camera moves using keyboard, motion blur is smooth. But when I rotate camera using mouse motion blur is stepping (not sure if I ...
2
votes
1answer
166 views

How do I make the screen shake when the player takes damage?

I am making a 2D game and I'd like a visual cue when the player gets hurt. Currently, I have a simple blinking red dot that shows up for 2 seconds after damage, but it's not very immersive. Many ...
0
votes
1answer
104 views

isometric coordinates issue: (0,0) and (5,5) are flipped?

I am having an issue with the isometric coordinates. When I enter the coordinates (5,5), the character should be at the bottom corner of the tile, but it is at the top corner, (5,5) and (0,0) look ...
1
vote
1answer
185 views

How is a splash screen that is disposed upon user input meant to be implemented?

I'm going through Gustavo Steigert's tutorials on libgdx, but I have a feeling that this is more of a design question, rather than specifically regarding libgdx. My question is regarding the splash ...
4
votes
2answers
286 views

Purpose of Displaying Loading Screen

Is it necessary for a game developer (on Android, game consoles, online, or desktop) to display the loading screen to cover unfinished rendered game environments and prevent users from thinking that ...
0
votes
2answers
139 views

Creating UI using Flixel

I am new to game development but familiar with programming languages. I have started using Flixel and have a working Breakout game with score and lives. What I am trying to do is add a Start Screen ...
0
votes
0answers
54 views

Flixel Game Over Screen

I am new to game development but familiar with programming languages. I have started using Flixel and have a working Breakout game with score and lives. I am just stuck on how I can create a new ...
1
vote
0answers
164 views

SFML 2.0 Too Many Variables in Class Preventing Draw To Screen

This is a very strange phenomenon to me. I have a class definition for a game, but when I add another variable to the class, the draw method does not print everything to the screen. It will be ...
0
votes
0answers
102 views

Screen space to world space revisited

I am revisiting some code that I thought I understood, but have found that I do not quite understand it. I put together a test to see what was going on. Here's the code: [Fact] public void wtf() { ...
1
vote
2answers
205 views

Orthographic Zooming with 0,0 at top/left

I'm trying to implement zooming on my 2D game. Since it's using orthographic projection, I thought it would be easy to implement zooming. After looking around the internet, I found a bunch of ...
1
vote
2answers
259 views

What is the camera direction vector for an isometric view?

What values correspond to a 3D vector for screen-normal from within an isometric game? It needs to be in game coordinates. It is a standard isometric where tiles are rotated 45 degrees and half ...
2
votes
1answer
227 views

Fitting tilemap to any screen resolution

My game is a 2D Single-Screen (i.e. non-scrolling) platformer for Android, but the question here doesn't require a code-specific answer. Basically it's easier for me to show the problem using a ...
0
votes
1answer
140 views

Edge Detection on Screen

I have a edge collision problem with a simple game that i am developing. Its about throwing a coin across the screen. I am using the code below to detect edge collisions so i can make the coin bounce ...
1
vote
1answer
137 views

How to calculate the Screen Position of a bounding sphere/box?

Synopsis: What I have is an object rendered on the screen. I need to calculate the top-left / bottom-right of it's location on the screen in Screen Coordinates. Explanation: The object is ...
2
votes
1answer
280 views

Odd Android touch event problem

Overview When testing my game I came across a bizarre problem with my touch controls. Note this isn't related to multi-touch as I completely removed my ACTION_POINTER_UP and ACTION_POINTER_DOWN ...
3
votes
2answers
146 views

Formula for converting ratio of current device to target device

I am designing my (Android/OpenGL ES 2.0) app on one device and want it to run all all other devices while keeping the screen ratio of the development device (so the image doesn't stretch / squash), ...
0
votes
1answer
192 views

ios screen design -> how to target multiple devices [duplicate]

I am writing an IOS Game, landscape only and I am having a conceptual issue with my artwork. The screens are all different sizes. Retina, non-retina as well. Non Retina ipads + ipad mini is 1024 x ...
2
votes
1answer
175 views

Should my assets match my reference resolution?

I'm confused over supporting multiple resolutions in my 2D game. I'm currently working with a reference resolution of 1280x720. That means that all elements are positioned in a 1280x720 coordinate ...
2
votes
0answers
355 views

Converting Mouse Coords to 3d coords with Camera position [closed]

So I've looked at all the answers I can possibly find, and nothing seems to fit what I need exactly (because im bad at math). I'll explain what I have thus far: A camera with x,y,z, Pitch and Yaw ...
4
votes
0answers
400 views

How to support all iOS device screen sizes / resolutions in my game [duplicate]

I made this game. Right now the game supports all iOS devices except iPhone 5. The definition of each level of the game is kept in a plist. The creation of each level is done through a graphical ...
5
votes
3answers
2k views

Mapping 3D object coordinates to 2D screen coordinates with perspective projection

Sort of following on from where this person was in their topic: Matrix for 2D perspective What I have at the moment is a transformation matrix that's defined as follows: http://pastebin.com/GM6BhP0R ...
7
votes
2answers
423 views

How do I make Windows store recognize multiple resolutions?

I'm currently developing a XNA Game for Windows phone 8, it works with every emulator resolution (WXGA, WVGA, 720p). However, when I upload the XAP to the Windows phone store it tells me that only ...
1
vote
1answer
417 views

XNA 2D game fullscreen issue

Hello! I am creating a 2D farming game using XNA - just today I have tried applying full screen to it, and I realized I failed badly with something. It cuts off a bit of the lower part [item hotbat ...
0
votes
5answers
391 views

Limiting a player's movement to the screen's dimensions

I have a player, that I can control using WASD. And I don't want him to leave the screen. So I've tried the following: if (player1.getX()+5 < 974 && player1.getX()-5 > 0) { ...
1
vote
0answers
154 views

How to create 3d picking ray with the cursor position

I'm new here and I'm not sure how to go about doing this. I am creating an application that is supposed to use the cursor's position in the window to perform 3d picking. The tutorials I have found ...
0
votes
0answers
483 views

Limited Screen Switching Count Memory Issue

When making my simple app for revisions to update the latest changes, I test it first between the device (Google Nexus 7) and desktop using Eclipse IDE. I made eleven screens for the game in terms of ...
4
votes
2answers
939 views

Disable autorotation if Android has it disabled

I'm making a game for Android in Unity. I wanted the game to handle screen rotations, so I set "Default Orientation" to "Auto Rotation. This works well, except for one issue: If you disable ...
0
votes
1answer
291 views

Picking a suitable resolution for a modern low-res game?

I'm working on a 2D game project right now (using SFML+OpenGL and C++) and I'm trying to figure out how to go about choosing a resolution. I want my game to have a pixel resolution that is around that ...
1
vote
2answers
569 views

Making a 2D game with responsive resolution

I am making a 2D game, however I wish for it to be resolution agnostic. My target resolution i.e. where things look as intended is 1600 x 900. My ideas are: Make the HUD stay fixed to the sides no ...
0
votes
1answer
198 views

Curiosity on any Smartphones that Run on Android 2.3.3 with Different Screen Reoslution

I have a question regarding about any smartphones that run only in Android 2.3.3. Is the size of screen or the screen resolution is always HVGA or does it have capable of running this OS (Android ...
2
votes
2answers
1k views

Keeping Aspect Screen Ratio While Stays in Center

I sqw and I tried this suggestion on PISTACHIO BRAINSTORMIN* on how to make a good and adaptive screen ration. For every different screen size, let's say I put the perfect circle as a Texture in ...
3
votes
1answer
331 views

Scaling sprite velocity / co-ordinatesin Android

I'm trying to find the answer to a question that I've had for a long time, but am having trouble finding it! I hope someone can help :-) I'm trying to find information on how to scale sprite velocity ...
4
votes
1answer
567 views

Setting density for Android game

I am developing an Android game, in which a ball (bitmap) translates( is in motion). So I have provided motion equations for the ball. I have checked my app on Samsung galaxy S2 whose actual density ...
0
votes
2answers
778 views

Rendering another screen on top of main game screen in fullscreen mode

my game runs in fullscreen mode and uses active rendering. The graphics are drawn on the fullscreen window in each game loop: public void render() { Window w = ...
2
votes
3answers
490 views

Should I dedicate a single thread to each player in a split-screen game?

I was thinking about making multiplayer version of a game I am making with SDL and OpenGL. It would be a split-screen game. Do you think it would be a good idea to have each part of the screen (game ...
1
vote
1answer
106 views

FPS reticule image scaling with resolution problem

I am running into a problem when I set the resolution of my screen and the objects in the HUD. When an increase of resolution happens the reticule image becomes bigger, when I want it to stay the ...
5
votes
2answers
610 views

Draw a 3D object at specific coordinates on the screen

I'm creating an application which allows the user to manipulate 3D models. I would like to draw 3 axis representing the world coordinate system in 3D in order to give the user an idea where he is. ...
9
votes
3answers
8k views

Fitting Android game to different screen sizes

I am making an Android game that is only in portrait screen orientation. It works great when I run it on my phone, but when I run it on a tablet, even though the screen size is bigger, all of the ...
0
votes
1answer
1k views

Virtual screen size with libgdx and GLES 2

I've been trying to use a virtual screen size for my libgdx desktop-android game. I'd like to always use a 16:9 aspect ratio but with a virtual screen size so everything would adapt automatically ...
11
votes
1answer
961 views

How can I draw an arrow at the edge of the screen pointing to an object that is off screen?

I am wishing to do what is described in this topic: http://www.allegro.cc/forums/print-thread/283220 I have attempted a variety of the methods mentioned here. First I tried to use the method ...
1
vote
1answer
137 views

Finding furthermost point in game world

I am attempting to find the furthermost point in my game world given the player's current location and a normalized direction vector in screen space. My current algorithm is: convert player world ...
10
votes
1answer
2k views

Screen space to world space

I am writing a 2D game where my game world has x axis running left to right, y axis running top to bottom, and z axis out of the screen: Whilst my game world is top-down, the game is rendered on a ...
4
votes
3answers
2k views

GameState management hierarchical FSM vs stack based FSM

I'm reading a bit on Finite State Machines to handle game states (or screens). I would like to build a rather decent FSM that can handle multiple screens. e.g. while the game is running I want to be ...
3
votes
3answers
1k views

Optimum Screen Resolutions

Most PC games nowadays obviously come with the standard option to change the game's resolution from between 640x480 to 1920x1080 on average, depending on your monitor and whether or not you are ...
2
votes
1answer
2k views

Pop up screen on libgdx

Hi I want to make a pause and credits screen for an android game with libgdx the idea I have is creating a new screen like a popup that pauses the background screen and then, I can render the screen I ...
5
votes
3answers
409 views

How can I calculate where my camera can be to avoid showing something outside a region?

I have a landscape model, which goes from the coordinate -45, -45 to 90, 90. The edge of the model just cuts off and i would like to somehow stop the screen from ever passing these points. Basically ...
1
vote
2answers
391 views

SDL 1.2 reports wrong screen size

I have a multi-monitor setup with two displays, both 1920x1200. In games, I can only select resolutions > 1920x1200 (like 2560x1200) which makes games unusable. Full screen doesn't work either ...
2
votes
2answers
346 views

How to draw objects that have a smaller Y axis first?

In my game there is a large 2D map of various objects. Example. As you see, upon creation objects of the same type (trees for example) are placed correctly, but objects of another type (enemies) are ...