Simon Armstrong

Forum Replies Created

Viewing 15 posts - 151 through 165 (of 231 total)
  • Author
    Posts

  • Simon Armstrong
    Participant

    You don’t need to use a reference to your app (unless you are subclassing) as the global App variable will suffice (as in App.Run() and App.DesktopSize).

    in reply to: Little mojox example – calculator #3257

    Simon Armstrong
    Participant

    There are some examples in mojox/bananas, edit hmm folder is actually named tests.

    testbutton.monkey2:

    in reply to: New Vec2f not working inside New Constructor ? #2862

    Simon Armstrong
    Participant

    If you look over at your debug window you will see Self is null so I think your issue has nothing to do with Vec2f.

    Monkey2 does not treat null method calls as an error in debug mode.

    in reply to: Compiling on Mac OS X #2845

    Simon Armstrong
    Participant

    It sounds like your xcode tools are wrong.

    I would check my steps against readme.txt:

     

     

    and maybe version of your as:

    in reply to: Native GUI #2832

    Simon Armstrong
    Participant

    IMHO if you want to write quality applications in mobile you use the toolkits provided. Any attempts at a generic implementation fail to leverage the inherent nature of neither and you end up with a useless POC such as QT5 or worse.

    That said bindings for QT(quick?) would be extremely nice for monkey2, once reflection is in for monkey2 I would hope someone might be up for that challenge.

    I think it should be a pure QT binding, any form of maxgui abstraction would just lower the common denominator further.

    Mojox however has chance to catch up to state of the art agnostic desktop applicati0ns such as how Visual Studio Code presents itself. This look is a lot more professional than an app that uses the hosts look and feel.

    in reply to: How do you parse JSON files with std.json? #2805

    Simon Armstrong
    Participant

    this snippet is from theme.monkey2[20] and is how ted2 parses it’s config file

    I consider ted2 one big monkey2 programming example / banana and study it often.

    in reply to: Binary and Source wont execute #2761

    Simon Armstrong
    Participant

    1 check i had no g++ command in my path (ie command not found)

    2 dragged the monkey2-v1.0.0 folder from inside the place the installer put it onto my win7 desktop

    3 went to properties of said folder and removed readonly flag and clicked apply

    4. waited 10 minutes

    5. clicked the monkey in pink, ctrl -n a new file, typed Function Main() print “hello” End

    6. pressed F5 then pumped air with fist

    in reply to: Binary and Source wont execute #2760

    Simon Armstrong
    Participant

    The first issue detected is the folder created by 7zip is readonly!

    The permission bits on the mx2cc.exe also look like an issue.

    back soon…

    in reply to: Binary and Source wont execute #2759

    Simon Armstrong
    Participant

    I had issues with windows monkey2 binaries on my win7 laptop.

    I am testing again now…

    in reply to: monkey2 modules in progress #2597

    Simon Armstrong
    Participant

    Thanks cocon. That is an interesting video.

    I will look into local midi communications (app to app). In the past Rewire I think was the standard way of doing this?

    I would favour the UDP standard OSC as a lot simpler for app to discover and connect with other apps and devices but midi over bluetooth maybe makes midi more relevant again.

     

    In my own app VPaint i have midi control of spin speed and r g b background colour components and really like the feel of real knobs and faders when using an app.

    in reply to: Ted 2 on Mac OSX #2562

    Simon Armstrong
    Participant

    Have you tried running the launcher Monkey2 (Macos).app?

    Are you using a plain ~/monkey2 installation folder? It sounds like some kind of permissions issue. Either security or Read and Write folder thing perhaps.

    Also there is a tmp folder that monkey2 uses which you may want to check has been created ok in ~/monkey2/tmp.

    in reply to: Images VS Textures #2536

    Simon Armstrong
    Participant

    Mojo does clipping GPU side with Canvas Scissor but it doesn’t do any kind of box culling before that.

    I typically DebugStop and step in when I want to understand how mojo is working.

    Attachments:
    in reply to: Structs and the GC #2533

    Simon Armstrong
    Participant

    I don’t know how they work under the hood but I think of structs as primitive types.

    When you pass ints and floats around their value is copied rather than a pointer to the value being shared.

    This is true for structs so I have been able to adopt them happily knowing my managed object count is reduced.

    in reply to: Images VS Textures #2531

    Simon Armstrong
    Participant

    An image is a rectangular area of a texture, and a pixmap is a utility class to abstract complexity of working with various pixel formats.

    SDL2 is used as a device manager and it’s drawing API is not used as IMHO mojo2 is superior in design and elegance.

    If you want easy I think you should stick with the standard core Monkey2 command set for your initial projects.

    in reply to: Linux release end of life and development. #2530

    Simon Armstrong
    Participant

    I thought LTS releases had 5 years of upgrades.

Viewing 15 posts - 151 through 165 (of 231 total)