Laravel and the MetaVerse
Paul Preibisch
Posted on June 12, 2022
Second Life, and Opensim are old-school Virtual Worlds that have an in-world scripting language called LSL (short for Linden Scripting Language). LSL Scripts live inside of primitive objects (cubes, spheres, pyramids etc) which can be "rezzed" by your avatar when logged into the game. The cool thing about these scripts, is that functions exist which can receive and send HTTP requests in and of the game.
I've started an opensource project called Laravel-Meta-Connect.
The objective of this project is to examine how Laravel can be used to provide a backend interface for gaming inside of the virtual world.
To acheive this, Laravel-Meta-Connect will consist of serveral in-world LSL Scripts which, once configured, will communicate with Laravel to provide the following:
A Laravel View that displays Current Games Being Played In Second Life with Active players.
** A player will be registered as playing if they are sitting in a game chair (to be developed), or has clicked join on a Join Game Button (to be developed)A Laravel view that displays a scoreboard that lists top scores of an in-world Meta-Connect game
A Laravel View that displays the latest Zombie Attacks that have happened in-world from the Zombie Attacks Quiz Game. Users will have to answer questions to defend against a zombie attacks. Note: I have already created this game in Second Life, Code is just needed to pull in quiz questions from Laravel, and to report all Zombie Attacks. A Laravel backend web interface will be used for creating a quiz and questions for each in-world zombie attacks game
Transporter Quiz: Sit in a Second Life vehicle, and have it move to next location by answering a question. Locations are saved in the database physically in world by moving to the location, and clicking a save-location button on a HUD in Second Life. User will also add a description to the location. A Laravel backend web interface will be used for attaching a question to each location saved.
Scavenger Hunt Game: Place Scavenger hunt objects around the Virtual World (each registering with Meta Connect), have users collect points by clicking each object placed. A Laravel view will display a SLURL (SL URL) to each item inside Second Life, that users will need to teleport to. The View will display a checkmark beside each item collected. Another Laravel View will list a Grid of each item, and of each user who has joined the game, and who has collected each item. Points will be awarded to each user when an item is collected. A Laravel backend web interface will be used for attaching a question to each location saved.
Please let me know if you are interested in joining this project. Once developed, I would like to use it for language learning websites.
Posted on June 12, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.