So me and a friend & programmer named 0Arc is working on a project together. He's entirely new to the scripting system and so am I. However while he has a lot of experience in other programming language, my experience is quite lacking.
0Arc will be working on a chatbot that will parse commands from the twitch.tv chat and output the. He already has the bot since before. I'm just assuming he will tune it and change it to do what we need.
The way this is going to work eventually is that people in the twitch chat will be able to interact with your RPGM game. I know, I know some of you experienced scriptwriters might be shouting SOCKETS. While I'd love to make this thing more efficient you have to realize that this is my first script (with a bit of help from snippets I found here and there on the community and some help from my friend).
We are able to load data, and set it to ingame var/swi. We still have to work on parsing things so the document could show the program what switch to set to true and what variable should have the number "1337" etc. (any solid walkthrough or info on how to parse files good and efficiently is very welcome)
Here's the code:
http://pastebin.com/VVKTT5tH
In addition to this script however and here is where I'd like some help. We have added this to Scene_Map under
class Scene_Map < Scene_Base
And inside of "def start" and under "super", right before the "end" we added: $c = PJGPlays::TimeManager.new()
So that we can use script call for $c.update() in a parallel event and just add a wait for whatever interval we choose. This imo feels quite clunky. I'm pretty sure there is a better way to do this part? Maybe through aliasing but honestly my understanding of aliasing is messy.
Any ideas on how to improve / change or make other things more efficient gladly accepted. Looking forward to learning more!
Cheers"
0Arc will be working on a chatbot that will parse commands from the twitch.tv chat and output the. He already has the bot since before. I'm just assuming he will tune it and change it to do what we need.
The way this is going to work eventually is that people in the twitch chat will be able to interact with your RPGM game. I know, I know some of you experienced scriptwriters might be shouting SOCKETS. While I'd love to make this thing more efficient you have to realize that this is my first script (with a bit of help from snippets I found here and there on the community and some help from my friend).
We are able to load data, and set it to ingame var/swi. We still have to work on parsing things so the document could show the program what switch to set to true and what variable should have the number "1337" etc. (any solid walkthrough or info on how to parse files good and efficiently is very welcome)
Here's the code:
http://pastebin.com/VVKTT5tH
In addition to this script however and here is where I'd like some help. We have added this to Scene_Map under
class Scene_Map < Scene_Base
And inside of "def start" and under "super", right before the "end" we added: $c = PJGPlays::TimeManager.new()
So that we can use script call for $c.update() in a parallel event and just add a wait for whatever interval we choose. This imo feels quite clunky. I'm pretty sure there is a better way to do this part? Maybe through aliasing but honestly my understanding of aliasing is messy.
Any ideas on how to improve / change or make other things more efficient gladly accepted. Looking forward to learning more!
Cheers"