Tag: sprite
-
Playdate 10
A small update this time around. Having two ghosts chase one other identical ghost around the maze was getting a bit silly, so time for a player character. I drew up a quick puck-man in Resprite, with three frames per direction: .. and loaded that in as puckTable: Then, when setting up the player sprite,…
-
Playdate 9
In day 8 I added an enemy ghost, but one with no brain – it just bumbled randomly around the maze: Time for some very simple AI. In real Pacman the three ghosts have different chasing strategies, but I thought I’d go for something very simple, from first principles – a ghost that chases straight…
-
Playdate 4
Having worked out how to draw a sprite, and then a background, it had to be time to put them together. My first attempt at this didn’t work at all – all I got was the background, no sprite – until I learned that I need to convert my TileMap to a sprite also: ..…
-
Playdate 2
Now the simulator’s running and we can get something on screen, let’s try for some simple pac-man like sprite controls. First, the background image. Skipped this yesterday. Made a 400×240 black and white image, saved as a PNG in Photoshop, then called that in using the sample code: That works – but my sprite is…