Skip to main content

One post tagged with "Architecture"

How PlayStation processors, memory domains, and engine systems fit together.

View All Tags

Integrating Lua for Gameplay Scripting

I wanted users to program their games without modifying or rebuilding the engine's code. A door, for example, needs to respond to input, remember its state, play a sound, and update a message. Lua gave me a way to let users connect those actions within the project.

Integrating it meant deciding which work belonged in scripts and which systems should remain in native code. Quick experimentation mattered, but I also needed to control memory use and execution time on PS1. That division shapes much of Polygon Engine's API.