JarrydHuntley's Recent Forum Activity

  • R0J0hound Here's the bug I was talking about:

    Subscribe to Construct videos now

    The two scenarios I'm having trouble getting to work are:

    1.) When scaling smaller vertically, and at minimum size, when the thumb touch points pass each other it should not start growing.

    2.) When scaling smaller vertically, and at not at minimum size, when the thumb touch points pass each other it should continue to shrink.

    Here's my WIP capx based off your previous suggestions: https://www.dropbox.com/s/rhczlfuxbp643 ... .capx?dl=0

    Whatever solution will also work for the same situations horizontally too, but you don't really run into here since it's in landscape. Let me know if you need any other info. THANKS!

    p.s. also if you want to split this off into a different thread I can do that since it's deviated.

  • The touch example as provided was kinda broken. I was able to get it nearly perfect by wrapping some of the provided statements in ABS(). But now I'm running into issues when the two touch points pass each other.

    So if you're trying to make something smaller and you're scaling vertically, once the two touch points pass each other on the y axis it starts, growing even though the touches are still going the same direction. I know this is because of the ABS(), I feel like maybe I should should have used a min() instead or something.

    I'll try to post a capx and a vid later. I think it'll make much more sense.

  • Awesome! I'll work on this and report back. Thanks!

  • R0J0hound Hey Bud,

    I started to try and work on a multi touch version of this -which I still think may be useful- but it morphed into a gesture to scale problem.

    I was thinking the first two touches -semi-regardless of location- would act as if you were holding two corner handles. Then you could scale the height and width with your touches. I guess it would work like Google maps, but instead of pinch to zoom it would be pinch to scale; without rotation.

    I made a really good attempt at it modifying the zooming example but it got pretty messed up. Curious on your thoughts. THANK!

  • Hey, rexrainbow I'm having a bit of trouble just running a GET requesthttps://www.firebase.com/docs/rest/guide/retrieving-data.html.

    I have my game kinda working using "Add received callback: *******Query(Child added)" but it only works the first time I go to that layout. If I leave that layout and come back no data is returned. Should I be using a "Child added" callback or should I just be using the AJAX plugin and a GET request?

    Thanks!

  • Good deal, makes total sense. Thanks for your help

    I am running into one problem though. I implemented the code into my game take a canvas snapshot upon a button press. Working backwards I could only get it to work on tickcount==1. The same was true in your example

    If I changed your example to tickcount==2, it stopped working:

    Any guesses? Thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • R0J0hound or anyone else. Is is technique cross-platform? I imagine since JavaScript and a canvas are lowest common denominator features I'd think it should supported all platforms.

    Also do I need to set the second canvas to null or dispose of it? Or does that not make a performance difference.

    Thanks!

  • Welcome back! Thought you were gone.

    Personally I use 720p(1280, 720) as my target resolution. If I need to scale down it's not that much or if I need to scale up it's not that far either.

    Even though a lot of phones/tables have super high resolutions there are still a TON that don't and aren't super powerful. I'm using a few layer shaders that work fine at 720p but they'd probably really chugg on a resolution higher than 1080P on a midline phone.

    That's my two bits at least.

  • NEVERMIND! I just needed to wait 16hrs.

    WORKS!!!

  • Has anyone used this plugin recently? I tried the test project and using it in my own project without any luck so far.

    I know the plugin hasn't been updated in awhile but I took a look at the release notes and the mobileSDK hasn't been updated in 2 years. So that shouldn't be the case.

    Thanks much!

  • Got. Thanks!

  • Do need to update all firebase plugins or just the core?

JarrydHuntley's avatar

JarrydHuntley

Member since 29 Feb, 2012

None one is following JarrydHuntley yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies