First Impressions

About Monkey 2 Forums Monkey 2 Development First Impressions

This topic contains 16 replies, has 7 voices, and was last updated by  Simon Armstrong 2 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #1168

    Simon Armstrong
    Participant

    After having my first afternoon of monkey2 programming I have come to the following conclusions.

    1. I need an editor with % $ and and # keys mapped to :Int :String and :Float macros
    2. I must learn to type brackets for every command invocation 🙁
    #1170

    Simon Armstrong
    Participant

    Part 2, structs aren’t primitives, even though you can do operations on them without initialisation you need to new instances before they actually work.

    #1171

    Simon Armstrong
    Participant

    something is wrong here 🙂

    /Users/simon/Desktop/m1.monkey2 [23] : Error : Type ‘std.graphics.Color’ has no member named ‘Brown’

    #1172

    Pharmhaus
    Participant

    Talking about Ted2, the hotkey I am missing a lot is CTRL + D to duplicate a line.

    Visual Studio also has the nice feature to copy the whole line when you press CTRL + C and nothing is selected.

    I also showed monkey2 to someone and he disliked the fact that the [x] for closing documents does not stand out little more. It’s pretty much atom like but for a person not used to might be worth making it a little more visible. It is also not noticable which file is currently opened which could become a little confusing when the project grows larger.

    #1176

    DruggedBunny
    Participant

    Speaking of ted2, has it disappeared? Just went to try and build it/try it, but src/ted2 doesn’t exist!

    #1177

    Pharmhaus
    Participant

    The version I am using is the one from the christmas demo, just copied the ted2.exe and bin/ted2.exe.

    Mark said somewhere that one could use ted1 also esp. because it has the debug buttons.

    #1178

    wiebow
    Participant

    Personally, I thing Ted 2 is awful. There, I said it. I am using sublime text with a new language file. Works like a charm!

    #1184

    Simon Armstrong
    Participant

    I am having way more fun than expected and am now laying down catmull interpolated mouse movements in my vpaint project. Latest source here:

    https://github.com/nitrologic/m2

    #1190

    RetroRusty
    Participant

    Does anyone know of any IDE’s that either support now or will support MX2 soon? I know there is TED 2 and Mollusk, but what others are being worked on? Would be good to have some choice when MX2 is released.

    #1192

    Ethernaut
    Participant

    I need an editor with % $ and and # keys mapped to :Int :String and :Float

    You may wanna try using := for variable assignments, like:

    #1193

    Simon Armstrong
    Participant

    Thanks Ethernaut, style improvement ahead.

    := could be the new monkey2 emoticon

    Regarding the IDE, I started the week (yesterday NZT) thinking I can make it through a week with Monkey-X Ted. I need to navigate to errors and no sign of debugger so I suspect I am in need of an upgrade.

    Would prefer to be using monkey2 native editor as it blew me away watching Mark coding on it / in it earlier in the year.

    and starting to wonder if I want cursor keys to perhaps ignore white/brown space.

    := monkey2

    #1194

    Ethernaut
    Participant

    Of course when you use type inference like this you always have to assign a default value to the variable, but I feel like that is actually easy to understand when you look at someone else’s code.

    Oh, and I’ve been using Mollusk as the IDE. Doesn’t officially support M2 yet, but it works pretty well already.

    #1195

    Simon Armstrong
    Participant

    I got sidetracked and wanted to find out how modules worked.

    First Box2D test successful!

     

    #1197

    therevills
    Participant

    Cool!

    Is it a mx2 version of box2d or an externed version?

    Since MX2 can import C++ files, it might be better to use 3rd party libs in their native form:

    https://github.com/erincatto/Box2D

    #1198

    Simon Armstrong
    Participant

    Yes, I am using original C++ source.

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

You must be logged in to reply to this topic.