15 lines
700 B
Plaintext
15 lines
700 B
Plaintext
LOAD gamedata/lobby.txt
|
|
[CONFIG]{
|
|
Menu(true)
|
|
//newThread("THREAD") // Starts a thread that handles events and stuff... Just throw this in and things flow nicely
|
|
JUMP("LOBBY") // Lets start the game Jumping to block lobby in lobby.txt
|
|
}
|
|
//Internal threads can now be used to handled to manage hooks and events so there is no longer to usse this type of thread handling
|
|
[THREAD]{
|
|
::threadloop::
|
|
sleep(.001) // No need to put this in, but it is used to help show you whats going on
|
|
//Setting up a thread alone allows for events to be process automatically
|
|
//All variables are shared between all threads! Functions binded to the external language will be ran in a thread
|
|
GOTO("threadloop")
|
|
}
|