increpare / increpare/PuzzleScript

message triggered during run_rules_on_level_start overrides message triggered on restart command

Open
#676 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
185
PR merge metrics
No merged PRs in 30d

Description

https://github.com/increpare/PuzzleScript/issues/627#issuecomment-840052984

repro example

run_rules_on_level_start
OBJECTS
Background
black
Player
green
test
transparent
LEGEND
P = Player
t = test
SOUNDS
COLLISIONLAYERS
Background
Player
test
RULES
[test] -> message test
[test] -> []
[action Player] -> restart  message action
WINCONDITIONS
LEVELS
tP

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the reproduction example from the issue and observe the messages produced at level start and after the restart command. Trace the message-handling paths for run_rules_on_level_start and restart, then verify that the restart-triggered message is not overridden by the level-start message.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.