Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

PICO-8: Top-Down Adventure Game Tutorial

A beginner-level tutorial for making a top-down adventure game in PICO-8. · By MBoffin (Dylan Bennett)

Screen preview code

A topic by DoctorMikeReddy created Sep 14, 2022 Views: 236 Replies: 4
Viewing posts 1 to 4

In episode 4 you show the screen preview bottom right. How did you do this?

Developer

That was actually a cart I created specifically to demonstrate how camera() works. So I just made part of my _draw() function manually draw a little screen preview in the corner based on where box was. It looks cool, but it took some work to create. I hope that answers your question. (Let me know if you have more.)

I’ve since watched all this series, and am going to use it with some foundation year students :-)

Are the demo carts available too? Thinking of this one, and the one showing the scanning of the 8x8 grid, for example

Developer

Oh, that's great to hear! :) I'd be happy to make those demo carts available as well. You can load them in PICO-8's command line by using the following commands:

load #mb_camera

load #mb_camerafollow

load #mb_nestedfor

Thank you. Will keep you abreast of their progress :-)