Skip to content

Comments

Gridview#73

Open
dcsdumas wants to merge 7 commits intoGamesRightMeow:mainfrom
dcsdumas:gridview
Open

Gridview#73
dcsdumas wants to merge 7 commits intoGamesRightMeow:mainfrom
dcsdumas:gridview

Conversation

@dcsdumas
Copy link

@dcsdumas dcsdumas commented Feb 5, 2026

Pulled apart the huge update that I submitted earlier to make this easier to manage. This update adds sprites and gridview. With other changes required to make them work properly

Hopefully this is better.

Grid view mostly implemented, missing code for nine-slice back ground.  Need to implement nine-slice first.
Updated playdate/graphics and playbit/graphics to allow transparent clearing of images
Added nineslices
Updated grid view to work with nineslices and fixed scrolling issues noticeable with larger inset padded
Added image:drawTiled which is used in nineslices
Added comment to graphics about transparent being an allowed color
Matching playdates where padding of cell is shown when minimum scroll to cell is selected.
Fixed inset size error.
Update to the way that draw offset is handled.  Setting draw offset will change offset for next frame.
Fix to blinker cycling.
Push and pop context updated for playdate.graphics so that it works with draw offset and drawing into images or sprites.
GridView newly implemented
Images updated to store .imageData updated drawing to work with updated drawoffset, added bg color for new image, added copy function, added draw centered, image clear, draw tiled using quads to draw
Sprites class newly implemented
Object class updated to work with sprites.
Timer minor update to add delay timer
ui.lua added to allow import of gridview and crankindicator by importing ui (as with playdate)
Fix nil error when sprite has no draw mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant