r/gamemaker

I want to change the type of my game from pixel art to normal

Hi, I'm making a game and i decided to change the artstyle from pixel art to traditional, but my fil is already set to pixel game. Can I change it or do I need to make a new file and copy the existing code ?

reddit.com
u/Glormast — 6 hours ago

Scrolling credits keep blurring

I am just finishing up my first game for Uni and wanted to add scrolling credits. I created a png (2360x6000) with the text and the logos and added it to a room with a camera (2360x1640) that moves down. It works well, but the everything is blurry.

Interpolate colours between pixels is turned off, the size of the room, png and camera match up, the pictures resolution is good... I don't know what else I could change.

Does someone here have experience with this? Or is there another way to make scrolling credits?

u/Imaginary_Plants — 10 hours ago

i++ and struct

Salut à tous !

Pourquoi ceci ne fonctionne-t-il pas ?

var i = 0;
global.upgradeCard[i] = { id: i++ }
global.upgradeCard[i] = { id: i++ }
global.upgradeCard[i] = { id: i++ }
global.upgradeCard[i] = { id: i++ }
global.upgradeCard[i] = { id: i++ }

...

On pourrait penser qu'on attribue les ID 0, puis 1, puis 2, mais d'après le journal, il semble y avoir un décalage. Quelqu'un sait pourquoi ? C'est une question d'ordre d'exécution, je suppose ?

Merci d'avance !

reddit.com
u/Substantial_Bag_9536 — 5 hours ago

Any way to flip back and forth while drawing sprite frames?

I find that if I click in the list of frames, I can use the arrows to move back and forth. But as soon as I draw something in a frame, the arrows don't work. That is soooo annoying. It makes it very difficult to animate. Surely there is a way to flip back and forth while drawing? They went to the trouble of adding onionskin, but the arrow keys don't work????

reddit.com
u/bsabiston — 21 hours ago

Making Cam Room Adjust transition linear [HELP]

So i want to recreate the Zelda room transition where you would go to the edge of the screen and it would move your camera to the next room in a linear movement.

But my problem is that the transition is way too smooth and would like to fix that issue

here's my step camera code:

var _xOffset = 0
var _xMin = halfH
var _xMax = room_width - halfH
var _yOffset = 0
var _yMin = halfW
var _yMax = room_height - halfW
var _ca = global.curAdjust
if _ca != noone
{
`_xOffset = _ca.x_offset`



`_yOffset = _ca.y_offset`



`if _ca.left_clamp`

`{`

`_xMin = _ca.x + halfW`

`}`



`if _ca.right_clamp`

`{`

`_xMax = _ca.x + _ca.sprite_width - halfW`

`}`



`if _ca.up_clamp`

`{`

`_yMin = _ca.y + halfH`

`}`



`if _ca.down_clamp`

`{`

`_yMax = _ca.y + _ca.sprite_height - halfH`

`}`
}
`//cutscene mode`
if global.CamLock = true
{
`x += (follow.x - x) / panSpd`

`y += (follow.y - x) / panSpd`
}
transition_frame_count += 1
xx = oPlayer.x + _xOffset
yy = oPlayer.y + _yOffset
xx = clamp(xx, _xMin, _xMax)
yy = clamp(yy, _yMin, _yMax)
var _dx = (xx - x)
var _dy = (yy - y)
//cutscene mode OFF
if global.CamLock = false
{
`x += _dx`

`y += _dy`
}
x = clamp(x, 0 + halfW, room_width - halfW)
y = clamp(y, 0 + halfH, room_height - halfH)
camera_set_view_pos(cam, x - halfW, y - halfH)

note: _ca / global.curAdjustvariable is just checks if you are in a object's area where It would lock the camera to the "room"

reddit.com
u/This_Wasabi_3038 — 23 hours ago

Can't do the arcade tutorial without it freezing

I wanted to start on learning Gamemaker, so I started on the space rocks one. was doing great, got it to run great. I followed the wrap loop instruction and then it just freezes my entire screen. I have a touch screen so the only way i could get it to unfreeze was tapping the close button on the preview. I even deleted the wrap loop function and attempted to run it again without it, but no luck. Experimented, and it only updates my movement if I tap out and back it, to where it then freezes again.

Tried troubleshooting on my own, but no avail.

Might be an issue with the app that I'm not seeing, maybe I need a new pc (definitely can't do that right now), but any confirmation or alternative troubleshooting ideas would be appreciated. I don't have many options.

reddit.com
u/JammyDoesCraplol — 24 hours ago
Week