Newbie OS Module Question
Monkey Forums/Monkey Programming/Newbie OS Module Question
| ||
Hi, I am one week into Monkey and I have a question about the OS Module. The OS Module Documentation states... "IMPORTANT! The os module is currently only available for the glfw and stdcpp targets." The Getting Started with Monkey Documentation lists the following targets... The HTML5 target The GLFW target The Flash target The XNA target The Android target The iOS target Does the OS Module only work for the GLWF, XNA and iOS targets? |
| ||
The OS module only works for glfw and stdcpp targets as you quoted ;) "IMPORTANT! The os module is currently only available for the glfw and stdcpp targets." |
| ||
STDCPP is a target that doesn't support mojo In case you're looking into the ability to read/write files, etc, you may want to look into these two modules that mimic file reading and writing GfK's file system http://monkeycoder.co.nz/Community/posts.php?topic=1395 My file system http://monkeycoder.co.nz/Community/posts.php?topic=1731 |
| ||
STDCPP is a target that doesn't support mojo, yet And never will be: http://www.monkeycoder.co.nz/Community/posts.php?topic=547#4190 |
| ||
Thanks all. I overlooked that XNA is C# and I had an incorrect understanding of STDCPP. New questions... How does one read and write data files (e.g. strings, floats, ints) in Monkey for the other platforms (e.g. Android and iOS)? The post above references two file systems. Which platforms do these work on? Are there any issues with either of them? Also, what is meant by "mimic file reading and writing"? The mimic part is throwing me...it either reads and writes OR it doesn't. |
| ||
Monkey only supports one editable data file that can be accessed via LoadState() and SaveState(data). The file systems mimic multiple files using that one file. iOS is the only platform that has issues with both. |
| ||
Thanks for your help. I've got the big picture now. |