Scale in relation to the geometry, in a game, whether that be 2D or 3D.

learn more… | top users | synonyms

0
votes
0answers
22 views

Heads Up Display Scaling

I am currently making a heads up display or HUD for a game that is student project made in our own c++ engine. I want the HUD to work with any aspect ratio and the problem I can't really get my head ...
0
votes
1answer
29 views

Re scaling an object from its current scale to a scale of 0

I want to have an animation which starts at a starting scale of whatever the current gameObject's scale (i.e 1, 1, 1 or 2, 3, 2) is which then end at a scale of 0, 0, 0. The problem is that Unity's ...
0
votes
0answers
22 views

Is Unity Android Auto scale reliable?

I am developing an Android 2D game in Unity. I would like to support maximum screens. I know Unity automatically scales the objects based on the aspect ratio of the device. But to what extent is it ...
0
votes
0answers
27 views

OpenGL - Scaling to keep original size in pixels when resized

Suppose I have a 100 px wide and long square in my window. Generally, when the viewport is resized, the contents are scaled accordingly but I want it be 100px(or any size) no matter what. To do so, I'...
1
vote
2answers
92 views

Unity 5.5 android scaling

The questions I've seen are outdated, explained, not to my liking, or just don't work. PROBLEM: -I want to be able to create a game that can scale on all mobile devices with ease and with no ...
0
votes
1answer
60 views

How can I scale/zoom to a point in canvas in the game?

I am using html5 canvas to build a MMO game. When I scale my background by default it scales to (0, 0) which is the top left corner of the background. If I have other sprites on the screen they all ...
1
vote
0answers
34 views

Where to put Tweening effect codes in HTML5 Canvas game?

I am building a javascript HTML5 canvas game and I need to scale the map. However whenever I scale my map the screen stutters very obviously. To scale smoothly without player noticing I add Tween ...
0
votes
0answers
29 views

How to scale the screen in HTML5 canvas like “Circle Push”?

I would like to implement a scaling feature in my game like that of the game Circle Push which scales the map smoothly and I can hardly notice the changes when it scales. In Circle Push it works like ...
0
votes
1answer
43 views

Issues with 3dsmax and Unity3d scale

I changed the units in Blender so they are identical to Unity 3d. If I make a 1m^3 box in Blender, it will import into unity as exactly the same size as the standard cube. With 3ds max, I changed ...
1
vote
2answers
76 views

Unity3D position of 2D objects with size of Object

