DruggedBunny

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 347 total)
  • Author
    Posts
  • in reply to: Requiring discord to join forums #16173

    DruggedBunny
    Participant

    Yup, count me in as one of those!

    in reply to: Float rounding #16157

    DruggedBunny
    Participant

    That looks much more appropriate — you should never use floats for anything that requires accuracy, in any language!

    They’re inaccurate by design as they have to work within a set number of bits.

    Try this simple, obvious division:

    Here, it prints 0.10000000000000001, but the result may vary on different platforms/targets, and this is to be expected for floating point numbers — they simply can’t represent all decimal numbers accurately.

    Anyway, you’ve figured out a solution that looks good for currency.

    in reply to: keycode "at" #16150

    DruggedBunny
    Participant

    Nice one, nerobot, really useful!

    in reply to: Requiring discord to join forums #16145

    DruggedBunny
    Participant

    Be such a shame if it goes to waste!

    I’ve been looking at Godot more and more, just to have a backup option, and it’s getting more and more positive press, with many tipping it to take over the game industry. Might it be an idea to implement MX2 as one of its (compiled) scripting languages? It currently supports GDScript (interpreted) and I think C#, but I’m not that keen on either.

    Having an MX2 option would be really cool, and take away the need to support all the different platforms, libraries, etc — pure language.

    Of course, the ideal would be more of what we have, but it’s not looking like that’s particularly realistic, given real-world commitments!


    DruggedBunny
    Participant

    Just to be sure, it should be “asset::test.csv” to use the correct assets dir!

    in reply to: Where keyword #16074

    DruggedBunny
    Participant

    Welcome back! I would never have figured that out, so that’s handy to know… thanks!

    in reply to: Monkey2 blog posts: Getting started with mojo3d #16069

    DruggedBunny
    Participant
    in reply to: Simple image shader (GLSL) #16062

    DruggedBunny
    Participant

    I’ve just updated this with some cool palette-selection/dither code to loosely represent a few different ‘retro’ systems…

    Try it out at:

    http://www.hi-toro.com/monkey2/retro_island/retro_island.html

    Code at:

    https://github.com/DruggedBunny/Retro-Island

    Notes:

    Hit R for retro mode: expect MASSIVE pause here on web, maybe 20-30 seconds or more! Need to somehow get this done during startup…

    Hit [ and ] to cycle through a few cool ‘retro’ modes.

    Hit H to hide text in retro mode.

    Tested in Firefox, Chrome and Vivaldi on Windows 7 64-bit only. Download code from GitHub and build natively if it fails for you!

     


    DruggedBunny
    Participant

    Oh, I see now! Thanks for that, Danilo, really appreciate it!

    Hopefully I can get this converted today… thanks again.


    DruggedBunny
    Participant

    Ah, thanks for pointing that out… the article is a little confusing, though I think the intent is to offer different options… I’ll look into that a little more closely.

    Any idea on the initialisation part? I just don’t get this, and it’s not something easily searched-for!

    in reply to: BlitzMax is still alive! ( Finish ) #16015

    DruggedBunny
    Participant

    Nice work!

    in reply to: Simple image shader (GLSL) #16003

    DruggedBunny
    Participant

    It’ll be the shaders needing tweaked, probably… I’m only testing on Firefox just for throwing up quick demos, but my own interest is desktop. As I mentioned, shaders and web browsers seem to be a minefield of misery.

    I don’t think they do Safari for Windows these days, so…

    in reply to: Simple image shader (GLSL) #16001

    DruggedBunny
    Participant

    Crude C64 resolution/palette shader. (No attribute clash implemented or planned!)

    C64 Island [WebGL, Firefox-tested only!]

    Will update GitHub probably tomorrow night (GMT) or over the weekend, once I’ve tweaked it more and implemented switching between Speccy and C64 modes…

    Next up will have to be simple Amiga 32 and 256-colour modes, maybe 320 x 200 and/or 640 x 512, and SNES?

    in reply to: Ryzen 7 2700X 8 Core 16 Threads: 16gb DDR4 Ram #15963

    DruggedBunny
    Participant

    Nice!

    in reply to: Tiny Tank(working title) – 2d topdown tank game #15962

    DruggedBunny
    Participant

    Nice, like the way they hide!

Viewing 15 posts - 1 through 15 (of 347 total)