Game Framework

So, I’ve always loved exploration/puzzle solving games. Games with inventory puzzles and immersive settings. So I’m creating a framework so users can easily make their own. It’ll include room changing (each room can have its own ambient light settings, time of day, etc), and a system to allow all your loop scripts to be run from a single script.

Even though not much is here, the framework is solid. The server runs all the main atmosphere scripts, and the client will run all the interactions.

Even though there is very little here, it’s all handled by one script. Soon I’ll add an inventory and cutscene framework as well to allow for easy, story driven games.

Please tell me that you’re using modulescripts :uhhh:
Are the lighting effects random?

[quote] Please tell me that you’re using modulescripts :uhhh:
Are the lighting effects random? [/quote]

No module scripts. I use stringvalues and loadstring to run those. I could convert to modulescripts though, but I think that loadstring is more efficent.

“I could convert to modulescripts though, but I think that loadstring is more efficent.”

All require is doing is checking in a table of existing loaded modules and if the module isn’t there loadstringing the source of the Module. It is literally exactly the same performance as whatever you are currently doing. There is no upside to not using Modules to do it.

1 Like

Reminds me of half life

[quote] “I could convert to modulescripts though, but I think that loadstring is more efficent.”

All require is doing is checking in a table of existing loaded modules and if the module isn’t there loadstringing the source of the Module. It is literally exactly the same performance as whatever you are currently doing. There is no upside to not using Modules to do it. [/quote]

Wait, modules don’t make a difference in performance? Awesome!