Mark Sibly

Forum Replies Created

Viewing 15 posts - 121 through 135 (of 1,431 total)
  • Author
    Posts
  • in reply to: Bitmap Fonts #14068

    Mark Sibly
    Keymaster

    No problemo, let me know if there are any issues with the implementation. I also never actually realized how widely recognized the .fnt format is either…

    in reply to: mojo3d: Entity in view? #14067

    Mark Sibly
    Keymaster

    Still got some weirdness at screen edges with that

    The ‘official’ version is likely to be about the same!

    Can you post a little demo-ette of the weirdness?

    in reply to: Bitmap Fonts #14029

    Mark Sibly
    Keymaster

    Just added support for the .fnt bitmap font formats and pushed the changes to the develop branch.

    .fnt does seem to be the popular format for bitmap fonts so I’ve added this (the simple text format only) and called it ‘AngelFont’ as I believe it originated at the ‘angel code’ site? Please correct me if I’m wrong here.

    I’ve also added experimental kerning support but this probably wont work quite right in mojox just yet as it makes it trickier to split text into chunks eg: for syntax highlighting.

    Note that the bitmap loaders pick the correct shader to use based on image format. Images should either be 8 bit greyscale/alpha or 32 bit rgba.

    Here’s the new banana showing how all the font types are used. In addition, Font.Load() will pick the right loader for you from filetype extension. Except for ImageFont, ‘coz it has lots parameters:

    in reply to: Bitmap Fonts #14015

    Mark Sibly
    Keymaster

    Ooerrr, bmGlyph looks nice, shame it’s macos only. I have only been using a rather more limited windows one…

    I will try and sort out the kerning everywhere too.

    in reply to: Bitmap Fonts #14012

    Mark Sibly
    Keymaster

    Is this useful for coloful fonts? Seems to be a ttf->bitmap font convertor system…

    in reply to: Bitmap Fonts #14010

    Mark Sibly
    Keymaster

    I have simple image based fixed width/height fonts going, is there some kind of file format for bitmap fonts I should also support?

    in reply to: Monkey 2 Spanish website #13969

    Mark Sibly
    Keymaster

    Yes, a Spanish site would be great!

    Logos etc can be found at the download link above:

    http://monkeycoder.co.nz/monkey2-logo-and-resources/

    As for syntax highlighing, this site uses the crayon plugin which has ‘monkey’ as one of its supported languages so we just use that!

    in reply to: Bitmap Fonts #13953

    Mark Sibly
    Keymaster

    No, there is no built-in support for ‘grid’ based bitmap fonts, but it wouldn’t be hard to add, it’ll put it on the todo list.

    in reply to: Nice Mojo3D Plane Demo #13951

    Mark Sibly
    Keymaster

    Why is the executable so big?

    Monkey2 apps are effectively c++ apps, and c++ apps tend to be on the large side.

    I’m open to ideas for reducing exe size (although I’ve probably tried a lot more than people realize along the way) but please note it’s not a high priority for me as I’m OK with current exe sizes right now, ie: I’m willing to live with a little extra bloat in exchange for the added flexilibity having c++ underlying everything offers.

    That said, the zip above appears to have been built using mingw which produces larger than normal exes IMO, rebuilding with msvc halves the size of the exe. When I rebuild ted2 for release, I ‘rebuild’ all with msvc x86 for smallest size + max compatibility, although I doubt anyone’s actually using monkey2 on 32 bit windows?

    Also, the ‘angle’ dlls etc in there aren’t actually necessary as mojo3d uses pure opengl on desktop by default.

    The rest of the zip’s file size is mainly massively cool textures!

    in reply to: New ios device arrived! #13907

    Mark Sibly
    Keymaster

    Hi, I will email you a default project template with all the blank assets needed.

    Thanks very much, this will save me a ton of work. I added a ‘Launch Image’ storyboard and some stuff started magically working but there’s still weird stuff going on possibly due to missing icons/files etc.

    in reply to: New ios device arrived! #13905

    Mark Sibly
    Keymaster

    Ok, googling around abit more and it looks like I need to create a ‘launch screen’ storyboard – will attempt this tomorrow as it’s getting late but can anyone confirm this?

    This will apparently make the app ‘optimized for iphone 6’ etc while will hopefully disable the display zoom stuff so it uses up full 750, 1334 res.

    I really have no idea what I’m doing here though…!

    in reply to: New emscripten SDK #13886

    Mark Sibly
    Keymaster

    Woohoo, will update the emsdk to include python27.dll and mserver.exe later today. Thanks for the help everyone, this is most promising…!

    in reply to: New emscripten SDK #13878

    Mark Sibly
    Keymaster

    python27.dll could not be found

    Ok, it appears this is ‘missing’ from the latest python installers. It doesn’t appear to be included in emscripten’s version of python either.

    It looks like python was only working on my machine because I had python27.dll in my windows/system32 dir. If I delete this file, I get the python27.dll not found error too, so it looks like python was only working at all thanks to an earlier installation.

    I’ve zipped and uploaded python27.dll here:

    http://monkeycoder.co.nz/get-file/?file=python27.zip

    Note you’ll have to copy and paste the link, for some reason WP can’t link to it properly.

    Unzip this into your monkey2 devtools\emsdk-1.37.35_64bit\python\2.7.5.3_64bit folder and try again – this fixes the python issue for me so here’s hoping…it could be good you found this!

    Have you ever installed python before? emscripten?

    in reply to: New emscripten SDK #13873

    Mark Sibly
    Keymaster

    Not 100% sure if it’s windows 10 update related but here’s the emscripten thread I started re: problems with your (well, the official!) installer:

    https://groups.google.com/forum/#!topic/emscripten-discuss/yNv7y1cFI20

    As far as I can tell, 2 out of 3 emscripten installs (windows, macos) are currently broken/uninstallable.

    Another guy is having the same python problem too:

    https://groups.google.com/forum/#!topic/emscripten-discuss/4BTW7rdyXdw

    This problem only occurs when emsdk install tries to download one particular file though, and since my SDK includes all files normally downloaded by emsdk install (I hope) it’s not an issue.

    I was also having problems with git lately that required installing some mysterious .NET security thing – man, hackers must love all this craptacular software! But I was thinking this may be related to the python problem, ie: windows 10 update is handling SSL slightly differently or something – dunno really, not my thing, really really wish I didn’t have to know anything about it!

    in reply to: Very long compilation time? #13871

    Mark Sibly
    Keymaster

    What did you do to get it working?

Viewing 15 posts - 121 through 135 (of 1,431 total)