nerobot

Forum Replies Created

Viewing 15 posts - 196 through 210 (of 805 total)
  • Author
    Posts
  • in reply to: How to load file contained non-latin chars? #11986

    nerobot
    Participant

    Yes, it doesn’t work. 🙁

    Waiting for Mark’s implementation of utf-8. 🙂

    in reply to: Ted2Go IDE #11985

    nerobot
    Participant

    Thanks! 🙂

    I’d recommend hiding the hint as you hover the mouse over it; it’s currently blocking me from clicking the above line.

    Now hints closed by mouse click. But you need to do additional click to jump to line – I can’t normally send event from hint to editor.

    It looks like a semi-temporarily solution, I hope we can live with that.

    in reply to: Ted2Go IDE #11973

    nerobot
    Participant

    I think a line might blend into the background colour too much, or confuse the user; making him think there’s an error if the line is red for example.

    Will see if we’ll do that. 🙂

    So, I done with “Hint for parameter” and pushed it into dev branch.

    Also, there is the new option “Show parameters hint” in preferences – you can disable it.

    Known issue: hint works for single-line parameters only (and I don’t want to fix that in near future).

    in reply to: Data Packer (read directly from stream) #11969

    nerobot
    Participant

    I really like that monkey2 work with raw bytes to create resourses like images, strings, fonts.

    I’m going to add font loading from pack file.

    in reply to: Ted2Go IDE #11959

    nerobot
    Participant

    Thanks for feedback!

    Would it be possible to make a separate ‘hint’ for colours?

    Like, say you’re typing ‘New Color()’ and as you enter inside the ‘()’ a colour wheel pops up and you can preview the colour.

    Wheel… not in a near future, I think. But I want to draw colored line under Color declaration to see each color right in the editor area.

    I love the editor, but one feature i still miss. Local vars not parse. See Gif.

    Local vars is a pain for me too. If anyone remember, my early versions of ted2go can show locals as well, but not always shown correct types. I plan to working on parser a bit later, so I will combine existing parser with my old version for locals.

    And is it possible to make a fullsreen mode, like Sublime Text

    It seems easy to implement, I will see. (F11, are you waiting for me?)

    in reply to: Ted2Go IDE #11942

    nerobot
    Participant

    I almost done new cool feature – hint for parameters types!

    You can try it out by pushing params_hint branch (will be in dev soon).

    Click on GIF image to see more details. 😉

    in reply to: How to load file contained non-latin chars? #11941

    nerobot
    Participant

    Searching solution I found _wfopen() method (brother of fopen() ), but it requires wchar_t * , and I can’t to convert monkey’s string into wchar_t Ptr .

    I gave up..

    in reply to: String vs CString vs WString #11936

    nerobot
    Participant

    Thank you for explanation!

    I made simple demo and add it as an issue here: https://github.com/blitz-research/monkey2/issues/277

    in reply to: New empty image #11925

    nerobot
    Participant

    There is a method inside of Texture class:

    It seems there is a place where default color is used: image.Clear( Color.Magenta )

    Simple solution here can be to add global var like DefaultFillColor into Texture,

    then we can set it before creating any images and avoid re-clearing.

    in reply to: Draw Text without filtering? #11875

    nerobot
    Participant

    I’ve added a textureFlags param to Font.Load in develop branch

    The only note here is – other methods with shader and textureFlags parameters have signature texFlags,shader but font now have shader,texFlags. Maybe you will fix that to be more consistent?

    With little sorry if someone started to use that (it’s easy to fix).

    Edited:  hmm, Image.Load also have  shader,texFlags.

    in reply to: GLSL shader: set material uniforms #11874

    nerobot
    Participant

    Don’t know what you do, but maybe my example will be useful.

    I took mojo’s sprite shader, removed unused vars and added TestColor into fragment section.

    in reply to: Rotating a rectangle using the matrix #11842

    nerobot
    Participant

    The same result via canvas extension:

    and adapted buildable example:

    in reply to: Ted2Go IDE #11821

    nerobot
    Participant

    I’ve made a minor change to the theme ‘Hollow’ (json only)

    Thanks, added.

    Oh and I still think there should be a “Please restart Ted2Go” alert message when switching theme.

    I think there is something wrong in mojo itself. Will try to understand.

    @phatpeter thanks for ideas 😉

    Yes pls!

    There is a problem – if you want to look at other members – you can’t because of fiter, if you removed filder – you need to find desired item by hand in docs tree. Therefore I decided to left whole list. You can press Enter to goto next found item.

    And pls add the Autocompletion thing i mention befor (would be so usefull)

    Give me a link to your post, please.

    in reply to: How to save a Image? #11797

    nerobot
    Participant

    I like extensions, and here is one more candidate:  🙂

    in reply to: Remove close button from single tab #11796

    nerobot
    Participant

    For Ted2Go I use my own versions of TabView and TabButton (copied from mojox) to be able to change them for my needs.

Viewing 15 posts - 196 through 210 (of 805 total)