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
12 stars 5 forks source link

Support non-square sprite sizes #119

Open rolopogo opened 4 hours ago

rolopogo commented 4 hours ago

Check ([ ] -> [x]) all that apply, then describe the issue below:

The prelude sprite_size AxB only creates AxA grid cells. More control over grid size and spacing would allow more flexibility for creators. This is particularly useful when rendering with perspective, where forshortening along the up axis enhances the illusion of a lowered camera.

sprite_size 16x16 image

sprite_size 16x10 image

david-pfx commented 4 hours ago

I've wondered about this. Text mode cells are not square, so most of the code already handles it. I'll have a look at what's involved.

I assume you would use it for your game?

rolopogo commented 3 hours ago

I'm already using this in my forklift version for 16x10 sprites with a bunch of translates for elevation.