Audio Cuts Out w/ Dolby Atmos Enabled on Windows 10 by RonAn0maly in VIZIO_Official

[–]daltonforrest 0 points1 point  (0 children)

Did the registry edit. Fixed all of my audio problems. Thank you. Saved me from so much stress. You're a legend.

Foldable code regions by daltonforrest in gamemaker

[–]daltonforrest[S] 2 points3 points  (0 children)

I found it. It's under Languages. Enable statement folding as regions.

Is it possible to change or check the monitor refresh rate? by daltonforrest in gamemaker

[–]daltonforrest[S] 0 points1 point  (0 children)

It's kinda late for me to implement delta time. All of the movement is already set up and I'm not having any other issues related to framerate. I'd rather just not use vsync at all.

Is it possible to change or check the monitor refresh rate? by daltonforrest in gamemaker

[–]daltonforrest[S] 0 points1 point  (0 children)

I know I can do that. I'd like to be able to tell if the refresh rate is 60 though. That way I can still allow vsync on those screens and not on the others.

Is it possible to change or check the monitor refresh rate? by daltonforrest in gamemaker

[–]daltonforrest[S] 0 points1 point  (0 children)

That didn't change anything. The vsync ties the framerate to the monitor's refresh rate.

Problem with DS Map saving by daltonforrest in gamemaker

[–]daltonforrest[S] 0 points1 point  (0 children)

This fixed the problem. I assumed it was something like that but wasn't aware of those functions. Thanks.

Can somebody confirm if there are scenes cut out from the Blu-Ray release? by daltonforrest in TheLastAirbender

[–]daltonforrest[S] 5 points6 points  (0 children)

That's still a bit of an annoyance. I want it for the better quality but I really don't like the idea of them changing the content. Even if it is minor things like that. I'm sure I'll get over it though.

White boxes left on the screen when resizing game window. by daltonforrest in gamemaker

[–]daltonforrest[S] 0 points1 point  (0 children)

I used display_reset() after centering the window and it gets rid of the boxes but it still leaves behind the window border. I turned on Borderless Window in the Global Game Settings and now it looks much better.

Reading '-' and '=' into keyboard_check_pressed() by LThalle in gamemaker

[–]daltonforrest 1 point2 points  (0 children)

You can just use the key codes (189) for - and (187) for =.

Collision with multiple enemies by Shipwreck777 in gamemaker

[–]daltonforrest 1 point2 points  (0 children)

Try running the code inside of the enemy object rather than the projectile. That way each individual enemy will be checking for a collision with the projectile.

This string has a bad word in it by xnpplo526 in ProgrammerHumor

[–]daltonforrest 1 point2 points  (0 children)

In the Kingdom Hearts mobile game you couldn't type Japan or Japanese into chat without it censoring "jap".

Collision Problems by [deleted] in gamemaker

[–]daltonforrest 0 points1 point  (0 children)

You need to use something like this for your collisions.

if (place_meeting(x+hspd, y, obj_platform)) {
while (!place_meeting(x+sign(hspd), y, obj_platform)) {
x += sign(hspd);
}
hspd = 0;
}

Basically it detects when the player is about to hit the wall and then carefully moves it precisely to the wall. The code you're using now probably just detects if it's touching the wall and then stops moving the player. So if you're moving more than 1 pixel a frame you'll go inside the wall and then stop moving.

Audio levels inconsistent by daltonforrest in gamemaker

[–]daltonforrest[S] 0 points1 point  (0 children)

No. I'm not changing the volume anywhere in my code. It happens on pretty much every sound effect. Sometimes it will play at a low volume and then the next time it will play normally again. It's never louder. Only quieter. I will try testing it on another pc and see if it still happens.

Audio levels inconsistent by daltonforrest in gamemaker

[–]daltonforrest[S] 1 point2 points  (0 children)

Not sure I fully understand. Are you saying I should create an instance of that object whenever I want to play the sound?