Advices for my workflow

About Monkey 2 Forums Monkey 2 Programming Help Advices for my workflow

This topic contains 9 replies, has 6 voices, and was last updated by  DruggedBunny 1 year ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #14094

    alchemist
    Participant

    Hello people!

    I’m a software developer focused on web technologies (mostly back-end things) and after playing with the Lua gamedev ecosystem, I’m now searching for a technology that can fit more with my needs. Basically, I love the way Lua do the job but I would prefer a language with a better type system and the possibility to export to HTML5. So, I’am here. 🙂

    Now, here is my question:

    I’m not an IDE guy. I largely prefer a zsh-terminal-editor combo (maybe a bias due to my day job). So, I see that the compiler should be available for direct use (without the IDE) but, whatever I’m on Windows or Mac, I just can’t find it after the installation of Monkey2. So, what I need to do/know in order to use this compiler directly from the terminal?

    BONUS: Anyone work like that? What tools do you use?

    Thanks 🙂

    #14096

    nerobot
    Participant

    Compliler is located at /monkey2/bin/ and named mx2cc_windows / mx2cc_macos.

    Just run it w/o params to see the help.

    #14097

    cocon
    Participant

    Yeah, as nerobot says, by going to this directory: monkey2\scripts you can see various bat-sh files that use such commands, useful as examples.

    For example a typical console application would be “rebuildmx2cc.bat”. A gui application that uses the mojox module would be “rebuildted2.bat”.

    #14107

    abakobo
    Participant

    Note that the previous version of monkey (monkey-x/cereberus-x) has an HTML target that is a bit different and that can be in some cases more convenient. It outputs pure html5+javascript when you use mojo1, so you have max compatibility. When using mojo2 it requires webgl. Its comiltaion time is impressive as it is intergated into monkey-x and doesn’t need third party compiler.
    Monkey2 on the other hand ouputs some wasm or asmjs compiled by emscriptem. Monkey2 is a more advanced language in term of oop design.

    #14108

    alchemist
    Participant

    Thanks for all answers.

    I’ve started to play with Monkey2 using only iterm & Atom and it works well.

    Monkey2 is a more advanced language in term of oop design

    Well, I’m not an OOP guy, I’m more into functional programming (even in my day job) so I will write simple modules with pure functions instead of traditional OOP.

    Thanks for the information about the HTML output, I’m okay with the Emscriptem version. 😉

    #14109

    DruggedBunny
    Participant

    I would prefer a language with a better type system and the possibility to export to HTML5. So, I’am here

    Out of interest, what brought you here, of all places? It’s not exactly a heavily-marketed language!

    (Welcome!)

    #14111

    alchemist
    Participant

    Well, I discovered Monkey after a video made by David Mekersa (game developer focused on casual games and actually running a french online bootcamp dedicated to game dev). He learned game programming with BASIC (on Amstrad CPC) when he was young, then after years of professional software development, he fell in love with Blitzmax Basic (and published a game made with: Geisha: The Secret Garden). In a video, where he talks about his past games, he searched for the legacy of Blitzmax and naturally found Monkey which he present to some student as a good way to learn game development “without useless headaches”.

    So, I’m here to learn some Monkey things. 😉

    #14119

    dominique95
    Participant

    I saw some of his videos. He’s a pro game dev, and knows the job.
    Good, he mentions Monkey 2 in France.
    There are francophone users here. One more.
    Bienvenue à bord.

    #14122

    alchemist
    Participant

    Merci. 🙂

    #14124

    DruggedBunny
    Participant

    Interesting, thanks, was curious how people found Monkey2 without direct exposure to Blitz!

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.