Hezkore

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 367 total)
  • Author
    Posts
  • in reply to: Visual helpers #13898

    Hezkore
    Participant

    If you comment out the Entity and Scene related lines it should work just fine in ‘vanilla’ Mojo.

    Yeah, but I mean if it were a module it should probably stay clear of using other module specific things, like Mojo3D.

    Not crashing here! Are you in the latest dev branch?

    I sure am!
    You can fix it by doing something like:
    canvas.DrawCircle( cursor+leftBorder, (-values.Last() * scale) + h/2.0, 3 )
    So basically, use values.Last() instead of values[cursor]
    And I’d suggest setting radius to something like 2.25 instead of 3.
    3 very often seems to look like a square, where as 2.25 more consistently looks like a circle.

    Yeah, it needs more polish if it’s gonna be a module… I kept it basic for now just so I could keep moving.
    Volunteers?

    I won’t be fixing it up, I sadly have too much to do right now.
    But I really think Mark should add something like this in the future.
    Maybe even tools like “frame step” so you can jump one “frame” forward to inspect things more closely.

    in reply to: Visual helpers #13876

    Hezkore
    Participant

    Very nice Ethernaut. 🙂
    I’d love for this to be a simple module you could just import and use everywhere, not just for Mojo3D.

    Something like this should definitely be part of Monkey2 by default.
    Each module, like Mojo3D and Mojo, could then use Echo themselves to give the user some info about entities, images or whatever.

    Btw the graph crashes at canvas.DrawCircle( cursor+leftBorder, (-values[cursor] * scale) + h/2.0, 3 ) in debug mode.
    “Deque index out of range”

    Also, if you let the graph work its way to the end, then make the window smaller, the graph continue outside of the screen.

    in reply to: Window drag pausing #13835

    Hezkore
    Participant

    I haven’t been able to get this working, no matter what I try.
    I’ve tried timers, I’ve tried fibers and I’ve tried altering the Mojo App code.

    I at first thought the timer method worked, but it just catches up real fast when you release the window.
    It doesn’t actually keep running while you’re dragging it.

    I’m playing/reading/processing some music files, and I need it to keep doing so even when you drag the window around.
    If it pauses and catches up when you release the window, it will just play every instrument and sample in a mess.

    @Mark Sibly
    I’ve got my update code in OnRender.

    in reply to: Vsync issues with Linux? #13618

    Hezkore
    Participant

    I have a bunch of Ati cards and they all work with SwapInterval, so for me there’s no issue.
    But isn’t there a way to get any error messages from things like glxSwapIntervalEXT?
    Maybe something like GetLastError() in the Windows API.

    Maybe that’s something Monkey2 needs btw, a global error/warning stack?
    If an error or warning occurred somewhere it gets throw into a stack and the user can go through that if he wants.

    Mark Sibly

    …see spacechimps for a timer demo.

    jondecker76

    The spacechimps example already has SwapInterval set to 1, and everything still runs ungoverned

    Even with a timer it runs too fast?
    That’s even weirder…

    in reply to: Anyone have a VR headset? #13600

    Hezkore
    Participant

    I made a little puzzle game using the MojoVR module.
    There’s still a lot of stuff missing in the module, so I’ve put my game on hold until Mark or Simon decides to continue with it.

    in reply to: Your Monkey needs you – post your project link. #13590

    Hezkore
    Participant

    m2libui is a libui library wrapper for Monkey2.
    It makes creating native UI elements, such as windows, buttons, sliders etc. a breeze.
    Notice that this wrapper is very unfinished and needs your help to be completed!
    (Currently only supports Windows)

    GitHub: https://github.com/Hezkore/m2libui/
    Win Examples: http://hezkore.com/release/m2libui/

     
    m2irc is an IRC module for Monkey2.
    It lets you connect to any IRC server easily and process the messages and events however you want.

    GitHub: https://github.com/Hezkore/m2irc

     
    m2conio is a Console I/O module for Monkey2.
    It adds a ‘Console’ structure for some console specific functions and features.
    As well as an ‘Ansi’ structure for Ansi related functions.

    GitHub: https://github.com/Hezkore/m2conio

     
    m2stp is a text processing module for Monkey2.
    It takes a string and translates special text and symbols into whatever you want in real-time.

    GitHub: https://github.com/Hezkore/m2stp

     
    m2curses is curses library wrapper for Monkey2.
    It currently supports Windows and Linux, by using PDCurses on Windows and Ncurses on Linux.

    GitHub: https://github.com/Hezkore/m2curses

     
    m2terminimal a simpler and modern version of curses, written from scratch for Monkey2.
    It allows you to use Mojo functions like DrawText and DrawRect but for your terminal/console instead.
    Very WIP and currently only supports Windows, with Linux and Mac support planned.

    GitHub: https://github.com/Hezkore/m2terminimal

    in reply to: Monkey 2 IRC room #13585

    Hezkore
    Participant

    I haven’t updated the Ted2Go IRC client in some time, so it might be a bit busted heh.
    This is likely due to the server you’ve been assigned, you should be able to connect later via Ted2Go and be assigned a different one.

    But I recommend using something like Hexchat on Linux to connect to Freenode and join #monkey2.
    You can grab it for free over at: https://hexchat.github.io/
    That way you can stay connected outside of Ted2Go as well. 🙂

    But if you desperately want to use Ted2Go’s IRC, you can jump into settings and change the server to a specific Freenode server, instead of connecting to the network and being assigned one based on location.
    Here’s a list (not sure how updated it is though): http://freenode-redesign.herokuapp.com/irc_servers.php

    There’s also a web based solution, look at my first post in this thread.

    in reply to: m2libui – Libui wrapper (Cross-Platform Native UI) #13580

    Hezkore
    Participant

    It’s using cmake on all platforms, even Windows.

    All cmake really does is read the “CMake” files and moves the needed files for your system into a folder, then it uses external compiling tools, such as MinGW or MSVC etc. that you’ve already installed on your system.
    That’s a very simplified explanation heh, but it doesn’t actually do any compiling or such itself, it’s just a very fancy file/project organizer.

    You should be fine with just importing the needed Linux files yourself and compiling via Monkey2.
    No external tools or compiling should be needed, other than the libs it uses of course.

    I noticed there were some extra “.h” files in the Linux folder, those might be needed.
    But as I said, I’ll have to install Linux on one of my laptops before I can do some real testing :/

    in reply to: Vsync issues with Linux? #13578

    Hezkore
    Participant

    What HZ does your screen update at?

    in reply to: m2libui – Libui wrapper (Cross-Platform Native UI) #13574

    Hezkore
    Participant

    Sweet, one step closer!
    I’ll have to install Linux on a laptop or something and give this a try.
    Swamped with other work right now so it’ll have to wait.

    Thanks for the update though jondecker76!

    in reply to: SpaceX's Falcon Heavy's first flight = AWESOME! #13557

    Hezkore
    Participant

    in reply to: Monkey Docs – Hosted on http://turdus.be?? #13454

    Hezkore
    Participant

    abakobo hosts them on his French website.

    in reply to: m2libui – Libui wrapper (Cross-Platform Native UI) #13441

    Hezkore
    Participant

    Thanks everyone.
    I strongly suggest reading the “Notice” part on the first post here to clear up some confusion.

    @amon I recommend going through the “test1” source for a list of problems.
    I’m documenting them as I find them. 🙂

    @degac Thanks, I’ll keep working but I’ll need some help. 😉
    And right you are about the Monkey2 version, your version of Monkey2 doesn’t have “__ARCH__” yet.
    You’ll have to be using 1.1.09 at least I believe, and I think Monkey2 is at 1.1.10 as of right now.

    in reply to: m2libui – Libui wrapper (Cross-Platform Native UI) #13421

    Hezkore
    Participant

    Pressing Escape (or Enter) no longer causes the application to crash.

    No luck with fixing the tabAppend crash though.

    in reply to: How can I get the device Width and Height? #13417

    Hezkore
    Participant

    I haven’t done any iOS coding in Monkey2 so I’m not sure.
    But I do know there’s App.DesktopSize so maybe give that a go?

Viewing 15 posts - 16 through 30 (of 367 total)