Mark Sibly

Forum Replies Created

Viewing 15 posts - 1,396 through 1,410 (of 1,431 total)
  • Author
    Posts

  • Mark Sibly
    Keymaster

    Nasty compiler bug!

    Will fix, but String( e._instance ) will fail anyway as you can’t convert an object to a string.

     

     

    in reply to: Help info #932

    Mark Sibly
    Keymaster
    in reply to: Hide cursor? #930

    Mark Sibly
    Keymaster

    Just added Mouse.PointerVisible:bool property.

     

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

    Mark Sibly
    Keymaster

    Negative step should be working now.

    I think I will re-add the ‘c’ style ‘for’ that used to be in there though as it’s the most flexible.

     

    in reply to: Suggestion: Rename Mojo2 for MX2 #928

    Mark Sibly
    Keymaster

    I did consider an entirely new name, but nah…mojo is fine.

    in reply to: V009 now up! #915

    Mark Sibly
    Keymaster

    I’ve been at it for a while here and after updating Emscripten I get the error listed below

    I can only guess you’ve got it installed/setup wrong – it looks like it’s trying to build for ‘NACL’, the old google ‘native API’ plugin system.

    I’ve just updated/activated to ‘latest’ and it’s tricky – you also need to ‘source emsdk_env.sh’ each time you use it which adds a bunch of paths. it didn’t work just adding this to ‘~/.profile’ so I ended up hard-copying the PATHs and other stuff that ‘source emsdk_env.sh’ adds directly to ‘~/.profile’.

    Anyway, 1.36 is now going. When I go ’em++ -v’ from the shell I get:

    emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.36.0
    clang version 3.9.0 (https://github.com/kripken/emscripten-fastcomp-clang/ 271ce598c3d1fe74efadc254f5be1b57edea9f41) (https://github.com/kripken/emscripten-fastcomp/ 61acfb230665464544f2e8db292f8999fc3c628c) (emscripten 1.36.0 : 1.36.0)
    Target: x86_64-unknown-linux-gnu
    Thread model: posix
    InstalledDir: /home/marksibly/emsdk/clang/fastcomp/build_master_64/bin
    Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.8
    Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.8.4
    Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.9
    Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/4.9.1
    Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
    Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.4
    Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
    Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.1
    Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
    Candidate multilib: .;@m64
    Candidate multilib: 32;@m32
    Candidate multilib: x32;@mx32
    Selected multilib: .;@m64
    INFO:root:(Emscripten: Running sanity checks)

    in reply to: Properties in interfaces #883

    Mark Sibly
    Keymaster

    Just leave out the ‘End’…

     

    in reply to: V009 now up! #882

    Mark Sibly
    Keymaster

    Sure. I wanted to make sure the compiled version of Emscripten I have was still valid.

    Did you ‘./emrebuildmods.sh’ first?

    When I rebuild this on Linux, I get this error message:

    Ignore it. It’s there to remind me I have more docs to do…

    in reply to: V009 now up! #871

    Mark Sibly
    Keymaster

    Please describe how it failed – error messages etc.

    “it doesn’t work” isn’t much use…!

    in reply to: List iteration in reverse order. #863

    Mark Sibly
    Keymaster

    Actually, something like this should work for now:

    It’s a little nasty as it depends on how List is implemented…

    Backwards() will still be happening though so you could just wait for that.

    Also…don’t use lists if you can avoid it, as they’re much slower to iterate through than a stack.

     

    in reply to: List iteration in reverse order. #861

    Mark Sibly
    Keymaster

    Not yet, but will add it for V1.0.

     

    in reply to: Casting classes and subclasses #858

    Mark Sibly
    Keymaster

    Another thing – you can still use the old syntax for converting built-in types, eg:

    Local x:Float=1.0

    Local y:Int=Int( x )

    (Not actually necessary in this case but you get the idea…)

     

    in reply to: Casting classes and subclasses #856

    Mark Sibly
    Keymaster

    Hi,

    You have to use the new ‘cast’ operator, eg:

    If Cast<Alpha>( test ) Then Print( “alpha” )

    Basically the same idea as the old cast with slightly different syntax:

    Cast< SomeType >( expression )

    Bye!
    Mark

    in reply to: Welcome to the monkey 2 development discussion forum! #851

    Mark Sibly
    Keymaster

    Welcome, and thanks for the kind words!

     

    in reply to: Mojo 2 and Android performance. #813

    Mark Sibly
    Keymaster

    Hopefully!

    I haven’t actually tried any experiments yet, but the generated c++ code will be directly accessing the OS opengl libs in mx2, which will hopefully solve some of the weird ‘vertex buffer object’ performance issues that seem to occur on android when using OpenGL from Java.

    That said, some of these problems may be in the various drivers – VBO’s in android have never quite worked as efficiently as they should and know one really seems to know why.

    So…cross yer fingers I guess!

    Bye,
    Mark

Viewing 15 posts - 1,396 through 1,410 (of 1,431 total)