Rick Posted May 23, 2017 Share Posted May 23, 2017 Will do. Quote Link to comment Share on other sites More sharing options...
Josh Posted May 23, 2017 Author Share Posted May 23, 2017 This is the format for tutorials. Tutorials_Editor_Lights.xml I created the following special tags you can use in the XML: [h2] [h3] [h4] [/h2] [/h3] [/h4] [script] [/script] Note that the <> brackets must be typed out as < and > or it will mess up the XML format. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Core Posted May 23, 2017 Share Posted May 23, 2017 Oh, this is cool. I've toyed in my mind the idea of creating interface where text prints to screen like in Nostromo from Alien movies. This is way above my current level with lua though, but it looks like Ricks example above can be used to do exactly that! 1 Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted May 30, 2017 Share Posted May 30, 2017 Is it possible to use coroutines to pause a game? Aggror mentions it here Quote Link to comment Share on other sites More sharing options...
Rick Posted May 30, 2017 Share Posted May 30, 2017 That comment was about waiting inside a script for a period of time. Pausing the entire game is different functionality. If you need to pause the game, not call any script functions, then you'd probably do that with not calling the world update inside main.lua which should make it so nonen of the scripts in your scene call thier update functions which should essentially pause the entire game. Coroutines are more for sequence of events being coded sequentially vs managing the state and branching off based of the state. Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted May 30, 2017 Share Posted May 30, 2017 Thanks Rick. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.