About Monkey 2 › Forums › Monkey 2 Development › Welcome to the monkey 2 development discussion forum!
This topic contains 23 replies, has 10 voices, and was last updated by Mark Sibly 2 years, 10 months ago.
-
AuthorPosts
-
January 3, 2016 at 1:46 am #53
Welcome to the monkey 2 development discussion forum!
Code tag doesn’t seem to be working yet, but I’m looking into it!
January 4, 2016 at 7:46 am #109Monkey1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889#Import "<mojo.monkey2>"Using stdUsing mojoUsing mojo2Using std.fiberClass RainbowCycler Extends Generator<Color>Method New( speed:Float,loops:Int=1 )Start( Lambda()For Local i:=0 Until loopsFor Local h:=0.0 Until 1.0 Step speedYield( Color.FromHSV( h,1,1 ) )NextNextEnd )EndEndClass MyWindow Extends WindowMethod New()Super.New( "My Window",0,0,640,480,WindowFlags.Center )Destroyed=App.TerminateStartFiber( CycleClearColor )Local button:=New Button( "Click me!" )button.Layout="float"AddView( button )'Ok, make button 'drop in'!StartFiber( Lambda()Local y:=0.0RepeatLocal dy:=.75-yIf Abs( dy )<.001 Return 'near enough...y+=dy*.05button.Gravity=New Vec2f( 0.5,y )App.WaitIdle()ForeverEnd )EndMethod CycleClearColor()RepeatLocal cycler:=New RainbowCycler( .01 )While cycler.HasNextClearColor=cycler.GetNext()App.WaitIdle()WendForeverEndMethod OnRender( canvas:Canvas ) OverrideApp.RequestRender()EndEndFunction Main()New AppInstanceNew MyWindowApp.Run()EndOkay, that turned out to be easy!
A HUGE shout out to ‘Devolonter’ for at some point adding monkey syntax highlighting to Crayon…not quite monkey2, but close!
Wordpress + bbPress + bbpStylePack + Crayon + CleanTalk + FirmaSite FTW!!!!!
January 5, 2016 at 10:43 pm #114Don’t think I like that ‘popup’ toolbar though.
January 5, 2016 at 11:47 pm #116Print “yucky”
January 6, 2016 at 12:30 am #117Gone now.
February 2, 2016 at 3:53 am #206Well, here we go… A test post.
EDIT: And a test edit.
February 2, 2016 at 3:55 am #208Welcome!
February 2, 2016 at 7:08 am #214HEY HEY!
February 2, 2016 at 12:42 pm #228Greetings!
Edit: more greetings
February 2, 2016 at 6:31 pm #229Maybe put the demo up on this forum would be a good idea
February 3, 2016 at 7:56 am #249The magical mobile theme totally has a fetish for killing the h-scroll, leading to situations where posts are unreadable:
And this input box seems to not understand how swiping keyboards work! (It must be doing something clever with the cursor in “visual” mode that ruins backspacing by creating corrupted text…)
February 3, 2016 at 8:11 am #251How do you unsubscribe from threads? I can only find “Notify me of follow-up replies via email” when posting…
February 3, 2016 at 8:25 am #253How do you unsubscribe from threads? I can only find “Notify me of follow-up replies via email” when posting…
Uncheck the ‘notify me of…’ checkbox.
This was defaulting to ‘checked’ until this morning, so you’ll still be subscribed to threads you posted to yesterday and will have to unsubscribe from them.
February 3, 2016 at 8:32 am #254Any chance of putting codeboxes in an iframe on mobile, mark? Sorry if this isn’t the right thread to ask, but I’d really like to be able to at least read the body text on a post with code in it
I’d even be okay with the code being scrolled off, so long as it didn’t take the rest of the post off-screen with it…
February 3, 2016 at 9:07 am #255Ah found the Unsubscribe button (top right in a light blue colour)
-
AuthorPosts
You must be logged in to reply to this topic.