Skip to content

risolvipro/playdate-mode7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playdate Mode7

Playdate Mode7 is a library designed to recreate the graphics mode known as "Mode 7".

demo

Features

  • Camera(s) with adjustable position, angle, tilt, FOV
  • Customizable sprites
  • Support to multiple displays (splitscreen)
  • Functions to project a 3D point from the world onto the screen
  • C and Lua support

Lua setup

The library has a simplified Lua setup:

  • Locate the pre-compiled binaries for your platform in the platforms/[platform] folder
  • Copy the files (elf, dylib, dll) into the Source folder of the project
  • Import the library: import mode7

Documentation

Assets

The assets included in the demo (track-0, full-car) are part of P-Racing, please don't use them in your final game.