Deprecated Blocks - Do they still work/Slow the game down?

AlexVsCoding

  • *
  • Posts: 186
In my quest to figure out why Corporate Salmon is running significantly slower than before, I figured I'd ask what I think should be a reasonably straightforward answer (That I can't find in the Stencyl documentation) - Do deprecated blocks, such as the "Always active" block in 3.5:
A: Continue to work
B: Slow the game down

Reason I ask is because Corporate Salmon still uses all of those blocks and like a stupid person, I put the always blocks in the actors, rather than use the behaviour (Meaning I have to change it for the 150+ actors that have that block in).

Any ideas if this is the case?

Thanks!

Justin

  • *
  • Posts: 4716
Using deprecated blocks should be fine, until it isn't. As long as they work for you, don't worry about it, but eventually deprecated blocks may stop working.

Most blocks that get deprecated should have direct alternatives in the main set of blocks, so remapping deprecated blocks to new ones should be done automatically, but perhaps we've missed a few cases. If you want to list what deprecated blocks are still showing up for you, we can take a look and see if we can automatically switch them in a later version.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

AlexVsCoding

  • *
  • Posts: 186
Using deprecated blocks should be fine, until it isn't. As long as they work for you, don't worry about it, but eventually deprecated blocks may stop working.

Most blocks that get deprecated should have direct alternatives in the main set of blocks, so remapping deprecated blocks to new ones should be done automatically, but perhaps we've missed a few cases. If you want to list what deprecated blocks are still showing up for you, we can take a look and see if we can automatically switch them in a later version.

Thanks for the quick response, the only one I can still see in the game is "Make Always Active". I've since switched them all out (And whilst performance appears to be unaffected, it's something off the list of potential issues. Thanks again!

Luyren

  • *
  • Posts: 2811
Most blocks that get deprecated should have direct alternatives in the main set of blocks, so remapping deprecated blocks to new ones should be done automatically, but perhaps we've missed a few cases. If you want to list what deprecated blocks are still showing up for you, we can take a look and see if we can automatically switch them in a later version.
About that (and highjacking for a bit), the event in Advanced > Custom Event shows the deprecated warning for some of my events. A long time ago, already existing events of this type started showing the warning sign, wheres others were ok. I never got around to replacing those, and don't know if I should worry. The description of the event just shows "This block is deprecated" after the normal description for it.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.