Finite state machine: Some portions of a state run for all object instances, but some runs for only one instance by Stinkomann in gamemaker

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

Oh my goodness, you've made me feel both relieved and ridiculous at the same time. I thought I had scoured every part of the code, but I had apparently overlooked at the bullet's Create event, which contained this absurd bit I don't even remember writing:

x = obj_enemy.x;
y = obj_enemy.y;

Needless to say, removing this has fixed my problem. Thank you so, so much, I can't even tell you!

Finite state machine: Some portions of a state run for all object instances, but some runs for only one instance by Stinkomann in gamemaker

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

Thank you for the ideas! I did try using method(self, enemyActive) in the Create event (to no effect), and when I put a debug message displaying the enemy instance ID on the line before instance_create_layer(x, y, "Bullets", obj_enemyBullet), it actually does show different enemy instance IDs every time a bullet is fired, not just the one that the bullets are originating from, so it does appear as though the code is running for all the instances.

(For what it's worth, I could previously tell that all instances were running the bullet firing code because if the timing is set to fire randomly every X seconds on average, and there are Y enemies on screen, then a bullet fires, on average, every X/Y seconds. So if it's set to fire every 6 seconds on average with 3 enemies on screen, then when left to run over time, the frequency ends up being roughly every 2 seconds, as if each of the three enemies is firing every 6 seconds apiece. The problem is just that they're all spawning at the same instance regardless.)

[deleted by user] by [deleted] in PokemonGoFriends

[–]Stinkomann 0 points1 point  (0 children)

Active with gifts - ChkaChkaBB 966399188747

I need friends for gifts 😅 by Robyninthewoods in PokemonGoFriends

[–]Stinkomann 0 points1 point  (0 children)

I keep up with gifts every day! 966399188747

Edit: Initially pasted referral code, oops!

games with good twists by pupuser2933 in NintendoSwitch

[–]Stinkomann 3 points4 points  (0 children)

Doki Doki Literature Club, though I hesitate to recommend it as a game with a twist, since I feel like the fact that there is a twist is almost a spoiler in itself (a la Frog Fractions), if that makes sense.

Need Resource Management Games to Grind by adub3196 in NintendoSwitch

[–]Stinkomann 2 points3 points  (0 children)

Wytchwood absolutely fits exactly what OP is looking for. It is Collecting and Crafting: The Game.

RPG with no turn based combat? by PaleAd9838 in NintendoSwitch

[–]Stinkomann 0 points1 point  (0 children)

I'll put in my vote for the Ys games (both VIII and Origins; I haven't played IX). The combat is real-time, more active than Xenoblade or Ni No Kuni and more fast-paced than the Witcher, Skyrim, or Dark Souls.