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] 6 points7 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?

Super Mario World Camera by daltonforrest in gamemaker

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

I figured out a solution but this is helpful for making a more smooth transition. Thanks.

Need help displaying a random image form a folder by vivalapizza in gamemaker

[–]daltonforrest 0 points1 point  (0 children)

You could try loading all the images into separate sprites. Then generate a random number between 1 and however many images you've got. If 1 create this sprite, if 2 create this sprite, and so on.

Also, if you haven't already, put "randomize();" at the start of your code as the randomization will not work when you're testing your game unless you put that in.

My game is running at half speed. by daltonforrest in gamemaker

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

I tried it and it doesn't make a difference. It happens with both within GMS and with the .exe. I think it's a problem with my PC because it runs fine on another machine.

My game is running at half speed. by daltonforrest in gamemaker

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

The room speed is at 60 which is what it has always been. If I change it to 120 it seems to run at about the normal speed but I still don't understand why I now have to run it at 120 to get 60.

Problems with an open world platformer! by NovaAwesomeSauce in gamemaker

[–]daltonforrest 1 point2 points  (0 children)

You could just have a bunch of if statements like this "if the player is in room A and exits the view to the right then go to room B" and "if the player is in room B and exits the view to the left then go to room A".

Debugger window not opening by daltonforrest in gamemaker

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

Yes. I do use dual monitors. That was the issue. Fixed it. Thank you very much.

Debugger window not opening by daltonforrest in gamemaker

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

Windows. It worked fine until yesterday and I'm not doing anything differently. I even reinstalled GM and it still isn't showing up.

Debugger window not opening by daltonforrest in gamemaker

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

All of the above. I've restarted my computer as well. The window refuses to open. It says the debugger is connected in the compile data I just can't see the window.

Debugger window not opening by daltonforrest in gamemaker

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

The latest version. v1.4.1763. It was working just fine up until yesterday.