I'm making a 2D project in Unity3D. I want to place an image in the right upper corner. I've got this working, but ofcourse the image is falling of the screen for a part (and completely when I change ...
6
votes
2answers
555 views

Scaling my pixel art platformer from 720p to 1080p

I'm developing a pixel art 2D platformer for PC and smartphone, but I'm stuck on a technical issue. I chose to have a 32x32 tile resolution, and a 64x64 character sprite resolution. The levels are ...
8
votes
1answer
789 views

What makes scaling pixel art different than other images?

Recently I was coaching a developer who's new to making pixel art games, and realized there's some "conventional wisdom" around scaling pixel art that's not obvious to a newcomer, and might not be ...
0
votes
1answer
33 views

MonoGame - scale down a sprite from the middle

I want to animate a texture's scale. First it's scaled up to 10, and then it gradually goes down to 1. However the texture is drawn at Vector2(0, 0) so it doesn't animate as I had imagined it would - ...
0
votes
0answers
38 views

Libgdx scale and repeat texture at the same time

I want to draw the background of my app with batch.draw(texture, 0, 0, backgruondU * textureWidth, backgroundV * textureHeight, backgroundU, backgroundV) where backgroundU is screenWidth / ...
0
votes
3answers
96 views

Scaling a rotated rectangle in a given direction

I'm facing an issue when trying to scale a rotated rectangle in a given direction. In my context, the width and height of the rectangle are based on the texture size multiplied by a scale factor (...
1
vote
0answers
98 views

Resizing the map in HTML5 canvas

Say I have a big map for my HTML5 game. And it is drawn with an image repeatedly. I want my map to be able to resize and respond to player's behaviors. Now I can resize my map, I just multiply a ...
4
votes
1answer
92 views

How to keep sprite on screen while increasing its width to screen width

I have been able to increase the width of a sprite to the width of the screen size, but the sprite exceeds the borders of the screen width to the right or left when I try expanding it when it's not at ...
1
vote
1answer
71 views

Wrong pivot point of parent / wrong scale of children

I'm trying to make two objects, in is an intact glass, the other one is the glass but shattered. So for the shattered glass, in Maya I make a Plane, cut it with the multi-cut tool, extrude the faces, ...
0
votes
1answer
45 views

Scale one object to be cover multiple other objects

I have placed and aligned several objects next to each other. For the sake of understanding, lets just say I placed 10 cubes next to each other. I snapped them all together (Move->V->Click&Drag). ...
0
votes
0answers
41 views

Causing a rocket engine to 'cut out' (Scale down and re scale up)

In a game im currently working on I have a fuel bar for the player. What I am currently trying to do is have the fuel bar, at around 25%, cause the player engine to cut out a little to represent the ...
1
vote
1answer
523 views

Monogame scale/resizing texture without stretching the borders

I would like to scale or resize my texture2d but when I do it, the texture border becomes stretched. Here's an example : This is my original texture And this the texture after I change the Scale: ...
0
votes
1answer
134 views

Will scaling images at runtime impact my game's speed?

I have read the android developer guide to working on different screen sizes. My question is, if I only provide one image in the drawable file, and let android scale it for me, will it impact the ...
1
vote
1answer
184 views

Libgdx fix small objects on android devices

I'm having issues with optimizing my game for android. I've basically created a simple menu with two buttons (see pictures below)! The size of the window is 720x480px ( in the Desktop Launcher ). My ...
1
vote
0answers
164 views

Scale texture at runtime in unity

I need to scale the texture in unity3d.In unity we are able to adjust the scale using the option in the toolbar How will I scale the texture at runtime using the mouse pointer. the texture should ...
6
votes
3answers
331 views

What are some standard stair dimensions for good level navigation?

I am trying to establish some scale standards for a level. I have been following this guide: http://www.worldofleveldesign.com/categories/ue4/ue4-guide-to-scale-dimensions.php So far I have walls at ...
0
votes
2answers
41 views

Finding the scale of pixels in map with given dimensions

For the game I am making, I have textures for planets. Each texture has a size of 2048 x 1024 pixels. I also know the size, thus the diameter, of each planet. Not every planet is the same size, you ...
0
votes
5answers
176 views

How do you create images that work for multiple resolutions?

I'm currently doing some game development and I've been curious about this situation for many years. Let's say your game has two resolutions: 640x480 and 800x600 (using small numbers just for ...
0
votes
1answer
453 views

LibGDX: Issue with unitScale for Tiled and Box2D

I've got the following: I use a TiledMap (loaded from a .tmx), each tile 32x32 pixels in size and generate the Box2D bodies for collision from the TiledMap's ObjectLayer. That all works fine, no ...
1
vote
2answers
867 views

How to scale LibGdx TextButton?

Apparently textButton.setScale() is not working. Even when the scale is set to 0.1, the button is displayed in it's original size. How to properly scale a TextButton in LibGdx? The official ...
3
votes
1answer
169 views

Non linear scaling to show a sol system

In a sol system 2d simulation I have some problems in showing the entire system (ie: eaven planets far away than saturn ) letting distinguibles the nearest planet orbits. Actualy a use a simple ...
1
vote
0answers
473 views

Tilemap layer scaling and Camera issue in Phaser

I'm working with the Phaser framework and I'm struggling with a camera/rendering issue when scaling a tilemap layer to simulate a zoom feature in my project. The camera size is set to 1024x768px.(...
3
votes
0answers
50 views

How to set default scale on a per bone basis

Does anyone know how I can change the default scale on a per bone basis in Maya? (I'm using 2016) I want the scale to be 1,1,1 for this bone without making it smaller than it currently is. So, I ...
1
vote
3answers
1k views

Unity 2D - Instantiate a GameObject and scale it every second

I want to make a bomb-like game object, that when instantiated, takes 2 seconds to charge, and then some other event triggers. The problem is I can't make it scale smoothly for 2 seconds, and then ...
4
votes
1answer
1k views

Convert large range of numbers to a smaller scale

What is a good formula to use in order to relate two different scale distances to each other? For example, I have a camera that can have a minimum size of 2 and a maximum of 10. I would like the ...
0
votes
1answer
158 views

Scaling images in Unity

I have a question about how scales work in Unity (using 5.0). I've made a .gif image that is 100x100 pixels in size. I put it in Resources folder under Assets. When i drag it onto the scene it ...
2
votes
1answer
3k views

Resize sprite to match camera width?

I'm trying to resize my small background sprite to match the screen width of the user's device. This is what I'm trying // Use this for initialization void Start () { // Set filterMode ...
0
votes
3answers
197 views

Position child on the edge of the parent circle while scaling unity3d

I have come across to some different situation. I have one circle sprite and i am rotating circle continuously while rotating i want to make circle smaller and larger. I have one object on the edge ...
1
vote
1answer
293 views

XNA renderTarget, how to convert mouse coordinates to world position when upscaling

I'm currently developing a monogame game with a tile engine. I have been experimenting with different tiles and sprites sizes : 16px, 32px, 64px I have settled for 32x32 pixels tiles rendered at a ...
0
votes
1answer
73 views

Aligning Camera to Rectangle

I'm working on a game in Java, and I'm having some trouble with finding the correct camera position. I've already made a Rectangle that shows exactly where I want the camera to be, and at what scale: ...
0
votes
1answer
66 views

Mirroring a game object to create symmetry

I have a GameObject with a primitive shape that I call "body". I want to create and add a child to it with another primitive shape. I call it 'mutation'. But i want to duplicate the 'mutation' and ...
0
votes
3answers
2k views

How to make a game object scale up from another game object

I have a GameObject. I'm trying to make another GameObject grow in scale from touching this GameObject, and when a set amount of scale is reached, destroy this GameObject. My problem is that when I ...
0
votes
1answer
161 views

Scaling world - projection, view or separate matrix?

I am currently writing a simple 3D space visualisation program. Things get loaded into it from a simple XML file, which contains positions and sizes of objects in space, so you can put basically any ...
1
vote
1answer
234 views

How can I resize my Blender models when importing to Unity?

I made a 3D model in Blender, but when put it in my Unity project and add an FPS-camera the camera is bigger then my model. I used the measurements of Blender (that one cube is 1 meter in Unity). How ...
-1
votes
1answer
109 views

Sprites get terribly scaled

I've been making a Space Invaders game in XNA for a while. I got the invaders animated and contained within an array. But when I call spriteBatch.Draw and debug the invaders sprites get a huge scale-...
11
votes
2answers
981 views

How do I perform an xBR or hqx filter in XNA?

I'd like to render my game scaled up with one of the hqx filters (hq2x, hq3x or hq4x) or an xBR filter in a shader. How can I do this in XNA 4.0 and SM3? Side note: this question has been heavily ...
1
vote
2answers
143 views

How do I implement time scaling?

I want to be able to change the game speed, to speed up or slow down all animations and gameplay. Ideally, this could also be set to a negative number to make everything go backwards. I tried this: ...
1
vote
1answer
119 views

Splash Screen Resolution size

I am using LibGDX to make a very simple game. I am going to hire someone to create a splash screen logo since I'm artistically challenged. I want to order a vector graphic so I can scale it later if ...
0
votes
1answer
65 views

Should I avoid rescaling models when rendering?

I am quite new to game development and currently developing a simple 3D game with MonoGame and Blender. The game is basically a 3D version of Pong. At first I developed the models at a constant size (...
0
votes
1answer
201 views

Resolution independent physics

I'm making a game like Doodlejump but don't know how to make the physics scale on multiple resolutions. I also can't find anything related to this on Google. Right now I'm scaling the game using ...
3
votes
2answers
2k views

Scale a game object to Bounds

I'm trying to scale a lot of dynamically created game objects in Unity3D to the bounds of a sphere collider, based on the size of their current mesh. Each object has a different scale and mesh size. ...