nerobot

Forum Replies Created

Viewing 15 posts - 406 through 420 (of 805 total)
  • Author
    Posts
  • in reply to: Ted2Go IDE #9990

    nerobot
    Participant

    I’ve added check for file existing in dev.

    in reply to: IAP module #9974

    nerobot
    Participant

    So, waiting your game or app. 🙂

    in reply to: Ted2Go IDE #9966

    nerobot
    Participant

    There are some changes in dev branch:

    • ! Added “Generate class” dialog – fast new-file-with-class creation is here!
      • you can jump between fields by Tab / Shift+Tab
      • w/o completion for types yet
    • ! Added clickable errors list in build console – you can easily jump to errors now (semi-WIP state).
    • New toolbar icons – more consistent, maybe blue color isn’t good, I don’t know.
    • Added right-click menu for code editor – there are only cut/copy/paste this time.
    • Added word-wrap mode for output console – on/off by toggle button.
    • Now closing related docs when close project.
    • Fixed “Find text” bug (have no results for non case sensitive mode, wow).
    • Fixed restoring of project tree expanding (when create or delete files).
    in reply to: RogueTable new pics and details2 #9952

    nerobot
    Participant

    Thumb up!

    in reply to: Monkey container filtering #9934

    nerobot
    Participant

    Are you sure calling remove on the iterator is safe?

    I know that other langs deny iterator changes, but I just tried it in monkey-x and it works. 🙂

    In monkey2 don’t work but we have iterator.Erase() here.

    in reply to: Monkey container filtering #9923

    nerobot
    Participant

    For MonkeyX you can use List<T> container and call its Remove() method like this:

    In Monkey2 we can write more powerfull code – because we can pass functions as parameters of other functions.

    And we can write generic function to remove items by filter for any instance type.

    One bad thing here – we can’t write the only universal function for all containers (list, stack, map, etc…) because of language limitation:

    Finally, IContainer is not a ‘real’ interface because Monkey2 does not yet support generic interface methods. This feature is planned for a future version of monkey2.

    in reply to: Error running application on Android #9922

    nerobot
    Participant

    There is an article how to build .apk from command line – just setup .bat file and use it in a one click.

    https://www.apriorit.com/dev-blog/233-how-to-build-apk-file-from-command-line

    in reply to: How to program a Windows screensaver in MX2 [SOLVED] #9877

    nerobot
    Participant

    Nice!

    in reply to: RogueTable new pics and details #9808

    nerobot
    Participant

    Looks cool, I’m envious. 🙂

    in reply to: Reflecting on reflection. Game maps and plugins. #9807

    nerobot
    Participant

    If there is finite number of data types to create then you can write data parser w/o reflection.

    Your own declarative lang 🙂 that will use needed internal functions.

    Each string token produce its action – CreatePlayer return instance of Player and set coord for him and so on.

    in reply to: Playniax news #9790

    nerobot
    Participant

    Cool! )

    in reply to: Ted2Go IDE #9783

    nerobot
    Participant

    Thanks!

    Completion feature is in dev state, undone yet.

    in reply to: How to rotate an image like in graphic apps #9770

    nerobot
    Participant

    You can rotate images by canvas.DrawImage( image:Image,tx:Float,ty:Float,rz:Float ) where rz is rotation angle.

    Also you need to use image.Handle property to setup rotation anchor for image.

    For detection images by click you can use polygon / rect function like that  or even chipmunk physics collider (I want to use it for complex shapes, but didn’t try yet).

    in reply to: Reflecting on reflection. Game maps and plugins. #9757

    nerobot
    Participant

    I think, you can’t just write new source code and dynamically load it via reflection – recompile code is required.

    If your plugins will use standard lang features, then you can (probably) use it like lua-scripts works.

    This time reflection doesn’t work with generic types (core vec2/3/4 and rect are generic).

    in reply to: Reading mojo decls… #9727

    nerobot
    Participant

    Mark said improving reflection is one of near goal. 🙂

Viewing 15 posts - 406 through 420 (of 805 total)