--
You received this message because you are subscribed to the Google Groups "PuzzleScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puzzlescript+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wait, what?
Referring to groups of objects is slower than just referring to each specific object in the group?
Stephen, can you confirm?
Try loading your same level but remove all of your rule code except basic player moment stuff and see if it still lags.
@Stephen The trouble is, I'm not quite ready to show the game off to the masses yet. I might be able to get 'chapter 1' presentable and link to that, but not for a few days.@Elwood I might be wrong, but I think rules referring to object groups compile to individual instructions for each member of the group. Happy to be corrected on that though! As for the large levels, they're definitely part of the issue as smaller levels are fine. Free-roaming and exploration are quite intrinsic to the design, though, so I'd like to keep them if possible. It's not like it's unplayable or anything, just noticeably a bit slower.
--
>@Stephen The trouble is, I'm not quite ready to show the game off to the masses yet. I might be able to get 'chapter 1' presentable and link to that, but not for a few days.I can't think you informed general purpose optimisation tips. It's been a while since I looked at the compiler/interpreter part of the engine. If I saw some particular code I could probably think of some solid tips.
On Sat, Sep 2, 2017 at 11:32 AM, 'Virelsa' via PuzzleScript <puzzle...@googlegroups.com> wrote:
@Stephen The trouble is, I'm not quite ready to show the game off to the masses yet. I might be able to get 'chapter 1' presentable and link to that, but not for a few days.--@Elwood I might be wrong, but I think rules referring to object groups compile to individual instructions for each member of the group. Happy to be corrected on that though! As for the large levels, they're definitely part of the issue as smaller levels are fine. Free-roaming and exploration are quite intrinsic to the design, though, so I'd like to keep them if possible. It's not like it's unplayable or anything, just noticeably a bit slower.
You received this message because you are subscribed to the Google Groups "PuzzleScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puzzlescript...@googlegroups.com.
[cleanse qframe qmove state] -> [cleanse]
[cleanse qmove] -> [cleanse no qframe no qmove no state]
Maybe, but only if they apply. Instructions that match multiple ways are worse (like multi-segment patterns and ellipsis patterns).