YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
11 stars 4 forks source link

2024.2 to 2024.4 Bugs #5755

Open Thunder-Candy opened 2 weeks ago

Thunder-Candy commented 2 weeks ago

Description

Since the new GM 2024.4 update, a few things has been acting super weird. For instance, my title screen does not animate at all, despite having all the right and tested variable incrementing and working in other rooms (and tested again when reverting to 2024.2 which works). I have IDE and runtime 2024.4.

I'm on Steam. For example, I have a variable "im_ind" starting at -2000000 that increments by 0.2 every frame. When I put a debugger on it, it does increment by 0.2 every frame but it doesn't move the image_index.

I draw the sprite, making "im_ind" the image_index value that increases 0.2 per frame. Works fine in 2022.2 but not in the 2024.4 unless I put the starting variable "im_ind" in the positives (0 or higher). This bug happens only for my title screen draw event (So, every other instance where I do the same trick in-game works) I also deleted the object and re-added it but nothing.

It works on 2024.4 if I set the starting variable to 0 but not if I put a negative starting value. Why?

I also did a clean (Ctrl + F7)

TL;DR Putting a negative value for a variable in 2024.4 makes the sprite not animate when used for drawing (draw_sprite(sprite_index,im_ind,x,y)) until that variable reaches positive value while all that worked in 2024.2.

Steps To Reproduce

There are no known steps at the moment.

When making a new project and doing the same thing in 2024.4, it works; but doesn't for my project depsite it working on 2024.2 even if the variable is in the negative. Something broke within my project that doesn't affect new projects.

Which version of GameMaker are you reporting this issue for?

IDE v2024.4.0.137 Runtime v2024.4.0.168

Which operating system(s) are you seeing the problem on?

Windows 10.0.19045.0

Which platform(s) are you seeing the problem on?

Windows

c2b82ee9-cbf3-46c4-9563-f388748f26ff

Thunder-Candy commented 2 weeks ago

Look for the object located at Objects > Controller > Other > oController_Title in the create event. There are the 2 variables you should be looking for;

im_ind_0 = 0; im_ind_1 = 0;

Try setting them at negative value (such as -20000 for example) and you'll see the title isn't being animated in 2024.4.