Rules      FAQ       Register        Login
It is currently May 10th, 2024, 5:10 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Finding a way to implement scripts
PostPosted: April 15th, 2024, 6:38 am 
Dwarf
Dwarf
User avatar

Joined: 20 December 2022
Posts: 50

Offline
Hey folks, I'm looking for some advice on implementing and executing Lua scripts in my program. Any ideas? I'm using C++ for my project. It's a game engine, and I want to allow users to create custom behaviors using Lua scripts.


Top
 Profile                  
 
 Post subject: Re: Finding a way to implement scripts
PostPosted: April 15th, 2024, 9:01 am 
Hobbit
Hobbit
User avatar

Joined: 19 December 2022
Posts: 48

Offline
Lua's a great choice for scripting within programs. What language are you working with, and what's your project about?


Top
 Profile                  
 
 Post subject: Re: Finding a way to implement scripts
PostPosted: April 15th, 2024, 10:26 am 
Dwarf
Dwarf
User avatar

Joined: 20 December 2022
Posts: 50

Offline
Lua is often used for game scripting due to its simplicity and speed. Integrating it into a C++ project is quite straightforward. From what i know is that the Lua C API provides functions for loading and executing Lua scripts, manipulating Lua variables, and more. It's pretty powerful once you get the hang of it. You can also use other soft like trigon executor to implement scripts


Top
 Profile                  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron




Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Boyz theme by Zarron Media 2003