Forum Replies Created
-
AuthorPosts
-
Canuto, it is a good / better idea for people to collaborate on an Atom plugin but as a big VS-Code fan I am more than happy doing my own thing.
As MSVC user I got a bit confused with upgrading monkey2 until the penny dropped that I would need to change some paths in common.bat to have _msvc suffix
Shell123456789101112131415set mx2cc=..\bin\mx2cc_windows.exeset mx2cc_new=..\src\mx2cc\mx2cc.buildv1.1.07\windows_release_msvc\mx2cc.exerem set mx2cc_new=..\src\mx2cc\mx2cc.buildv1.1.07\windows_release\mx2cc.exeset mx2cc_raspbian_new=..\src\mx2cc\mx2cc.buildv1.1.07\raspbian_release\mx2ccset ted2=..\bin\ted2_windowsrem set ted2_new=..\src\ted2\ted2.buildv1.1.07\windows_releaserem set ted2go_new=..\src\ted2go\Ted2.buildv1.1.07\windows_releaseset ted2_new=..\src\ted2\ted2.buildv1.1.07\windows_release_msvcset ted2go_new=..\src\ted2go\Ted2.buildv1.1.07\windows_release_msvcset launcher="..\Monkey2 (Windows).exe"rem set launcher_new=..\src\launcher\launcher.buildv1.1.07\windows_release\launcher.exeset launcher_new=..\src\launcher\launcher.buildv1.1.07\windows_release_msvc\launcher.exeSorry I should have been more clear, I have begun this project not completed it so no, it is not worth installing at this time.
It is a big job so I will need help, see README.
There is an install link at bottom of this doc
https://code.visualstudio.com/docs/extensions/debugging-extensions
Yup, I know how to turn it off using Mix_CloseAudio().
And that is about it
Apple and others warn about rendering without glClear in that it is slow and keeps old buffers alive.
Does the canvas get cleared before OnRender is called in the above example?
Hmm, in hindsight just prepending period to text variable should fix quick help.
Remove seems safe inside a for next, not sure if there are other iterations available for monkey containers.
Monkey1234567891011121314#Import "<std>"Using std..Function Main()Print "delete test"Local list:=New List<String>()list.AddLast("one")list.AddLast("two")list.AddLast("three")For Local i:=Eachin listIf i="two" Then list.Remove(i)Print iNextEndAugust 19, 2017 at 9:47 pm in reply to: [REQUEST] Add 'With…End With' Statement in Monkey2 language #9929Having two ways of doing something makes a language more complicated not simpler.
If you adopt use of methods for modifying objects and avoid any reference of fields from outside an objects implementation the programs you create will be easier to expand and maintain.
The echoserver example launches a server fiber which in turn creates a fiber per connection.
I would imagine problems would arise if you don’t use fibers hence they solve problems rather than create them.
I suspect the underlying mesh is not copied so models are more like primitives and not as slow as you think. Have you tried seeing how many ducks you can render?
If you look in mojo3d -> tests -> assets you will see that the duck and spheres media use gltf format. I’m not sure about animation support.
There is some info here on that topic, interested in how you get on.
Faster hardware might help?
I am on latest KabyLake I3 with SSD and DDR4 ram at +2GHZ and finding MSVC compile times very good although I suppose that is subjective.
Regarding your linking issue, I closed this issue but perhaps it is still pertinent.
A fresh checkout of monkey2 and ./mx2cc_raspbian makemods -verbose=3 has a MAV on container.monkey2. I currently suspect I don’t have enough ram on a pi2 for this kind of compilation.
-
AuthorPosts