I have created a program from XML layout files , but I don't know how can i load the scripted actions which in Lua scripting files, just like CEGUI Demo 8 ,
Would you like to post the source of Demo 8 or give me some info about this ?
scripted actions
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: scripted actions
To get this kind of itegratin with scripting, you need a ScriptingModule object specific for the scriptig language you are targetting. Using this it will then be possible to get gui events to call script code like in demo 8.
There is no source code for demo 8 as such, it was entirely done via script and the config file (IIRC). What made demo 8 possible was my (abandoned) ScriptModule using luabind, I am willing to give this out, but what you need to realise is that the code is totally out of date with the current system, so will not compile or work properly without a lot of modifications. I will say now that no support for this code will be provided what so ever - it was abandoned for good reason
I do intend to supply at least one example ScriptingModule at some point in the near(ish) future.
Let me know if you still would like to see the source for the ScriptingModule and I'll upload it somewhere.
CE.
There is no source code for demo 8 as such, it was entirely done via script and the config file (IIRC). What made demo 8 possible was my (abandoned) ScriptModule using luabind, I am willing to give this out, but what you need to realise is that the code is totally out of date with the current system, so will not compile or work properly without a lot of modifications. I will say now that no support for this code will be provided what so ever - it was abandoned for good reason
I do intend to supply at least one example ScriptingModule at some point in the near(ish) future.
Let me know if you still would like to see the source for the ScriptingModule and I'll upload it somewhere.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: scripted actions
CrazyEddie wrote:
Let me know if you still would like to see the source for the ScriptingModule and I'll upload it somewhere.
CE.
Please upload it at your convenience ,perhaps it can be as my referance .Thanks .
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: scripted actions
http://crazy-eddie.myby.co.uk/files/cegui-lua.zip
I'll wish you the best of luck with this, the code is pretty terrible, and it hasn't really been updated since Demo 8 was out out last July
CE.
I'll wish you the best of luck with this, the code is pretty terrible, and it hasn't really been updated since Demo 8 was out out last July
CE.
Re: scripted actions
I have got ,thanks again ,it will be helpful.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 7 guests