3

Mode7 Graphics Library for Playdate

 8 months ago
source link: https://github.com/risolvipro/playdate-mode7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK