Mark Sibly

Forum Replies Created

Viewing 15 posts - 1,066 through 1,080 (of 1,431 total)
  • Author
    Posts
  • in reply to: Ted2 Building #4498

    Mark Sibly
    Keymaster

    Ah, I tried a git pull yesterday and fell into all sorts of permissions hell trying to get it built and compiling

    Yeah, this is my fault really. I use TeamDrive to sync source code between 3 machines, but only ever push to github from the PC (tried to sync .git folders once, ended in tears). So when I modify an exe or .sh file on macos/linux, permissions are lost by the time it gets to the PC (at least, I assume that’s what’s happening).

    I really, really don’t want to use github for ALL my syncing as auto-syncing is just so convenient, but I guess I could add chmod’s to rebuildall.sh so at least there’s only one file to chmod?

    I assume it’s possible to get the latest in Github Desktop… somehow?

    No idea what’s up there, sounds like a bug or it’s caching something. I use ‘sourcetree’ and have had pretty much no problems with it ever.

    in reply to: Idea for a function to load shaders. #4494

    Mark Sibly
    Keymaster

    The glutil stuff wasn’t really meant to be ‘public’, but it would definitely be nice to have.

    Let me clean it up a bit, perhaps move it to GLES20 module(?) etc, then we can start adding fun stuff to it.

    in reply to: mojox needs ListboxView and CanvasView #4493

    Mark Sibly
    Keymaster

    A single docking view will do the trick:

    leftView here is probably your ListView, and mainView is probably a custom/canvas view.

    The ‘ContentView’ of a docking view is what takes up all the space left over after “left”, “right” etc views are layed out.

    The ‘100’ is the width of the left view – you can add ‘,True’ after this to make it resizable.

    in reply to: Monkey2 OpenGL Experiments #4492

    Mark Sibly
    Keymaster

    Very cool!

    Technically speaking, you’re meant to bracket your GL code (outside of OnRenderGL) calls between BeginGL() and EndGL() or you’ll be affecting the ‘shared’ context, but it seems to be working anyway!

    I’ve added a few docs to GLWindow too.

    in reply to: Ted2 Building #4476

    Mark Sibly
    Keymaster

    Ignore the source on the download page – grab it from here:

    https://github.com/blitz-research/monkey2

    Select ‘tags->v1.0.5’ (or any version) from the ‘branch’ combobox, then ‘clone or download->download zip’.

    in reply to: Ted2 Building #4470

    Mark Sibly
    Keymaster

    Ok, I’ve updated the version on the Files page to v1.0.5.

    Not quite the latest and greatest (it’s easy to build from source though – give it a try!) but at least it has ‘Build and run’.

    in reply to: Ted2 Building #4467

    Mark Sibly
    Keymaster

    Yikes, what version are you using?!?

    in reply to: Ted2 Building #4465

    Mark Sibly
    Keymaster

    Shouldn’t need to do any fancy – just ‘build and run’ from the build menu.

    Can you post the output from the ‘build’ console at the bottom?

    in reply to: Android OpenAL library missing symbol 'strtof' #4463

    Mark Sibly
    Keymaster

    I thought no, then I tried again and it looks like yes.

    Yay!

    Have you disabled this?

    File->Settings->Build, Execution, Deployment->Instant Run->Enable Instant Run

    This solved a lot of weird gradle-related problems I was having. Another tip: always close a project before you open a new one!

    As for Android Studio, yep, it’s a bit rough around the edges, esp. when compared to xcode!

    > Have I understood correctly that it was only openal.so that needed the targetSdkVersion etc. set to 19 and I can use a later version number (currently 24) to build my project?

    Yes. Each blah.so is really it’s own self contained thing.

    In case it is of any interest, I also tried rebuilding all modules using CrystaX NDK.

    This sounds pretty cool and I might look into later, but right now I’m sticking with the plain NDK.

    in reply to: Virtual Class Declaration errors #4458

    Mark Sibly
    Keymaster

    Ok just committed a potential fix for this, although you’ll have to rebuildall or rebuildmx2cc.

    in reply to: Virtual Class Declaration errors #4456

    Mark Sibly
    Keymaster

    I must’ve broken something – will fix.

    in reply to: ted includes chipmunk module ! #4453

    Mark Sibly
    Keymaster

    Here’s a simple wrapper around the ‘C’ API for spine, courtesy of c2mx2 (completely untested but it builds!):

    http://www.monkey-x.com/mak/spine.zip

    Note: You’ll need to get the contents of the spine-c dir from github:

    https://github.com/EsotericSoftware/spine-runtimes

    The spine runtimes are ‘evaluation only’, so I don’t think it’s suitable to include this with monkey2 as I want anyone to be able to use monkey2 without having to worry about any licensing headaches.

    I’m sure there is some way this can be made available (probably including the spine-c code) possibly via a ‘licensed modules’ page or something. I’ve contacted the spine guys about this.

    in reply to: Android OpenAL library missing symbol 'strtof' #4443

    Mark Sibly
    Keymaster

    …does it work?

    in reply to: Console Flush/CLS for STD? #4442

    Mark Sibly
    Keymaster

    Might be a bit tricky as Ted2 console waits for end-of-lines before printing anything.

    But I’ve just added stdout and fflush to libc which may help for ‘real’ apps.

    in reply to: mojox needs ListboxView and CanvasView #4441

    Mark Sibly
    Keymaster

    Just added ListView – more coming, esp. more layout views.

    To create a custom view, you need to extend ‘View’ and implement OnRender.

Viewing 15 posts - 1,066 through 1,080 (of 1,431 total)