Danilo

Forum Replies Created

Viewing 10 posts - 136 through 145 (of 145 total)
  • Author
    Posts
  • in reply to: V1.0.0 now out and hearts are back! #1488

    Danilo
    Participant

    *heart* I’m lovin’ it! *heart*

    😉

    in reply to: If Then \nl – fail? #1208

    Danilo
    Participant

    Random thoughts and ideas – Posting #4

    [/crayon]
    in reply to: Collision module and performance #1127

    Danilo
    Participant

    It would be really nice if we can compile some guidelines when structs are preferred over classes and when not. I’m struggling with that kind of stuff.

    For flexibility, you can duplicate everything. CPoint/SPoint, etc.

    Sometimes you want to use a specific type as Struct on stack,
    other times as garbage-collected Class-Pointer.

    in reply to: Every object ends up as a C++ Struct? #1019

    Danilo
    Participant

    MX2 classes are always used as/with pointers in C++,
    so no struct on stack. And the pointer is added to the Garbage Collector.
    Beside that, AFAIK the only difference between struct/class in C++
    is the default access specifier (struct is all public by default).

    in reply to: Compile and crash #1002

    Danilo
    Participant

    Mark Sibly wrote:

    You can’t. The render canvas is ‘special’, and I want to make sure it’s state is not changed behind my back, and that I can change it on the fly if necessary (ie: you may not always get the same canvas in ‘OnRender’) for future features.

    So, if the canvas doesn’t preserve all states, it would be:

    in reply to: Compile and crash #1000

    Danilo
    Participant

    Try something like this…

     

    in reply to: Compile and crash #999

    Danilo
    Participant

    wiebow:
    Your ‘Field canvas:Canvas’ is not initialized by using ‘New’
    or a getter function/method. Means ‘canvas’ is Null, and you
    write to canvas.Font

    If ‘i = Image.Load()’ returns Null, accessing ‘i.Handle’ would
    also crash (at least if they are Classes, not so with Structs).

    in reply to: V009 now up! #924

    Danilo
    Participant

    wiebow:
    Mollusk is for Windows and Mac OS X. Don’t know why not Linux.

    in reply to: V009 now up! #914

    Danilo
    Participant

    RetroRusty:
    Mollusk works with MX2 already.
    Debug mode doesn’t work currently, and MX2 debugger is still in development,
    but otherwise Mollusk is good for editing and running MX2 codes.
    AFAIK grudlux is already working on the next version.

    in reply to: (Bug) For..Step negative values not working. #913

    Danilo
    Participant

    What about adding DownTo (additional to ‘Step -1’)?

    [/crayon] [/crayon]
Viewing 10 posts - 136 through 145 (of 145 total)