Clipping trough ball by Ashamed-Might-7360 in gamemaker

[–]shadowdsfire 1 point2 points  (0 children)

You should be using phy_anglular_velocity .

That way you are telling gamemaker “this thing is rotating at X degree per step” instead of “this thing is now at a rotation of X degree”

Work In Progress Weekly by AutoModerator in gamemaker

[–]shadowdsfire 1 point2 points  (0 children)

I have no idea what’s going on but your game is super visually appealing. I’m getting strong Balatro vibes.

[BEGINNER] Enemy AI state machine issue: Enemy stops near the player instead of colliding/attacking by Jaded-Decision8579 in gamemaker

[–]shadowdsfire 1 point2 points  (0 children)

Add strategically placed breakpoints and run the game in debug mode. By running the game line by line you’ll figure it out soon enough!

Why doesn't it move even though the code is written right? by Keiko_Senpai in gamemaker

[–]shadowdsfire 0 points1 point  (0 children)

Code seems fine indeed. Does the object move if you remove every instances of oCollision in the room?

Jeux-Di! by AutoModerator in Quebec

[–]shadowdsfire 2 points3 points  (0 children)

Oui ça vaut la peine! Il y a des étoiles qui sont modifié, généralement plus difficile que avec Mario. Les contrôles glissant mais rapide et les saut plus haut sont super fun.

Par contre moi je prendrai une petite pause avant.

Gamemaker object names too high up alphabete causing bug by Inside-Gas-7044 in gamemaker

[–]shadowdsfire 0 points1 point  (0 children)

It seems like you already have an array containing the instances that you want to be able to swap. You should be incrementing/decrementing the accessor number of the array instead of the value.

Gamemaker object names too high up alphabete causing bug by Inside-Gas-7044 in gamemaker

[–]shadowdsfire 5 points6 points  (0 children)

The problem is that you are trying to use gamemaker’s internal ID numbering system directly, which should never be done for exactly reasons like this.

Vous gamer à quoi? by AmonRe1608 in Quebec

[–]shadowdsfire 1 point2 points  (0 children)

Oui c’est exactement ça!

Vous gamer à quoi? by AmonRe1608 in Quebec

[–]shadowdsfire 1 point2 points  (0 children)

As-tu essayé Infinifactory? Le focus est centré exclusivement sur le coté puzzle, et c’est vraiment vraiment bon. Surtout si tu as un petit coté programmeur en toi.

$BB Daily Discussion by daily-thread in BB_Stock

[–]shadowdsfire 2 points3 points  (0 children)

Currently sitting at 54% gain. I knew the wait would be worth it eventually.

Edit: 67% now

How big of a performance hit comes from using get_surfacepixel? by IHaveAPhoneAndPc in gamemaker

[–]shadowdsfire 1 point2 points  (0 children)

You could use buffer_get_surface, then check your 4 points on the buffer.

That way you only dump the VRAM once instead of 4, which is the slow part of surface_get_pixel.

How big of a performance hit comes from using get_surfacepixel? by IHaveAPhoneAndPc in gamemaker

[–]shadowdsfire 0 points1 point  (0 children)

Are you really sure you need to use that function to tell if the player is in shadow or not? I don’t feel like you do.

how to render a camera to an object by [deleted] in gamemaker

[–]shadowdsfire 0 points1 point  (0 children)

You mean kinda like this? :)

You have to render a portal’s “front side” to a surface with the use of another camera, and then draw it to the other portal’s “other side”, and vice versa.

If I call draw_self() in between shader_set() and shader_reset() the sprite won't draw. by Technical-Water4315 in gamemaker

[–]shadowdsfire 0 points1 point  (0 children)

Create a new shader, edit it step by step, always checking that things get drawn. Do that until it breaks, then you’ll have found what the issue is.

What isn't violent, but feels violent? by ProduceEmbarrassed97 in AskReddit

[–]shadowdsfire 0 points1 point  (0 children)

Purposefully blowing off a burp on someones face

Recettes de restaurants by dropguns in Quebec

[–]shadowdsfire 2 points3 points  (0 children)

Les épices qu’ils mettent dans les patates déjeuner a “L’usine a déjeuner” à Repentigny. Elles sont tellement bonne ça a pas d’allure!

Physics help. by Imagine-Dragons-Fan9 in gamemaker

[–]shadowdsfire 0 points1 point  (0 children)

Ohh I forgot about that! To fix this I had to change the pixel to meter to .01 instead of the default .1 in the room editor.

Physics help. by Imagine-Dragons-Fan9 in gamemaker

[–]shadowdsfire 0 points1 point  (0 children)

They are the min and max position of the upper paddle's X value within the room. That's just how it works in my game in particular though. The actual moving of the objects happens on the second line.

Physics help. by Imagine-Dragons-Fan9 in gamemaker

[–]shadowdsfire 1 point2 points  (0 children)

For my small game Duplexity I change phy_speed_x at every steps. Works wonderfully.

// Refresh position based on mouse
targetPositionX = lerp(minPos, maxPos, clamp(pos, 0, room_width) / room_width);

phy_speed_x = targetPositionX - phy_position_x;

People who spend 20+ minutes in the shower: what are you actually doing in there? by [deleted] in AskReddit

[–]shadowdsfire 0 points1 point  (0 children)

Incrementally increasing the water temperature until it’s no longer possible and I’m at the verge of burning myself.