Hezkore

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 367 total)
  • Author
    Posts
  • in reply to: Emscripten sockets #12091

    Hezkore
    Participant

    I did write a websockets module for BMax, but as soon as I connect to.. well anything using Emscripten in M2 I receive the error “-1”
    So I don’t even know where to begin.

    in reply to: Simple HTTP 1.1 web page download #12085

    Hezkore
    Participant

    Modifying this I was able to confirm that it wasn’t just me, Emscripten really don’t support sockets.
    I’ve always gotten error “-1” whatever that means, and it’s the same with this example.

    in reply to: Ted2Go IDE #11976

    Hezkore
    Participant

    Very nice!
    Good work 🙂

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

    in reply to: Ted2Go IDE #11971

    Hezkore
    Participant

    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 might be able to add a colour wheel later 🙂
    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.

    in reply to: Ted2Go IDE #11950

    Hezkore
    Participant

    Very nice!
    I used this a lot back in Blide and Jungle, but had completely forgotten about it! 😮

    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.
    Possibly even set the colour from the colour wheel. 🙂

    in reply to: CRT Shader? #11887

    Hezkore
    Participant

    Now we need it in real time 🙂

    My example above is real-time

    You must have copied the shader incorrectly, cause it’s the exact same shader as nr 7. which you got an error on (that error is btw fixed by writing ‘1.0 -‘ instead of just ‘1 -‘, fixed in my version), but mine has two name changes.
    Make sure you get the first line copied which defines the renderpasses.

    And as I said, all you have to do is replace the ‘sharp’ and ‘blur’ texture with ‘m_ImageTexture0’ and pass the image to a canvas (so that the canvas draws to the image), then there’s no need to pass a texture to the shader, M2 does that for you.

    So if you really can’t get my example working, do ^ those things. 🙂

    in reply to: Child like DRIVEL #11865

    Hezkore
    Participant

    Those sites are pure poison, stay away from those.

    in reply to: CRT Shader? #11857

    Hezkore
    Participant

    Alright, I made a red square just moving about on the screen using the “updated” shader.
    It’s real ugly, but as a proof of concept 🙂

    Here’s the shader using m_ImageTexture0 for ‘blur’ and ‘sharp’ texture:

    And I massacred your M2 example as well heh:

    in reply to: CRT Shader? #11856

    Hezkore
    Participant

    I can give it a try without changing your code too much…

    in reply to: CRT Shader? #11854

    Hezkore
    Participant

    I’m no expert on this subject, but couldn’t you just make a fullscreen shader?
    I have this outline shader that I just apply to the canvas itself 🙂

    in reply to: Is there certain MonkeyX2 file types? #11852

    Hezkore
    Participant

    Good info Mark!

    You say Stream will work everywhere, will LoadString also work everywhere?

    This kind of stuff should be in the Docs 🙂

    What kind of situations you’d use the class in, what platforms it supports.
    And also why you’d want to use one thing over the other if there a other similar things (like FileStream & Stream)

    in reply to: Is there certain MonkeyX2 file types? #11834

    Hezkore
    Participant

    FileStream.Open has been acting weird for me too.
    It seems it doesn’t accept “asset::”

    So what you can do is just:
    MyHandle = FileStream.Open ( AssetsDir()+“Galaxy.txt”, “r” )

    OR possibly just use Stream instead:
    MyHandle:Stream = Stream.Open( “asset::Galaxy.txt”, “r” )

    OR use LoadString for simple text stuff:
    LoadString( “asset::Galaxy.txt” )

    in reply to: 2D outlines #11786

    Hezkore
    Participant

    Got some help with the fullscreen shader and it’s working pretty well.

    in reply to: Ted2Go IDE #11781

    Hezkore
    Participant

    I’ve made a minor change to the theme ‘Hollow’ (json only)
    Made the menu separators easier to see.
    http://hezkore.com/captures/theme-hollow.zip

    Feel free to add it if you want. 🙂

    Oh and I still think there should be a “Please restart Ted2Go” alert message when switching theme.
    Going between some image heavy themes sometimes has some really odd results.

    Like the tabs and checkboxes being wrong in the theme ‘Smooth’:

    in reply to: 2D outlines #11714

    Hezkore
    Participant

    Getting some good results using a fullscreen shader.
    Proper sharp edges too!

    But I’ll look into the other suggestions 🙂

Viewing 15 posts - 76 through 90 (of 367 total)