Monkey 2 examples github

Home Forums Monkey 2 Programming Help Monkey 2 examples github

This topic contains 23 replies, has 9 voices, and was last updated by  Novoitch 3 months, 1 week ago.

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #1656

    Pakz
    Participant

    I created a github rep where I am going to upload examples. The monkey 1 one got close to 200 examples. This one might en up getting lots of examples in the next few years.

    Might become a good source to learn mx2.

    https://github.com/Pakz001/Monkey2examples

    has around 20 examples at time of writing.

    Edit: I also started a 3d repository.

    https://github.com/Pakz001/Monkey2-3D

    #1663

    therevills
    Participant

    Nice!

    #1736

    Ethernaut
    Participant

    Those are great, thanks! It would be nice if the Monkey 2 page had some sort of “learn” section with links to examples like these.

    I, for instance, had no idea you could create timers like that. 🙂

    #1766

    neuro
    Participant

    Good stuff!

    #2249

    medi
    Participant

    I went through all examples in this weekend, very helpful for those who know BlitzMax, very helpful for beginners also. Thanks!

    #5811

    dubbsta
    Participant

    thanks for the exaples pakz but not compiling, i get mc2cc errors

    #5813

    Pakz
    Participant

    Does example code that comes with monkey 2 work?

    #5822

    dubbsta
    Participant

    yessir… cant copy error message but its says no directory found and internal fatal mx2cc error

    #5823

    Pakz
    Participant

    Well, I have no idea what the problem can be. I always just select new file in ted2go and paste the code in and it runs.

    #5824

    dubbsta
    Participant

    ok will poke around

    #5825

    Pakz
    Participant

    btw, you can copy the error code out by selecting the text and pressing ctrl+c. Ted has no popup menu’s

    #5833

    abakobo
    Participant

    Directory not found often means that the path is too long.
    Try to put you dir not too far from the root dir of you disk..

    #5847

    dubbsta
    Participant

    @pakz thanks was thinking that but not tried

    @abakobo that did it my friend, i had the files on a differrent drive. ty!

    #7527

    medi
    Participant

    Thanks, I used it to get familiar with monkey2 before trying, now that I have involved coding with it and seeing doc is not ready yet, I see how important those examples are.

    #7819

    Hezkore
    Participant

    I think the GUI examples needs to be updated.
    Not only does the List example scroller not work, I think it should instead teach you how to extend the “View” system already in place for exactly these things.

    Another thing to note is that these examples don’t seem to follow the standards set by Monkey 2.
    Methods, Functions, Classes etc. names always start with a capital letter.

Viewing 15 posts - 1 through 15 (of 24 total)

You must be logged in to reply to this topic.