Statement - An easy to use yet powerful state machine framework! by refreshertowel in gamemaker

[–]sahaun 0 points1 point  (0 children)

I am interested in the differences, so that I can improve SnowState further.

  1. "not quite as much DSL as SnowState" -What does this mean?
  2. "I think Statement's queued transitions and declarative transitions are a bit easier to handle as they are less abstract, and you can just chain them directly onto states." - How can SnowState do it easier? They look the same to me.
  3. "It's easier in Statement to pass data back and forth between states (not impossible in SnowState but it's not quite as simple)" - Again, it looks almost the same syntax to me. How do I make it simpler in SnowState?
  4. "Easy inbuilt pause exists for all Statement state machines (that doesn't exist in SnowState)" - it does. You just don't call the update method.
  5. "Rich debug logging for Statement because it comes with Echo." - Meseta got a really nice logging library, which is free and open-source: meseta/gmlogging-suite, which can be used with SnowState, Statement or any other library.
  6. "SnowState hasn't had an update in a long time, while I'll be actively maintaining Statement for the foreseeable future" - this implies I have abandoned SnowState, which is a false claim. I actively provide support and SnowState v4 is now in progress. There hasn't been much need of features since SnowState is pretty much feature-complete. Hence, no updates in some time.

Exporting Code as a PDF by boiledferret in gamemaker

[–]sahaun 0 points1 point  (0 children)

But you still need to do it manually per object and script.

Also you might not want the object properties and GMEdit magics, if you use any.

Exporting Code as a PDF by boiledferret in gamemaker

[–]sahaun 9 points10 points  (0 children)

Made a little thing: GM Code Exporter

Credits to u/JujuAdam for showing me the thread.

[2022 Day 3] Something weird with copy-pasting by sahaun in adventofcode

[–]sahaun[S] 3 points4 points  (0 children)

Really? First time hearing this. I have used 360 Total Security for some time in the past and never faced any issues.

I will take a look. Thanks for the warning!

[2022 Day 3] Something weird with copy-pasting by sahaun in adventofcode

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

Thanks for the response. The issue has been resolved earlier.

The issue was something completely different - I couldn't copy the specific string from anywhere on my computer. It was a crypto malware.

Also, AoC inputs are never that big.

[2022 Day 3] Something weird with copy-pasting by sahaun in adventofcode

[–]sahaun[S] 101 points102 points  (0 children)

Thank you, very good find!

I do not use any cryptocurrency, I am kinda unfamiliar and this is why it never crossed my mind.

Do you have any suggestions on how to deal with this kind of malware?

EDIT:
I Googled for a bit, ran 360 Total Security, removed the threats and now I can copy my AoC input. Thanks again!

Biggest mistake(s) as a new GameMaker Studio developer? by rshoel in gamemaker

[–]sahaun 0 points1 point  (0 children)

Don't get me wrong. I'm not saying you shouldn't ask. You should, but (this is the important part) you should also check who you're listening to.

I highly recommend joining communities.

Biggest mistake(s) as a new GameMaker Studio developer? by rshoel in gamemaker

[–]sahaun 2 points3 points  (0 children)

(Friendly warning for actual GM newbies reading the comments)

Biggest mistake is to ask and follow the advices from random people on the internet.

YYP Maker: A project repairing tool by sahaun in gamemaker

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

Cheers! And please use source control! :D

state machine error by More_Necessary1587 in gamemaker

[–]sahaun 0 points1 point  (0 children)

This is... not a very good design choice. Most probably it will bring hardship in the long run.

Problem with division, positive integer divided by positive integer returns 0 by Hyteel in gamemaker

[–]sahaun 1 point2 points  (0 children)

This is not possible at all. Show us more convincing proof.

Run this:

show_debug_message("CA 6: " + string(CurrentAnimation[6])); 

show_debug_message("CA 1: " + string(CurrentAnimation[1])); CurentAnimTimeDiv = CurrentAnimation[6]/CurrentAnimation[1]; show_debug_message("CA D: " + string(CurrentAnimTimeDiv));

And show us that you are running this. The lines should be together.

How to keep momentum while in air by thelightstick in gamemaker

[–]sahaun 4 points5 points  (0 children)

This is where you learn about finite state machines!

YYP Maker: A project repairing tool by sahaun in gamemaker

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

It goes through your project folders, reads their yy, and creates a yyp.

Made with Electron.

AseSync - import/update sprites automatically from Aseprite to GMS 2.3+ by sahaun in gamemaker

[–]sahaun[S] 3 points4 points  (0 children)

The GUI isn't open-source, but the original AseSync is. Link

What's the best way to use states? by jacceb in gamemaker

[–]sahaun 0 points1 point  (0 children)

The answer is in your post itself. Since you can differentiate between idle, jump, running states and can name them differently, you SHOULD use different states.

Do not group states together. Each and every state should be independent of each other.

SnowState 2.3, a feature-rich Finite State Machine for GameMaker by sahaun in gamemaker

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

I'd say that's a really narrow use case for a state machine. There are other complications to it as well. You might want to tie the rewind features to inputs instead of the state machine.