AdamStrange

Forum Replies Created

Viewing 15 posts - 586 through 600 (of 648 total)
  • Author
    Posts
  • in reply to: Ted21 Logical selection #2372

    AdamStrange
    Participant

    minor update on this.

    Mouse and keyboard controls have been added to properly select text. it all work with shift pressed as well 😉

    in reply to: ascii and strings #2360

    AdamStrange
    Participant

    Thanks. the “a”[0] was exactly what I was after 😉

    in reply to: Atlas and Sprite concept #2359

    AdamStrange
    Participant

    Yep agreed, That’s exactly what I was proposing. Each sprite in the atlas can be a unique size

    in reply to: dirty fix for bad json setting file #2338

    AdamStrange
    Participant

    Mark, you could just take this and make a dirty SaveJson method?

    in reply to: Ted21 progress #2330

    AdamStrange
    Participant

    I would really like to work with simon or mark on this and get it all folded int the main or deal with it is a separate project entirely?

    Mark?

    in reply to: V1.0.0 now out and hearts are back! #2329

    AdamStrange
    Participant

    Me too, i’m on the recurring paypal

    V1.02 now doing well here. Thanks Mark

    in reply to: Ted21 Color requester concept #2315

    AdamStrange
    Participant

    Here’s the final color picker. I removed the base entry and displayed these as the defaults – which they are.

    Everything else is found in the libraries below them. I’ve also narrowed the gradient slightly so the ‘other’ colors are a bit closer to the original.

    My other post gives the canvas code to allow the new colors

    in reply to: module std/graphics/color.monkey2 additions #2314

    AdamStrange
    Participant

    ok here is the final version

    First off the mono colors have been removed as they are really not needed and just start to confuse things. Smaller is better, plus this directly integrates with the new color picker

    in reply to: module std/graphics/color.monkey2 additions #2311

    AdamStrange
    Participant

    Brilliant. What I am doing is sorting the colours and making sure they all have unique and logical names so can be referenced by their text, color or floats

    Here’s a shot of it in operation with the Vic colors and a different variation picked

    in reply to: Ted21 Color requester concept #2310

    AdamStrange
    Participant

    Thats sort of the idea but not at this step. This is the color selector with a set of predefined colors.

    What you are talking about is palettes. That is the next step.

    I perceive a palette as a collection of colors. Hence why the color picker gives much more than just single colors 😉

    in reply to: Ted21 Color requester concept #2301

    AdamStrange
    Participant

    Quick update.

    I’m going to include 6 hardwired color libraries:

    base – slightly extended base rgb colors

    UI – Sort of bright and muted colors good for UI’s

    Pico – Base pico-8 colors

    Vic – extended commodore colors

    Extended – the original colors I was working on

    mono –  mono colors

    Given that every color has 8 variants, there should be enough here to fit virtually any color

    in reply to: Ted21 Color requester concept #2298

    AdamStrange
    Participant

    ok. It works!!!

    Basically your have some libraries of colors (I will post the code to support them later)

    Open a library and select a color.

    Each color is named and has a float value. at the top is the selected color, and below is a ramped version of the color showing 8 variations (plus the original in the centre)

    In the shown image you can see we’re looking at the base colors and “sky” which is  0,.5,1 in floats

    The final two buttons Use Color (with the chosen color) will add this to the code, or other stuff. the close button being close the panel. You don’t need to close it. it is very happy being open all the time or whatever.

    in reply to: Ted21 Color requester concept #2294

    AdamStrange
    Participant

    After a lot of talk about color included into mojo.canvas. I have thought about this and included color families directly into the UI. Just working on the color definitions now:

    in reply to: module std/graphics/color.monkey2 additions #2292

    AdamStrange
    Participant

    Yep you’re quite right about the definitions multiplying and getting out of hand.

    There is method in my madness though with a brand new color picker built directly into Ted21 which will include all these additions and make it simple.

    This is not a concept, It is a real working thing now. I am just about to add the color definitions to it. You can see I am already working with color families

    in reply to: module std/graphics/color.monkey2 additions #2290

    AdamStrange
    Participant

    @cocoon What did you use to embed the text as code?

    OK, I see the changes and how you’ve merged them. There are a number of missing entries. I’ll take the new list and generate a newer version with these additions 😉

    @sicilia Ignoring that 0..255 is easier than 0..1. Internally The colors are always converted down to 0..1 especially when dealing with opengl and shaders. So I suppose it make a bit more sense getting Your head into this way of doing things. But I agree in that a simple additions to use 0..255 for setting colors could be added.

Viewing 15 posts - 586 through 600 (of 648 total)