Psych Engine Logo
Psych Engine - Lua Script API

Code Snippets


In this page, you can find many example Scripts to help you understand how Lua Scripts work.

  • Mod Folder sample.
  • Sample Script with all callbacks explained.

  • Cutscene Scripts:

  • Example Video/Dialogue that plays on Bopeebo (Story Mode).
  • Drag 'n' Drop Dialogue Script (Story Mode) - Put it inside your chart's folder.

  • Note Types and Events:

  • Example of a Custom Event - "Opponent Fade".
  • Example of a Custom Note Type TXT - Put it in "custom_notetypes/Orange Note.txt".

  • Stages:

  • Week 1-6 stages recreated in Lua Stage Scripts.

  • Others:

  • Tween Example - Boyfriend gets bigger on his turn.
  • Animated Sprite Example - Dad clone behind Dad that only bops his head.
  • Usage of setPropertyFromClass - Game Over Modifications.