Front page
--
Wiki
Front page
--
Wiki
The forums for the Torque 3D game engine
Skip to content
Quick links
Unanswered topics
Active topics
Search
FAQ
Register
Login
Remember me
Forums
Related Technologies
Torque 6
Replacing TS with Lua
Moderator:
andrewmac
5 posts
Page
1
of
1
Post a reply
Topic tools
Print view
Replacing TS with Lua
saindd
Posts:
220
Joined:
Wed Apr 15, 2015 3:20 am
by
saindd
» Thu Apr 28, 2016 3:42 am
Reply with quote
How easy it is to replace scripting engines inside Torque 6? Is it too deep of a feature, or is it modularized?
Re: Replacing TS with Lua
LukasPJ
Site Admin
Posts:
367
Joined:
Tue Feb 03, 2015 7:25 pm
Location:
Denmark
Contact
Website
Facebook
YouTube
Google+
by
LukasPJ
» Thu Apr 28, 2016 2:02 pm
Reply with quote
@
saindd
I modified Torque6 to have a C-interface and used it to bind the C# as the scripting language alongside TS. Is that the direction you want to take? If it is, then I can give you some pointers.
Re: Replacing TS with Lua
saindd
Posts:
220
Joined:
Wed Apr 15, 2015 3:20 am
by
saindd
» Sat Apr 30, 2016 3:15 am
Reply with quote
What do you mean by C-interface? Getting rid of object access from the scripting language?
Re: Replacing TS with Lua
saindd
Posts:
220
Joined:
Wed Apr 15, 2015 3:20 am
by
saindd
» Sat Apr 30, 2016 3:17 am
Reply with quote
I was planning to use this:
http://sol2.readthedocs.io/en/latest/
Re: Replacing TS with Lua
LukasPJ
Site Admin
Posts:
367
Joined:
Tue Feb 03, 2015 7:25 pm
Location:
Denmark
Contact
Website
Facebook
YouTube
Google+
by
LukasPJ
» Sat Apr 30, 2016 12:56 pm
Reply with quote
So, that's the difference between implementing a new interpreter and doing interop between the engine and another language.
I don't know about the difficulty of implementing a new interpreter, but you might be able to get some ideas looking at my implementation of C#:
https://github.com/lukaspj/Torque6-Embedded-CSharp
In particular, this Wiki-page could give you some idea of where to start:
https://github.com/lukaspj/Torque6-Embe ... Sharp-Flow
Display posts from previous:
All posts
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by:
Author
Post time
Subject
Ascending
Descending
Post a reply
Topic tools
Print view
5 posts
Page
1
of
1
Return to “Torque 6”
Jump to
News
Steering Committee
Announcements
Changelogs
Blogs
Show-off
General
General
Torque 3D website feedback
Job Board
Looking for work
Looking for help
Torque 3D
Beginner
Rendering
C++
TorqueScript
Content
Resources
Gameplay
Visuals
Assets
Tools
GUI
Torque 3D Development
Related Technologies
Torque 2D
Torque 6
OMNI
Made with Torque
Übergame
Dots Net Crits
MegaMotion
Who is online
Users browsing this forum: No registered users and 1 guest
Forums
Quick links
Delete all board cookies
Contact us
All times are
UTC+02:00