Usually a flat surface onto which information is visually presented. The screen of a computer is sometimes called a monitor.
0
votes
0answers
35 views
Diagonal line across screen in unity build
Okay, so I was trying out some things with unity, and everything worked fine so I made a build of the game. Once I ran the build, I noticed that when I move there is a gradient diagonal line going ...
3
votes
3answers
132 views
Why is OpenGL point (0,0) not in top-left corner of the screen?
Most of computer graphics systems use screen's top-left corner as staring point, but OpenGL uses bottom-to-top direction, why?
0
votes
0answers
87 views
Unity Resolution
Why does my GUI appear shorter when in a 1366x600 resolution versus a 1366x768?
To illustrate this, this is the 1366x768 resolution...
...and this is the 1366x600 resolution, which appears shorter ...
0
votes
0answers
11 views
About phone screen size in GameMaker
I'm developping an Android game with GameMaker and I have a question about screen size.
Basically my game will look like this:
With the central square being the game itself and the outer edge being ...
0
votes
1answer
49 views
Gamemaker display orientation detection
I am making a game that needs to detect when the device gets turned over in landscape mode to landscape-flipped to change some game mechanics when the player does so. The project is already set to ...
1
vote
2answers
157 views
Java 2D Game - Screen Images Flashing
I'm currently working on a 2D Java Game.
When I start the game everything works fine. A constant Update- and Framerate.
When I'm using normal graphics methods to draw shapes nothing happens. But as ...
3
votes
1answer
140 views
LibGDX - FPS drops
I've been trying to record some gameplay footage of the game I'm currently working on, using the Android SDK and ADB to do it.
Whilst the game runs at constant 60 fps in my medium-end phone, as soon ...
0
votes
1answer
184 views
How to split a screen in half using LibGDX without scaling?
I am currently working on a racing game with libGDX and I need to split the screen in half for a two-players mode. (Player 1 in first half and Player 2 in second half).
I already have Camera1 that ...
1
vote
1answer
106 views
Switching Screens without initializing them every time
I have a UI with four Screens (all extending a "main Screen") that users switch between very frequently, at the moment I am switching Screens using g.setScreen(new screen);, but this leads to the ...
1
vote
1answer
100 views
Vertically mirroring the screen in LibGDX
I'm developing a game in which the screen layout is different for right and lefty players, so i'll put a button in it to mirror the screen vertically.
For displaying textures and fonts, i use a ...
1
vote
1answer
1k views
Handling Back Button in Android without implementing InputProcessor
Please advice/clarifyon below issue in libgdx while handling back button in Screens.
I have already gone through these 2 threads,
http://stackoverflow.com/questions/7223723/in-libgdx-how-do-i-get-...
2
votes
1answer
116 views
Scalling down libgdx game to fit a smaller screen appears only the half of the stage?
Hello I have made a game in 1280x720, but I want it to fit devices with smaller size, so far no luck with the current code it only shows the left half of the screen, it also does not work with bigger ...
0
votes
2answers
223 views
Libgdx change to other screen and dispose current one
I am trying to switch to a GameScreen when the LinearVelocity of a Box2D - Object is x = 0.
If it is so, I am using the setScreen() - Method by calling the main class. This works perfekt, but when ...
1
vote
0answers
33 views
How to use GetViewProjMatrix().TransformVector(LineDirection) in UE4?
I try to project a 3D vector (a direction, not a position) in screen space, but it does not return satisfying results:
FVector LineDirectionOnScreen =
EdMode->ViewMatrices.GetViewProjMatrix()....
1
vote
2answers
243 views
Section cut through (solid) geometry
I'm looking for image based (screen space) technique to render section cuts through arbitrary (solid) geometry. I found and studied image based CSG (Kirsch 05 / OpenCSG) but I found it to be perhaps a ...
0
votes
2answers
77 views
the half of the screen does not seem to work correctly
I am not such a professional coder but trying to code something on Unity. However, when I try to play the application in my android phone, the half of the screen does not seem to work correctly:
Can ...
1
vote
0answers
17 views
SpriteKit Obj-C – How to add a force on a node a certain distance according to screen size
I have an SKSpriteNode that I'm trying to throw up to a certain point on the screen. I've tried applying an impulse and/or force according to the screen size, but that has strange results. I've also ...
1
vote
1answer
560 views
Switch beetween Screen on LibGdx application
i have set main class like this:
public class MyClass extends Game {
MenuClass menuClass;
ActionGame actionGame;
@Override
public void create() {
menuClass = new MenuClass(this);
...
2
votes
1answer
335 views
Unity2D 5 - Flickering sprites on Android
So the game had been working fine for a few days on Android phone without any issues. Today, after adding some scripts and tweaking the game a little bit (tweaks which have nothing to do with the ...
2
votes
0answers
114 views
Rotate perspective camera to align screen width to procedural object's width (Unity, C#)
I give up. After much trying and searching, I have to say I was unable to achieve the following task, for which I must call for your wise advice.
In my current Unity 5 application (using C#), there ...
5
votes
2answers
230 views
How far back should I move my camera to fit a given GameObject in frame?
In Unity with C#, I want to calculate the minimum distance that my perspective camera has to be from a given GameObject (a procedurally generated mesh), so that the object is fully framed by the ...
0
votes
1answer
218 views
How to stretch screen image to fit higher res monitors set to lower resolutions with Unity?
Using Screen.SetResolution(width, height, windowMode); , how might I stretch the image to match the monitor size? I've noticed this problem occurs both with this line of code and also the default ...
0
votes
1answer
75 views
Error when initializing Stage
I made a new class that implements Screen, what I've seen from other people's code is that they create a constructor that takes a parameter of Game game. I did not created a constructor, I think that'...
0
votes
1answer
499 views
Screen management: How to switch between screens
How can I switch between different screens that implement Screen?
0
votes
1answer
69 views
Direct3D - Get screen coordinates for printing multiple text elements
I have a function that I use to print text PrintText(char* text) that stores the text to a vector, which is then displayed if the vector is not empty. I'm trying to figure out how can I correctly ...
1
vote
1answer
2k views
How to do pixel perfect movement with Unity3D?
How would you be able to make sprites move pixel by pixel in Unity3D? I've tried the following things.
int x = (int) transform.position.x;
int x = Mathf.FloorToInt(transform.position.x);
int x = ...
0
votes
1answer
2k views
What screen resolution do I make an android game in? [duplicate]
Is it safe to assume that most mobile phones and tablets today have moved to 1280x720 resolution and above and make the games in that resolution, scale down for smaller screens or is a smaller ...
-1
votes
1answer
303 views
Libgdx detect touch on a specific object (while moving) [closed]
I have a class (I'll call it with letter "A") and class B.
A is the object (as a character) and B is the rendering class which have the aim to show A.
I am looking for a way to detect when A is ...
0
votes
1answer
227 views
Relationship between Camera's view size, screen resolution and objects scale
I've had this question since a long time ago and wanted to know the relationship between how an object is viewed through the camera depending on the resolution of the device, the camera's view size ...
5
votes
3answers
341 views
Different Screen Sizes and Camera in Unity
Now I know that no matter what the screen size is the camera will keep its height, so no worries about that. My question is, is there a way to manipulate the camera, either its orthographic size, or ...
1
vote
1answer
199 views
How can I manually syncronize render calls with a monitor's refresh rate in Direct3D 9?
I have an application that utilizes Direct3D 9 to render 3D graphics. I'm trying to manually control the number of frames rendered in a given second. Here is pseudocode:
while( bInGame )
{
// ...
1
vote
2answers
370 views
How can I run a Unity game in a window larger than the desktop resolution?
I am exploring a research problem using Unity. I require a game resolution of at least 4096 x 786. There seems to be no option under build settings for setting a fixed screen size window. (The default ...
0
votes
3answers
5k views
Libgdx getting screen size
I'm working on libgdx project. I basically recreate my game which I coded in xna to make it available for android. Here's the problem android has many screen resolutions, and I want to know how to get ...
0
votes
1answer
50 views
Out of screen position to inner screen position
I don't know how I could solve this.
I'm trying to accomplish this:
So if a object is out of my screen I would like to calculate the position it would be inside of the screen. Searched already but ...
2
votes
1answer
2k views
How to output to the Oculus and a 2D screen?
We'd like to present an Oculus game to a large group of people. Not everyone will have an Oculus headset, so we'd like to output to both the Oculus and a second display. The problem is that the ...
0
votes
1answer
1k views
Android Canvas 2D Game: Supporting multiple screen sizes/resolutions [duplicate]
I'm planning to develop a 2D game for android devices by using simple Canvas Surfaces (I know that OpenGL might be more efficient - but Canvas should definitely be enough for my type of game).
I'm ...
0
votes
1answer
1k 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 to ...
0
votes
1answer
615 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
78 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
116 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
369 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
206 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 ...
2
votes
1answer
6k 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
316 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
3k 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 ...
2
votes
1answer
822 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 map....
2
votes
1answer
1k 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 ...
4
votes
1answer
314 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 ...
3
votes
1answer
733 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
377 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 ...