david-pfx / PuzzleScriptNext

A direct successor to PuzzleScript, building on the work of PuzzleScript Plus, Pattern:Script and others.
http://www.puzzlescriptnext.polyomino.com
MIT License
11 stars 4 forks source link

Text sprite vertical alignment problem #35

Open david-pfx opened 4 months ago

david-pfx commented 4 months ago

(Mathgod) when I set sprite size to 32, I need to translate the text sprite down by 2 grids manually so that it is aligned middle vertically, I wonder is it the default setting

david-pfx commented 1 month ago

2 'grids'? Can you provide some sample code?

angilbert commented 1 month ago

This is a good example of the vertical alignment problem: https://david-pfx.github.io/PuzzleScriptNext/src/editor.html?hack=4b74cf076c6531b45168a55fb336f4ab. If that blue 'b' was (by default) central in the grid cell then it would fully address this particular issue...

Screenshot 2024-07-17 at 15 37 51