The size of an project, image (sprite, texture, etc) or object in a game
6
votes
2answers
246 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 ...
7
votes
1answer
134 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
28 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
22 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
63 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
59 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 ...
0
votes
0answers
45 views
How to scale the camera
I'm developing a game engine (for the sake of knowledge) using OpenGL ES 1.x (Android). And there is a problem with scaling. To ensure that all textures are displayed correctly on various devices I ...
4
votes
1answer
87 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
48 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
38 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
39 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
321 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
2answers
122 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
117 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
115 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 ...
1
vote
2answers
291 views
Cumulative transformation matrices for hierarchical object transformations
I'm having a small issue with my design for hierarchical 3D objects. I'll try to sum things up concisely. Every object has a vector3 for its position, scale, and rotation, as well as a std::vector of ...
2
votes
1answer
120 views
Websocket Scalability w/ Player Skills
About 8 months ago I made this thread. And received a lot of valuable information from the community.
I have switched to nodejs since then and am finishing up my game, but am deeply concerned about ...
6
votes
2answers
222 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
32 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
155 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
339 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
559 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
152 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
354 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
47 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 ...
0
votes
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
923 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
128 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
2k 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
189 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
245 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
66 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
56 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
2answers
2k views
How to make a gameobject Scale up from another GameObject script
I'm trying to make a GameObject grow in scale from touching this one, and when a set amount of scale is reached destroy this GameObject ( the one who scales up the other). My problem so far is that ...
0
votes
1answer
131 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
206 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
106 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
832 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
123 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
113 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
61 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
186 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. ...
0
votes
0answers
211 views
Zooming in isometric engine using XNA
I´m currently working on an isometric game engine and right now I´m looking for help concerning my zoom function.
On my tilemap there are several objects, some of them are selectable. When a house (...
2
votes
2answers
226 views
How do I convert screen coordinates to between -1 and 1?
I'm writing a function that allows me to click on my tiles. The origin for my tiles is the center, however, the mouse's origin is the top left. I need a way to transform my mouse coordinates into my ...
1
vote
2answers
266 views
How do I scale a rectangle image while retaining its border thickness?
I want to create a programmatically scalable image like this: scales to .
Both have a one pixel border. If I scaled from the first to the second in Paint.NET, there would be a two pixel horizontal ...
3
votes
3answers
2k views
How do I disassemble a 3x3 transformation matrix into rotation and scaling matrices?
I have a transformation matrix that rotates and scales. Is there any easy way to disassemble it into the original rotation and scaling matrices?
For instance:
M = R * S;
// I need f and h such that
...
1
vote
1answer
104 views
How can I scale a subset of my game view during rendering?
I am developing a 2d game which has a lateral panel and a main panel with the scenario. I want to scale the main scenario to apply a zoom (only the main panel portion of the screen).
I think if I use ...
2
votes
2answers
1k views
Why is my text is too large even when scaled to .05f in libGDX?
I'm trying to scale down my fonts as my game objects are also small.
I'd like to scale them down the same way as my sprites. However, if I scale them below .05, the font disappears!
My attempt at ...
0
votes
1answer
154 views
How can I support both multiple resolutions and multiple orientations in a game?
I am writing a mobile Android and iOS game. This game is similar to Doodle Jump, but without scrolling. In my game I display a background image that should cover the entire screen. On top of that I ...