Forum Replies Created
-
AuthorPosts
-
if it is going to be on steam, then surely there should be full steam integration out of the box as well?
The other thing would be to have proper help and everything working – which it isn’t.
At best it’s half complete. It would be better to get everything working. One click distribution, app icons, proper project management with asset tracking. We are no longer in the 1980’s people expect more than just an editor and compiler…
I would do some check first. I would have thought so, but not tested any web stuff
@phatpeter Your code didn’t run, compiled, bu when run didn’t do anything, no window, etc.
Quick look into the code and there was window code commented out, etc.nevermind…
Do you have an example with reproducible affects on macOS. I can try and debug here.
Also what system are you running it on (cpu specs, machine etc)erm, in simplest form. don’t use onMouseEvent and OnKeyEvent
Heres an example with no mouse and no keyboard stuff + full explanation:
[/crayon]Monkey12345678910111213141516171819202122232425262728293031323334[crayon-5cba9971dc388289890246 inline="true" ]'A Mojo App has a window. Mojo has all the commands and logic to deal with windows'namespace is what we call the app.'Other files with the same namespace will behave as if they are a single unified fileNamespace myMojoApp'import std and mojo to provide basic monkey commands and window extensions#Import "<std>"#Import "<mojo>"'Using allows us to reference commands in std and mojo without std. or mojo. prefixesUsing std..Using mojo..'we now need a Main function to call. Every app needs a Main()'Here you can see we are using an extended Window Class (MyWindow))Function Main()New AppInstanceNew MyWindowApp.Run()End'Here we have the class that deals with the window, drawing, etcClass MyWindow Extends Window'We are Using all the Default stuff in Window, but doing our own drawing, so override OnRender()Method OnRender( canvas:Canvas ) Overridecanvas.DrawText( "Hello World",Width/2,Height/2,.5,.5 )EndEndMonkey2 has never shown any stuttering on mac OS using a variety of machines from 2010-2013 MacBook, machine and Mac Pro
Be aware of BlitzMax that it is 32bit and High Sierra is the LAST Mac os it will run on. So if you are cinsiddereng a shift then think again <- just warning you on that one…
confirmed mac os High Sierra Monkey2 V1.1.05 too :/
its ubunu, monkey2 V1.1.09
cd to get into scripts directory
./blah.sh to run commandthe fatal error is with the mx2cc compiler
I know that once it works, it works. but this is neither fun nor anything that anyone should really be doing. There should be simple instructions, and fool proof installs. It’s not a good start IMHO
But definitely thank you for you patience with me.
fatal error
_app_2event.h <– no such file or directory!!ok. I think it compiled – everything looked like it was compiling anyway.
next problem – I’m HATING linux
go into the monkey folder
Monkey2(Linux) is listed (although icon looks like text)
click Monkey2(Linux)
it pops up a dialog ‘could not display “Monkey2(Linux)”‘. There is no application installed for shard files.Anyone have a scoobie what is going wrong now?
I know it’s now me but surely there must be a simple way to do this. Even DOS was a walk in the park compared to this…
yep. Sounds good.
@abakobo thanks for the listing. the sudo part was excellentnothing about linux is a simple thing -hmm
brilliant
I thought it was a cast, but just couldn’t get it to work. This just exactly what I wanted… Thankyouok, got it all in the home folder. But what do I do next?
I tried running rebuildall, but get errors about the missing linux mx2cc. when I try and download it from git I get some sort of compressed _dms file?
any suggestions?
brilliant. I’ll give it a go ….
I’ve got ubuntu and the git source, but where the hell do I install them?
-
AuthorPosts