MonkeyX install ?
Monkey Forums/Monkey Beginners/MonkeyX install ?
| ||
Sorry about this but I keep seeing "once you have installed MonkeyxPro78h." and its confusing me. I purchased and downloaded MonkeyxPro78h. - put it in a folder and ran Monkey.exe. everything seems to work fine and I have found no installer. What does installing Monkey actually mean? Thanks for any help - new to Monkey old to other languages |
| ||
Install means unzip :). Monkey runs nearly out of the box. you may have to install some sdk's and set your config file. Edit: why you're using such an okd version. If I were you, I'd take the 82'er version. |
| ||
Hi Duke, Thanks for you help - appreciated. OK so its just unzip and go unless you need some additional modules / SDK's ..etc I have a serial number but have not found anywher to use it yet apart from registering the software. When I purchased ($99 version) this morning, this was the download version I was presented with - now if I go to product updates, I see 77a - latest version? The difference is my first download the zip is called MonkeyXPro. I am a bit lost currently Duke... Took a look at your Framework - just a bit nervous to add stuff in right now because this is all a bit new to me and want to walk before running! Thanks for your help with this |
| ||
Double posted me... weird. |
| ||
Pals - the only place you use the serial number is in registering the account. This gives you access to all of the MonkeyX Pro downloads. If you click on your name in the top right corner of the page when you are logged in, you can find the "Product Updates" page. Here you can download the current stable MonkeyX Pro 82B. Edit: also check out InvaderJim's MonkeyX video tutorials. They are very slightly outdated (though not much has changed about the basics), but are absolutely a great introduction to the language (and object oriented programming, if you are new to that.) They are on YouTube, and also there is a thread about them (with a table of contents) on this forum: http://www.monkey-x.com/Community/posts.php?topic=3318&page=1 And check out this "automatic target installer" for setting up the SDKs. YMMV, but it is an easy way to collect and install the additional target SDKs. http://www.monkey-x.com/Community/posts.php?topic=8519&page=first |
| ||
Yes. If you want to compile for android, you'd need to install ant, and the java sdk for example. then you need to setup the config.winnt.txt. ... Look in the docs. If you still have questions, just ask. My framework is still work in progress. There's still a lot to do. But my aim is to keep it very simple, especially for newbies to monkey. No modification of mojo and such stuff like the diddy framework. |
| ||
Hey thanks Duke - I had only registered the FREE version so now that I have registered Pro I see the download you are pointing me at.. Thank you. Yep I am on simple Game 6 of Jim's Simple Game - think thats the one you mean. Very Nice tutorials Yes I kind of understand OOP - spent a lot of time with AS3 and built a game using Citrus Engine a year back. Not sure if As3 is a good example of OOP but I try to think like that! with Monkey it is such a pleasure not having to spray semicolons all over the place! Really enjoyed today running through those tutorials. TED seems very responsive and propely built. Also imagine that this stuff ends up nearer to machine code ( so faster) than anyhing else and thats nice! Thanks for your help - starting to feel comfortable. Do get a bit untogether over SDKS and and so on - there is a tendancy to want to get something that just does it for you... I see Jungle seems to offer that but I am still walking for now. Yes I messed about with some android programming last year but it made me feel quite unwell! I like to feel fastened to a desktop! Maybe Monkey will lighten the mobile experience! Enjoy Duke |
| ||
Welcome to the forum |
| ||
Thanks Mike - Off to check it out |
| ||
Here something I wrote in 1h. You'll need the maniac-module. Just a little "Guessing-Number" Algorithm :P. But it shows how to setup a simple Monkey-Mojo App with maniac-framework. [Codebox] Import mojo Import maniac Global g:Game Function Main:Int() g = New Game 'Konstruktor zum erstellen des Editors End Function Class Game Extends App Field AppState:Int = 1 Field Btn_Yes:ManiacButton Field Btn_No:ManiacButton Field Btn_Start:ManiacButton Field total:Int Method OnCreate:Int() SetUpdateRate 60 maniacInit() Btn_Yes = New ManiacButton(DW*0.25,DH*0.25,DW*0.22,DH*0.07,"Yes",ALIGNMENT_MIDDLE,COLOR_BLUE,False) Btn_No = New ManiacButton(DW*0.75,DH*0.25,DW*0.22,DH*0.07,"No",ALIGNMENT_MIDDLE,COLOR_BLUE,False) Btn_Start = New ManiacButton(DW*0.5,DH*0.25,DW*0.22,DH*0.07,"Start",ALIGNMENT_MIDDLE,COLOR_BLUE,False) AppState = 0 TimeStart = Millisecs() Return True End Method Method OnUpdate:Int() If maniacUpdate() = True Else Select AppState Case 0 If Btn_Start.Update() = 101 And gl_mousereleased = True AppState = 1 Endif Case 1 If Btn_Yes.Update() = 101 And gl_mousereleased = True AppState = 2 total +=1 Endif If Btn_No.Update() = 101 And gl_mousereleased = True AppState = 2 Endif Case 2 If Btn_Yes.Update() = 101 And gl_mousereleased = True AppState = 4 total +=2 Endif If Btn_No.Update() = 101 And gl_mousereleased = True AppState = 4 Endif Case 4 If Btn_Yes.Update() = 101 And gl_mousereleased = True AppState = 8 total += 4 Endif If Btn_No.Update() = 101 And gl_mousereleased = True AppState = 8 Endif Case 8 If Btn_Yes.Update() = 101 And gl_mousereleased = True AppState = 16 total += 8 Endif If Btn_No.Update() = 101 And gl_mousereleased = True AppState = 16 Endif Case 16 If Btn_Yes.Update() = 101 And gl_mousereleased = True AppState = 32 total +=16 Endif If Btn_No.Update() = 101 And gl_mousereleased = True AppState = 32 Endif Case 32 If Btn_Yes.Update() = 101 And gl_mousereleased = True AppState = 100 total += 32 Print total Endif If Btn_No.Update() = 101 And gl_mousereleased = True AppState = 100 Endif Case 100 'Drw_ManiacText("Your Number is: " + total,DW*0.2,DH*0.5,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) End Select Endif End Method Method OnRender:Int() Cls SetColor 255,255,255 Select AppState Case 0 DrawIntro() Btn_Start.Draw() Case 1 DrawOne() Btn_Yes.Draw() Btn_No.Draw() Case 2 DrawTwo() Btn_Yes.Draw() Btn_No.Draw() Case 4 DrawFour() Btn_Yes.Draw() Btn_No.Draw() Case 8 DrawEight() Btn_Yes.Draw() Btn_No.Draw() Case 16 DrawSixteen() Btn_Yes.Draw() Btn_No.Draw() Case 32 DrawThirtyTwo() Btn_Yes.Draw() Btn_No.Draw() Case 100 Drw_ManiacText("Your Number is: " + total,DW*0.2,DH*0.5,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) End Select maniacDraw() Return True End Method Method DrawIntro() Drw_ManiacText("Think of a Number between 0 and 60",DW*0.1,DH*0.4,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.2) End Method Method DrawOne() Drw_ManiacText("Is your Number shown here?",DW*0.2,DH*0.4,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("1 11 21 31 41 51",DW*0.2,DH*0.5,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("3 13 23 33 43 53",DW*0.2,DH*0.55,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("5 15 25 35 45 55",DW*0.2,DH*0.6,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("7 17 27 37 47 57",DW*0.2,DH*0.65,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("9 19 29 39 49 59",DW*0.2,DH*0.7,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) End Method Method DrawTwo() Drw_ManiacText("Is your Number shown here?",DW*0.2,DH*0.4,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("2 11 22 31 42 51",DW*0.2,DH*0.5,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("3 14 23 34 43 54",DW*0.2,DH*0.55,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("6 15 26 35 46 55",DW*0.2,DH*0.6,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("7 18 27 38 47 58",DW*0.2,DH*0.65,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("10 19 30 39 50 59",DW*0.2,DH*0.7,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) End Method Method DrawFour() Drw_ManiacText("Is your Number shown here?",DW*0.2,DH*0.4,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("4 13 22 31 44 53",DW*0.2,DH*0.5,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("5 14 23 36 45 54",DW*0.2,DH*0.55,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("6 15 28 37 46 55",DW*0.2,DH*0.6,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("7 20 29 38 47 60",DW*0.2,DH*0.65,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("12 21 30 39 52 **",DW*0.2,DH*0.7,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) End Method Method DrawEight() Drw_ManiacText("Is your Number shown here?",DW*0.2,DH*0.4,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("8 13 26 31 44 57",DW*0.2,DH*0.5,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("9 14 27 40 45 58",DW*0.2,DH*0.55,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("10 15 28 41 46 59",DW*0.2,DH*0.6,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("11 24 29 42 47 60",DW*0.2,DH*0.65,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("12 25 30 43 56 **",DW*0.2,DH*0.7,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) End Method Method DrawSixteen() Drw_ManiacText("Is your Number shown here?",DW*0.2,DH*0.4,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("16 21 26 31 52 57",DW*0.2,DH*0.5,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("17 22 27 48 53 58",DW*0.2,DH*0.55,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("18 23 28 49 54 59",DW*0.2,DH*0.6,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("19 24 29 50 55 60",DW*0.2,DH*0.65,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("20 25 30 51 56 **",DW*0.2,DH*0.7,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) End Method Method DrawThirtyTwo() Drw_ManiacText("Is your Number shown here?",DW*0.2,DH*0.4,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("32 37 42 47 52 57",DW*0.2,DH*0.5,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("33 38 43 48 53 58",DW*0.2,DH*0.55,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("34 39 44 49 54 59",DW*0.2,DH*0.6,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("35 40 45 50 55 60",DW*0.2,DH*0.65,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) Drw_ManiacText("36 41 46 51 56 **",DW*0.2,DH*0.7,DW,DH*0.08,ALIGNMENT_LEFT, ALIGNMENT_MIDDLEY,1.5) End Method End Class [/Codebox] |
| ||
Thanks Duke will run through this. I have to do some actual work today so there wil be a forced gap in my monkeying! enjoy |