BTEUK / TeachingTutorials

An interactive tutorials system for Build the Earth
MIT License
0 stars 0 forks source link

Selections do not have a 'correct' height, limiting creativity #73

Closed george112n closed 1 year ago

george112n commented 1 year ago

There are many cases where making a point selection at the correct height is completely essential for doing a tutorial correctly. For example when a player stacks up blocks with pace and then needs to do a line at a height, it is vital that they do it correct because further down the line, it might result in the thing they are trying to make look completely wrong or may even involve later inability to move forwards because a subsequent task such as a place task requires a block to be placed on top of a block which is at a different height.

It also destroys all attempts to have virtual blocks reappears when resuming a tutorial because the WE resulting from a selection needs to know what the height needs to be so the height of the selection must be stored somewhere. In renewal cases, you can't just fetch the height that the player made the selection because that data is now gone.

george112n commented 1 year ago

This is a relatively minor fix and all it involves is a small edition of code when setting answers and then when compiling answers into the task.

george112n commented 1 year ago

This has now been fixed and should allow virtual blocks renewal to progress