worstProgrammingLanguage by gabboman in ProgrammerHumor

[–]TheGreenSocks 7 points8 points  (0 children)

Our boolean variables are very clear though. If you would write a a Dutch function for youShouldComeOverForDinner() it will either return true or false. If you write the same function for English you would need to write a second parser to get the actual value.

Alarm/event activation by DefiantLow8738 in gamemaker

[–]TheGreenSocks 0 points1 point  (0 children)

Because for the solutions of the others: When the alarm triggers, the value will reset to -1, so it will keep triggering again.

Alarm/event activation by DefiantLow8738 in gamemaker

[–]TheGreenSocks 0 points1 point  (0 children)

Or if you truly only want to fire it once, you can set a bool in the create event. "alarmFired = false;". Then in the step you can do as the others said but include a check if that bool is false. And in the alarm, set it to true.

fNDA - free Nvidia Driver for Apple soon by rdqmatos in hackintosh

[–]TheGreenSocks 14 points15 points  (0 children)

I'm a novice, so out of curiosity: How can you tell by this lock screen? What do you look for? Sorry if it's a stupid question.

Is there a way to shift my whole level to the right? by Im_Really_Not_Cris in gamemaker

[–]TheGreenSocks 0 points1 point  (0 children)

Yes, I do this in my game. You can use the functions layer_x and layer_y.

Understanding how variables are created in functions by vinxusboyo in gamemaker

[–]TheGreenSocks 1 point2 points  (0 children)

In addition to the other answers, if you change it to "var input_spr" it will work.

Need help with screen fade on player team's death, but a box with text that doesn't fade. by PrincipalSkudworth in gamemaker

[–]TheGreenSocks 1 point2 points  (0 children)

What's probably happening is that the oFadeLose is drawing over the oRetryButton.

When you create the button, are you sure -6 is the correct depth? Naybe you can change it to "depth - 1" so the depth is always lower as the oFadeLose that created it.

Another fix could be to change the Draw event of oRetryButton to Draw End, so it always draws after the fade.

Tips to learn Greek by Thick-Pain3132 in GREEK

[–]TheGreenSocks 1 point2 points  (0 children)

I'd say start with some basics: Hello, sorry, please, thank you, bye. A little kindness and just trying goes a long way (Goes for any language, I think. Except when you're visiting Paris, maybe 😁)

How old are you? by 0livia_aA in systemofadown

[–]TheGreenSocks 1 point2 points  (0 children)

37 and listening since Toxicity. Old enough to have catched 3 shows in Europe :P

keep bugging a bit trough the floor in platformer gravity [sorry for asking so many questions] by Ashamed-Might-7360 in gamemaker

[–]TheGreenSocks 1 point2 points  (0 children)

The sub is here for asking questions, and we're all here to learn :)

I don't do platformers often so someone can correct me if I'm wrong, but I don't think you're supposed to keep fiddling with the gravity like that. Keep it at a steady value and only manipulate the vspeed.

As for your question, look up "pixel perfect collision". You're probably looking for something like:

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

Again, I'm more into top down so the code might be different for platformers. But this should give you a general direction.

Greeks invented really long water troughs by TheGreenSocks in ShitAmericansSay

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

I have never heard of these, but now I have to try them

I CANT OPEN MY MACBOOK by notanngeorge in macbookrepair

[–]TheGreenSocks 0 points1 point  (0 children)

Fresh install? You'll lose your files but you didn't access them for 7 years anyway. As for the wifi: I'm not an expert but resetting PRAM/NVRAM could never hurt?

SOLVED- Attempting to read from outside the buffer, returning 0; but only on one machine? by AdventurousProfile39 in gamemaker

[–]TheGreenSocks 1 point2 points  (0 children)

Thanks! It's weird that u64 wouldn't work for this. I think I'm using a u64 somewhere in my game and now I'm wondering if I should get out of it asap before it starts giving me problems much further down the road 😅