PhatPeter

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 83 total)
  • Author
    Posts
  • in reply to: Space Monkey #14100

    PhatPeter
    Participant

    No it’s not about finger up and down because I can do this to save the position (but it does not anything but a black screen if your device have no multitouch of course now).

    It’s all about making the touch movement relative, you need to be able to “remember” the last position so to speak and “add” each additional movement and this works by using matrixes and I know nothing about matrixes?

    in reply to: Don't mind me, I'm just saying hi #14081

    PhatPeter
    Participant

    Hey welcome 🙂 I’m lurking here too

    in reply to: Jitter adventure step 2 #14061

    PhatPeter
    Participant

    Ya, the source of lag is that we can’t use the threadsafe SDL_PeepEvents, switching to SDL_PollEvent seem to be the only way to be lagfree.
    Actually the way to use SDL_PollEvent is important too.

    So it seem we need to change while(SDL_PollEvent(&event)) into (SDL_PollEvent(&event))
    or to change SDL_PollEvent() into SDL_WaitEvent() SDL2 generates key repeat events automatically so repeated key events needs to be filtered out manually by checking the repeat member of a SDL_KeyboardEvent.

    in reply to: Jitter adventure step 2 #14023

    PhatPeter
    Participant

    There’s a strange resemblance in Monkey2 & Monkey1-used-together-with-only-Mojo1, but it seems to be nothing but a coincidence, they have nothing to do with each other. There seem to be no inherited code which is a shame I guess because that would have made things so much simpler to fix.

    in reply to: Jitter adventure step 2 #14022

    PhatPeter
    Participant

    If running a nice M2 app with a steady 60 fps, then a trained eye could easily compare this to something like the M1 equivalent (I can provide an code if wanted but any code works as long as it’s written in Mojo2) and then compare it with this “smooth” M2 app and you would see and feel the difference of micro stability.

    I was personally fooled a long time, so when I noticed glitches I thought it was something wrong with the device like a bad update or driver. Fresh installs on 14 different systems and Windows / Macos machines (haven’t tried Linux or Pi yet because those are lower priority still for us).

    Android can never give this experience so it doesn’t matter much if your developing for Android but iOS and Macos and Windows CAN give this ultrastable & smooth experience (but with M1 only so far).

    It makes a huge difference on the user overall experience.

    in reply to: Jitter adventure step 2 #14021

    PhatPeter
    Participant

    The effects are not exactly the same in all installations though, in some you get the event interrupts when you move the mouse in the app window and some gives the results shown in the video but they are both related.

    in reply to: Jitter adventure step 2 #14020

    PhatPeter
    Participant

    It was meant for the last Monkey2 version that works without updating Macos to HighSierra.
    The update that made the error is the transient from naming opengles into a general OpenGL module.
    Here it is rewritten for the new one, same result. Don’t forget to set width and height to your native screen before you run it for best effect.

    in reply to: Converting color #13971

    PhatPeter
    Participant

    Wow, big thanks, good to know !
    But what happens if you wants to change only the alpha but you want to keep the rest intact? Do you have to make it pixel by pixel or is a way to change alpha channel alone?

    in reply to: Converting color #13959

    PhatPeter
    Participant

    Is it kosher to use canvas.BlendMode = BlendMode.Opaque to set the absolute value of R G B *and Alpha* of a pixel?

    in reply to: Converting color #13958

    PhatPeter
    Participant

    But how to set the colour to full or no alpha rrggbbaa so you can ERASE “color” an OVAL?
    I just don’t understand how alpha is put in color, how to erase? is there a MODE for that?

    in reply to: Powered by Monkey 2 logo. #13693

    PhatPeter
    Participant

    What’s needed is a logo that speaks to people and gives an impression !

    Something simple yet elegant and delicious :

    http://i67.tinypic.com/rwmpfn.pngRetrolishious logo

    The Vector code to create it :

    in reply to: Events and more events.. #12782

    PhatPeter
    Participant

    Also, I wanna become a patreon for at least a year for a starter, but I want do that anonymously not via facebook, is that possible?

    in reply to: Events and more events.. #12781

    PhatPeter
    Participant

    Where and how should I put the source code because I’ve never used Github or such things. Do I create a fork, make a bug report or what?

    in reply to: Events and more events.. #12780

    PhatPeter
    Participant

    Okay got the mouse update correct now, it’s double the speed now. The keyboard seem okay, but the mousehweel never was a problem and neither was the left and right button, only the x and y position (actualy movement) was the issue that induced hickups. You move the wheel it did not hickup, those events where okay. Only moving mouse needed to be fixed, and the repeating (hold) keyboard events of course.

    And the jitter that comes WITHOUT any mouse events (or other events), are also induced by events It seems because it got lot better now, too early to say if its perfect but I think I got Monkey2 smooth on all machines now.

    Not HS but it’s amazinlgy smooth on HS. Except when in fullscreen you need to get the menu and or dock by moving the mouse to an edge to get perfect on High Sierra (or use Window mode is now perfect). Windows are the same on all my machines. Not a single one stutter now (except once in a minute on Highsierrta but HS does that, I think Apple will fix that in their next macos/metal2 update). But the Monkey2 part is fixed, nothing comes from the compiler anymore (what I can see).

    in reply to: Events and more events.. #12778

    PhatPeter
    Participant

    Want to support Monkey mainly for the inspiration Blitz 1 gave to me to become a developer.
    I have the dongle and hardcore manual somewhere and it had a BIG clunky dongle for the Amiga.

    I’m thinking maybe an Amiga is more suitable for these expriments ^^ I will dig it out because It’s such a simple machine and I love it because A single person can learn every detail inside it, within a week or two.

    That’s an era thats gone !

    Complexity gives um .. Android.

Viewing 15 posts - 1 through 15 (of 83 total)