Skip to main content
Background Image

apptest_luareload

Table of Contents

apptest_luareload

This test shows you how to pass data between the C++ application and a Lua script with ad-hoc custom tables.

It also shows how to hot-reload a script to update the parameters of your program without recompiling or restarting it.

Controls

  • Pressing the left button and dragging the mouse around will move the particle system
  • Pressing F5 or 5 on the keyboard will reload the same script with a different parameter that will result in different particle colors
  • Pressing Escape on the keyboard will quit the application