Usually a flat surface onto which information is visually presented. The screen of a computer is sometimes called a monitor.
0
votes
1answer
37 views
In Unity how can I know which direction is the screen auto-rotated?
From the Screen.orientation description I get
If the value is set to ScreenOrientation.AutoRotation then the screen will select [...] automatically as the device orientation changes.
This seems ...
0
votes
1answer
51 views
Cant center screen between black bars
As I was trying to adapt my game to different device resolutions I ran into a problem when adjusting the game screen between the "black bars." In my case I am using the FitViewport class from the ...
2
votes
3answers
55 views
Fullscreen transition time
I'm not sure whether this is the correct site to ask this question, but why does it sometimes (game-specific, usually) take really long to enter / exit a fullscreen game (black screen for ~1-5s)? And ...
0
votes
1answer
70 views
How to calculate “real” distance between cursor and away object?
I don't really know how to formulate the title, but the problem is the following:
I'm using a scripting language called "SQF" which has been created by a company named "Bohemia Interactive" (no, I do ...
1
vote
1answer
36 views
(XNA) Stretching Images (Sprites) without Blur (Rasterizing?)
thanks for clicking on this question although it has likely one of the most un-specific and confusing titles on this site. I am somewhat new to XNA and I have only posted 1 question on this site ...
0
votes
1answer
49 views
Swiching screen at collision LIBGDX
I am programming with LIBGDX and I am working with a piece of code. What I want to happen is that when the BUCKET collides with a DROP the game switches screens back to the menuScreen. I have tried ...
0
votes
1answer
129 views
Convert Screen coords to World Coords LIBGDX
I'm working on a tile based platformer game in libgdx. I'm having trouble getting the actual touch input coordinates when the aspect ratio of device is different from the virtual fixed aspect ratio ...
2
votes
2answers
118 views
Determine percentage of screen covered by an object without using frustum culling
On the CPU-side of an 3D first-person / ego perspective game I need to check whether what the players currently sees on screen is the inside of a box object defined by world space coordinates (the ...
0
votes
3answers
308 views
how to design transparent screen in libgdx
this question is for LibGdx geeks. I want to make transparent screen in my game. For example, when level completes I want a new transparent screen pop up and show player's high score, buttons to ...
1
vote
1answer
244 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
193 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
119 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
238 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
181 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
517 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 ...
3
votes
2answers
328 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
169 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
67 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
192 views
SFML 2.0 Too Many Variables in Class Preventing Draw To Screen [closed]
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 ...
2
votes
2answers
240 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
467 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
333 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
189 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
180 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
408 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
164 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
239 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
231 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
483 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
402 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
475 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
545 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
413 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
171 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
593 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
1k 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
397 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
658 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
237 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
2k 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
380 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
675 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
928 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
533 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
110 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
799 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
10k 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
1k 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 ...