Call for new demos!
Monkey Archive Forums/Monkey Discussion/Call for new demos!
| ||
Hi, Has anyone got any interesting/attractive demos to contribute to the official Monkey release? I'll also be adding these to a new demo version of Monkey too. Demos should be short and sweet, and work on at least html5. Please post links to demos here (or email me), along with how you'd liked to be credited on the 'demos' page. |
| ||
Hi Mark, Is there any deadline? I want to make 2 short demos, but I need 2-3 days for it. |
| ||
Can they use any other modules than the ones that come with Monkey? |
| ||
Hi, > Is there any deadline? Actually, I was planning to do a new demo early next week, but that doesn't give you guys much warning! How about I go ahead with that but also do a demo update in about a month? > Can they use any other modules than the ones that come with Monkey? Good question! Source code is cheap, so I don't think it'd be a problem including some 3rd party modules with the demo. Say, box2d, diddy, fontmachine - more? I'm a bit more reluctant to include them with the main release though, as it'd mean considerably more compatibility testing per release. The current scheme where I do a release and then everyone fixes their modules seems to work pretty well! |
| ||
Source code is cheap, so I don't think it'd be a problem including some 3rd party modules with the demo. Say, box2d, diddy, fontmachine - more? Just a warning. If any one does use a 3rd party module make sure that that you don't include them directly, but add a "readme" file explaining what addition modules are required and where to get them from to avoid and licensing issues. |
| ||
Here's a simple puzzle game. It uses only mojo. http://bindweed.com/test/picpuzzle/picpuzzle.htm Source is http://bindweed.com/test/picpuzzle/picpuzzle.zip Just put it in bananas/gerryq or whatever if you use it. Edit: the images are PNG, if distributing with Monkey better to convert them (except for rightbar.png) to compressed JPG. |
| ||
How about I go ahead with that but also do a demo update in about a month? Sounds good. I like this idea. My first demo is nearly ready, but in this case I will not take my time and will try to make it more interesting. I will send you my demos in next couple of weeks. I think the updated demo next week would be most welcomed. Ludum Dare competition will be held in next weekend. Some Monkey users will participate in it and they will mention Monkey as well. In this case, demo update will help to interest more other developers and it will be good for Monkey promotion . Source code is cheap, so I don't think it'd be a problem including some 3rd party modules with the demo. Say, box2d, diddy, fontmachine - more? Diddy, box2d and fontmachine are providing good additional functional. And I will be glad to use some of its functions. So, I vote for inclusion of these modules in demo. Also I don't mind to include flixel. But I'm not sure if it's necessary. |
| ||
Okay, I changed the images to JPG and now the whole thing is only 83K zipped. I also improved the code slightly. http://bindweed.com/test/picpuzzle/picpuzzle.htm Source is http://bindweed.com/test/picpuzzle/picpuzzle.zip |
| ||
Hi,. > Here's a simple puzzle game. It uses only mojo. Nice, added - thanks! |
| ||
Not sure how short and sweet you want them, but you can use this http://www.monkeycoder.co.nz/Community/posts.php?topic=3201 if you want. Might find a few other things in the archives too... |
| ||
Hi, Also added! |
| ||
Have a look on this music demonstration: zip-file, 111k, 2 monkey-files and 9 drumsounds http://www.blitzforum.de/upload/file.php?id=11934 It is a drum grid player, which shows performance independent timing of music events. Also in it: use of SaveState() and LoadState(). And here is a first demo, which shows the new WritePixels() and ReadPixels() of Monkey V63. Also contains RenderTextToImage: http://www.blitzforum.de/upload/file.php?id=11937 Code: [monkeycode]Strict Import mojo Global Debug$ Class WriteImageSample Extends App Field TargetImage:Image, SourceImage:Image Field Buffer:Int[], CopyNow%=0, CopyWhat%=0, Arc% Const READY%=0, DO_IT%=1, DONE%=2 Const RECT%=0, PICTURE%=1, MOVED%=2, TEXT%=3, TILES%=4 Method OnCreate%() SetUpdateRate 60 TargetImage=CreateImage(200,200) SourceImage=LoadImage("monkey64.png") Return 0 End Method OnUpdate%() If KeyHit(KEY_ESCAPE) Then Error "" If MouseHit(MOUSE_LEFT) If CopyNow=READY CopyWhat= CopyWhat Mod 4 CopyNow=DO_IT Endif Elseif CopyNow=DONE CopyNow=READY CopyWhat=CopyWhat+1 Endif Return 0 End Method OnRender%() Cls If CopyNow=DO_IT CopyNow=DONE Local z% Select CopyWhat Case RECT SetColor 0,255,0 DrawRect 0,0, 180,140 z=Millisecs() ReadPixels Buffer,0,0,200,200 TargetImage.WritePixels Buffer,0,0,200,200 Case PICTURE DrawImage SourceImage,0,0 z=Millisecs() ReadPixels Buffer,0,0,200,200 TargetImage.WritePixels Buffer,0,0,200,200 Case MOVED SetColor 0,255,0 DrawRect 0,0, 200,200 SetColor 255,255,255 ReadPixels Buffer,0,0,200,200 TargetImage.WritePixels Buffer,0,0,200,200 DrawImage SourceImage,0,0 z=Millisecs() ReadPixels Buffer,0,0,200,200 For Local i%=0 To 9 TargetImage.WritePixels Buffer,i*45,i*20,200,200 Next Case TEXT SetColor 205,205,255 DrawText "Monkey is a Next-generation",0,0 DrawText "games programming language",0,13 DrawText "that allows you To create",0,26 DrawText "on multiple platforms with",0,39 DrawText "with the greatest of ease.",0,52 DrawText "Monkey works by translating",0,65 DrawText "Monkey code to one of a",0,78 DrawText "different number of languages",0,91 DrawText "at compile time - including",0,104 DrawText "C++, C#, Java, Javascript",0,117 DrawText "and Actionscript.",0,130 z=Millisecs() ReadPixels Buffer,0,0,200,200 TargetImage.WritePixels Buffer,0,0,200,200 End Select Debug=(Millisecs()-z) Endif SetColor 255,255,255 DrawText "Hit Mouse to switch Mode! Mode= " + CopyWhat, 0, 400 DrawText "0=OFF, 1=CopyRectToImage, 2=CopyImageTo Image, 3=Moved Image, 4=RenderTextTo Image", 0, 420 Local X%=Sin(Arc)*50 Local Y%=Cos(Arc)*50 Arc=Arc+1 DrawText "Time for Copy =" + Debug + "msec",0,440 Translate 300,150 'Rotate Arc DrawImage TargetImage,X,Y Return 0 End End Function Main%() New WriteImageSample Return 0 End [/monkeycode] Feel free to add both... Contact me, if you find a bug. |
| ||
Ya could put death on there if you would like :D and some of me other apps :) |
| ||
You can chuck my blob monster thing in there if you like. source etc is here: http://www.charliesgames.com/monkeymonster.zip Cheers Charlie |
| ||
My first demo is MatchUp - a simple 'find the match' game. It uses mojo and fontmachine. Demo page: http://lab.devolonter.ru/monkey/demos/matchup/ Source: http://lab.devolonter.ru/monkey/demos/matchup/matchup.zip Name on 'demos' credits page : Arthur Bikmullin. Folder in bananas: devolonter. If you like this demo, I can prepare one more in two weeks. |
| ||
hi, i have make 7 demos, some of them are simple. take a look... [edit] there is a bug on HpBar demo sorry :) http://www.mediafire.com/?7g2qecz1t78m3e9 [/edit] |
| ||
A Snake / Nibble clone Is this demo too complex? And do I need to comment my code? (I am really lazy at that =) Hopefully I can do another game before the deadline. |
| ||
A breakout / arkanoid clone Hopefully it is what you are looking for. Let me know if you want me to change something ... I am going back to my porting. |
| ||
Thanks everyone. I've managed to included most of them and the samples page is now looking much healthier! |
| ||
@Ferdi, very nice clean examples :) |
| ||
Thanks therevills, but I don't know about clean, the code was kinda hacked together =) I cringe at some part of the code. |