nerobot

Forum Replies Created

Viewing 15 posts - 106 through 120 (of 805 total)
  • Author
    Posts
  • in reply to: Loops: For…End is Allowed? #13223

    nerobot
    Participant

    Next and Wend are more readable for me.


    nerobot
    Participant

    Probably, it’s a lang bug. The code looks correct.

    in reply to: Website refresh #13021

    nerobot
    Participant

    Nice work!

    There will be good to have “Read more” button in News section – to see short/clean blog entries and jump into if needed.

    in reply to: Removing from Stack/Stack Assert? #12860

    nerobot
    Participant

    You cat to simplify a bit logic with iterator:

    in reply to: Ted2Go IDE #12842

    nerobot
    Participant

    Yes, it’s time to add setup wizard. 🙂

    I like prime themes except of bold font. That’s why I revert default theme to warm.

    If wizard will take a long time I can set back prime one.

    in reply to: THis on steam #12830

    nerobot
    Participant

    It’s in progress. 😉

    in reply to: Removing from Stack/Stack Assert? #12826

    nerobot
    Participant

    Very nice explanation to be article-ized. 🙂

    in reply to: Removing from Stack/Stack Assert? #12824

    nerobot
    Participant

    Are you afraid of iterators? 🙂

    My example above is an analogue of native Eachin.

    I think it’s the fastest and easiest way.

    in reply to: Removing from Stack/Stack Assert? #12814

    nerobot
    Participant

    Try to remove items inside of ‘foreach’ in Java or C# and you’ll get runtime error “collection was modified due iterating” (text isn’t exactly).

    To be able to remove items due iterating you have to use stack.iterator with while loop:

    in reply to: Ted2Go IDE #12787

    nerobot
    Participant

    Tabs to spaces – will be added.

    Docs manuals – will be added. I don’t know why you can’t drag divider, it should to work.

    in reply to: Ted2Go IDE #12753

    nerobot
    Participant

    Thanks.

    Classes, methods etc have start and end positions, but parser knows nothing about inner code elements like If-s this time, it’s not difficult to teach it but multilined stuff is a problem. Maybe Mark help me when I will implement that.

    Folding is in todo.

    What does “indent by fold feature” mean?

    in reply to: Ted2Go IDE #12748

    nerobot
    Participant

    @cocon

    /parser/Monkey2Parser.m2

    /view/AutocompletionDialog.m2 (there are few related classes)

    /view/ListViewExt.m2 – my custom listview that renders items

    /document/CodeDocument.m2

    * .m2 – to be shorter

    in reply to: mojo3d getting statistical data #12745

    nerobot
    Participant

    About FPS – it depends on SwapInterval, is there waiting for vsync or not.

    If rendertime is small then waiting time will be longer to make fps count const.

    in reply to: Static method call without New = Error #12737

    nerobot
    Participant

    It worked for me. But this code is technically equivalent to above one. So it can produce null pointer.

    As a solution for prefs, we can initialize _ptefs field right inside of Get () if it is null.

    Consts initialization is a weak side of monkey2, that may cause errors, so that it’s important to have related remarks in docs.

    (Waiting for a developer that can bring dependency checking.)

    in reply to: Events and more events.. #12736

    nerobot
    Participant

    Look at this

    https://github.com/blitz-research/monkey2/blob/34825f8b197c9dfa721888d21193ba93ac0b5728/modules/mojo/app/app.monkey2#L593

    There is a WHILE loop that grab all events. Maybe we need to grab by portions or every second frame or … ?

    I didn’t test how much millisecs are needed to dispatch holded keys. And maybe the bottleneck isn’t here.

Viewing 15 posts - 106 through 120 (of 805 total)