just a Application
Monkey Forums/Monkey Programming/just a Application
| ||
excuse my bad english. I hope i can explain what i mean ;) I want to create a App without any graphics output, but monkey seems always create a graphics context. is there any way to disable mojo.graphics and create a app without a canvas? |
| ||
Just don't import mojo. Then the only requirement is to use a Main() function where your app will start. |
| ||
Without mojo you are limiting your targets to really just stdcpp... |
| ||
Without mojo you are limiting your targets to really just stdcpp... no, any target can be used without mojo |
| ||
no, any target can be used without mojo Not very well though... without mojo it will be just console output. Try doing that with Flash, Android or iOS ;) |
| ||
Wondering if he wants something like this(ish):- http://www.monkeycoder.co.nz/Community/posts.php?topic=1900 Dabz |
| ||
no, i want just a basic programm without graphics, input etc. Like in BlitzMax where i can do that with "Framework brl.basic" |
| ||
In monkey you have to import mojo (graphics, input, sound) to acually use it. It's not like BlitzMax automatically importing every BRL and PUB module. So if you don't import mojo it will only use the monkey language modules (list, map, math, etc. ). |
| ||
no, without import anything i get also for HTML5 a Graphics-Context. On Android i just get errors. Function Main() End ...should be a minimal Monkey Program, but that doesn't work. |
| ||
This 2liner works on #48 for me on HTML5 and STDCPP. |
| ||
This 2liner creates a canvas. Exactly that what i not want. |
| ||
If you are using the html5 target, the html5 target template always includes a canvas and a console. You could edit the template (look at monkey/targets/html5) or delete the canvas with the dom. Mfg Suco |