ctbion.blogg.se

Gamemaker round docs2
Gamemaker round docs2





My reply does seem over the top in length but for a new person I struggle to move onto learning the next thing unless I fully understand tiny details as to what is happening. It appears the issue is they way my brain is trying to reason/solve this problem. I hope this makes sense and thanks for taking the time to read. If I later decide I want to scale game 3x to 1920 x 1080 I don't want to have to change any game logic. This could be a separate issue or the same issue, but I just want the scaling of the final game to have no effect on the coding of the game. The player shouldn't be able to move 1 pixel on my screen when the games being scaled x2 because the minimum movement in game is 1 pixel. When I am scaling the game 2x, and I move the player 1 in game pixel to the right (ideally when player.x =1.0 not when player.x > 0.5) I would like to see on my screen the player move 2 pixels to the right. Is there a way to change this behaviour so it draws the top most left pixel as long as x is >= 0 0.25 it moves 1 pixel to the right. As I increment x by 0.1 I expected the character to move one pixel to the right once x = 1.0 however it moves one pixel to the right once x > 0.5.

gamemaker round docs2

When I place the instance at x = 0 and y = 0 it appears at the upper top left corner of the screen.

gamemaker round docs2

I have a character instance which is just a square 32 by 32 sprite with a solid colour and a origin of 0,0. Can I please have some help and/or advice?







Gamemaker round docs2