new image viewer

About Monkey 2 Forums Monkey 2 Projects new image viewer

This topic contains 11 replies, has 3 voices, and was last updated by  AdamStrange 2 years, 6 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #3867

    AdamStrange
    Participant

    Using the new oberon controls I have recoded the basic ted21 image viewer

    Although it’s basically the same, there is now the option to use different coloured or checkered backgrounds, vertical fader to alter zoom plus keyboard and wheel aware and ability to move image around in the window

    This will be full integrated into the next release of ted21

    #3873

    AdamStrange
    Participant

    now fully integrated into ted21

    #3875

    nerobot
    Participant

    It would be nice to implement Animation creation tool in Ted… but this requires to code some relative stuff like Animator and AnimationClip. Something like in unity3d, simplier of course.

    #3877

    Taiphoz
    Participant

    Cant build the source for some reason, any chance you could add a binary to the repo?

    #3878

    Taiphoz
    Participant

    Oh and this is looking nice caught my attention, nice work.

    #3885

    AdamStrange
    Participant

    @nerobot definitely, but not at this stage. my next goal is to take the image viewer, oberon and create an atlas editor (with sprite editor) and take it from there

     

    @taiphoz Yep. Good call on the binary. I’ll need to sit down and sort it out fro you.

    #3888

    nerobot
    Participant

    Atlas editor is greate thing, good luck with it!

    #3897

    Taiphoz
    Participant

    sweet thanks man, keep up the good work this is really starting to look seriously good.

    #3899

    Taiphoz
    Participant

    Is there a post for suggestions ? – since I am here already , how about links in the code window, I often have functions or methods in different source files that interact so I’m tabbing through tabs a lot to get to them, it would be nice to use a comment like ‘Tag:Something or something like that and then some where else something like ‘Link:Something and have that comment become clickable which would then take me to the named Tag/Bookmark, bookmark might be a better name lol, you get the idea tho.

    #4065

    AdamStrange
    Participant

    small update to this:

    I have renamed the code browser “view” as it gives a view of the code when viewing code. but when viewing anything else will give other information.

    In the case of an image you now get the option to view it as a straight image or as an icon strip.

    An icon strip is a single horizontal set of packed images, where the image width is the same as it’s height.

    Each ‘icon’ is shown separately with it’s icon number

    Here’s a couple of images of this in operation

    You can see that the zoom slider works with both the image and the icon view

    #4082

    AdamStrange
    Participant

    Small update on this

    Work going well. lots of backend integration making sure everything is seamless.

    I’ve also been directly integrating the image view with the palette mixer. When you press ‘pick color’ there is now ‘pick’ text that changes color on the mixer canvas and also does the same for the images. so you can directly pick colors from open images.

    This is the first step to a full sprite editor.

    #4084

    AdamStrange
    Participant

    heres a shot of the color picking from an image (viewed as icons).

    note that the image is both zoomed and offset and the “pick text still shows the correct color – this was not as simple as it looks.

     

    Note also the mouse is not shown due to the screen capture – but you can see the pick text in purple (the color the mouse is over) outlined in white.

    in the palette canvas the pick text behaves the same (the text shows the color it will pick) except it is outlined in black.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.