Hezkore

Forum Replies Created

Viewing 15 posts - 241 through 255 (of 367 total)
  • Author
    Posts
  • in reply to: Wasm – 2d water editor – testing #8669

    Hezkore
    Participant

    I have no idea what the difference between emscripten, wasm and HTML5 is…
    But yeah… wasm seems to work really great! I haven’t been able to get it working on any of my iOS products though.

    And It’s funny, I had just done a sand experiment and was about to add water to it when I saw your demo heh.

    in reply to: Ted2Go IDE #8585

    Hezkore
    Participant

    I’d like to suggest that instead of just a “statusbar-active” colour, we instead use “StatusBar”:{ “states”:{ “active”:{”
    Same for “StatusBarText”, “StatusBarLineInfo” etc.
    (Maybe make StatusBarText and StatusBarLineInfo use textColor and font from StatusBar?)

    Cause I’d like to change the text colour as well when an application is running, not just the background colour. 🙂

    in reply to: Ted2Go IDE #8525

    Hezkore
    Participant

    The good thing about IRC, compared to something like Discord, is that it’s completely open.
    Anyone can write a server or client for it and there’s no registration or accounts to bother with.

    And there are sooo many IRC clients, for PC, Mac, Linux, Web, Mobile, 8-bit systems (I have IRC on my Atari hehe)
    As long as a device as internet, I can guarantee you that that it’s got some sort of IRC client! 🙂

    And yes! It’s very possible to have multiple channels for things like “gui” and “network”
    The #monkey2 chatroom shown in the screenshot is a room I started at the Freenode IRC server, you can join in it any way you like, with any IRC client.
    It only takes a second to start another room, for things like network or gui.
    My IRC client/view supports multiple rooms and even multiple servers! 🙂
    It displays it in the treeview on the left, with the server as the root and channels as the children.
    In the screenshot, you see me connected to the “freenode” server and inside the “#monkey2” room.

    But I would probably suggest only having one room to start with, it’s not like the M2 community is very big yet anyways heh.

    in reply to: Welcome to the new monkey2 site! #8522

    Hezkore
    Participant

    I was posting stuff on the old site before I read the email. 😮

    The old site really needs to be replaced with a message pointing to this site hehe.

    And yes! Code Library please! 🙂

    in reply to: Ted2Go IDE #8521

    Hezkore
    Participant

    I’ve been toying with a IRC module, and it comes with a simple IRC View you can easily throw into any application.
    So I decided to add it to Ted2Go, just for fun.

    (For those of you who don’t know what IRC is, it stands for “Internet Relay Chat”, read more here: Wikipedia)

    It works pretty well!
    And could be used for stuff like “Live Help” or something like that. 🙂
    It doesn’t connect until you open up the tab, select a username, and click “Connect”
    So it’s not something that would be in the way if people didn’t use it.
    It could even be an optional tab that you enable in Preferences if you just want to hide it.
    (Btw why is there a Find tab in the console?)

    Good or bad idea?
    (And yes, that’s me speaking to myself in the chat heh)

    in reply to: Cant upgrade modules #8515

    Hezkore
    Participant

    Have you made sure you’ve got writing rights in the Ted2Go folder?

    All the modules can also be downloaded by hand here: http://monkey2.monkey-x.com/module-manager/

    in reply to: TextField bug/weirdness #8511

    Hezkore
    Participant

    @nerobot
    Just press Numpad Enter in any text field.
    The Ted2Go preferences window has a few text fields, like the font size etc.
    Press numpad enter in any of those and you’ll make a new line, which shouldn’t even be possible in text fields heh.

    It’s not a Ted2Go bug though.
    It’s a MojoX bug.

    @abakobo
    Ah that makes sense! 🙂

    in reply to: List sorting function help #8482

    Hezkore
    Participant

    It has to be Lambda:Int though, right? (confused)

    But with that method, the + sign in names would cause users to jump to the top.
    I want names that starts with @ to be first, second should be names that starts with +.
    And all the rest of the names below that.
    That bit confuses me…

    Right now, I’ve just done so that when comparing names, the @ and + are replaced with 1 and 2, only during the sort test.

    in reply to: RenderWindow description? #8481

    Hezkore
    Participant

    You can always hit F2 (or F1 twice) in Ted2Go after clicking something to jump straight to the source! 🙂
    And the window title tells you where the file you’re viewing is located.

    in reply to: Ted blurried on my machine #8436

    Hezkore
    Participant

    EDIT: Nevermind, I’m stupid heh.

    Is “normal” Ted also blurred, or is it just Ted2Go?

    in reply to: Texture filters #8405

    Hezkore
    Participant

    I’m fine with that Mark 🙂

    in reply to: Releasing images #8390

    Hezkore
    Participant

    Thanks abakobo!
    Some functions/methods there I didn’t know about. 🙂

    in reply to: Releasing images #8388

    Hezkore
    Participant

    @AdamStrange
    The leak comes from creating the new Image, the Pixmap is fine. 🙂

    It’s okay creating the pixmap OnRender, it’s only created once anyways. (Since it’s testing if it’s been created)
    The leak is at “myImage=New Image(myPixmap)”
    Since the pixmap changes every frame, I need the new pixmap data into the image (or it’ll just show the old pixmap)
    And you do that with New Image(yourPixmapHere), but it’s not releasing the previous image, so it just keeps eating more and more ram.

    But as I later found out (and as Mark mentioned), the Retain() function works in this situation.
    It lets me use Discard() on the image before creating the new one, and Retain() keeps the pixmap from being released with the image.

    @abakobo
    Yeah that usually seems to be the way to go!
    But I tried what I’m doing by using a canvas first, but I need to plot a lot of pixels into the pixmap, and doing it on a canvas and then flushing the canvas seemed to be a lot slower than via a pixmap. :/

    in reply to: Texture filters #8383

    Hezkore
    Participant

    I’m using this for my Voxel module.

    If I have filtering enabled, you can barely tell what the voxel objects are supposed to be since I’m stretching them so much.

    But with filtering off, it looks like good old voxel cubes.

    But now, since it’s a canvas option, everything is forced to be without filtering just because you’re using my Voxel module. Even text and stuff, which might look better with some filtering.

    I’d gladly take a loading flag for no filtering over forcing the entire canvas to be one specific thing.

    in reply to: Monkey 2 concerns #8349

    Hezkore
    Participant

    It’s not too bad actually!

    For smaller objects there are less slices, and you can also set “quality” for each object.

    I’ve also tried to pack as much as possible into one image and using that image as efficient as I can to avoid binding images over and over again (which eats into performance), drawing parts of the same image is surprisingly fast.

    And I of course don’t draw slices (not just objects) that are outside of the screen.

    With fairly large objects, about 3 times the size of a normal player character, at high quality, I can render about 200 objects on my computer and still stay above 60 FPS. And that’s with 0 hidden slices.

    So it’s very possible to use this for games! Or just use some of it in games, because as I said, it’s just normal Mojo 2D stuff so you can still do a normal game and only have some of it be voxel objects. 🙂

    2D tiles and voxel characters for example.

Viewing 15 posts - 241 through 255 (of 367 total)