bon4ire's Recent Forum Activity

  • I definitely agree with Khaz. To me, C2 is like crack <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Ok. I was able to clear the snapshot by spawning and destroying the sprite from a dummy sprite.

    TapSlideFixedB

    Every now and then I get a black empty capture though.

  • After changing the last code to Viewport it worked perfectly! Wow, thanks Ashley!

    <img src="smileys/smiley20.gif" border="0" align="middle" /><img src="smileys/smiley20.gif" border="0" align="middle" /><img src="smileys/smiley20.gif" border="0" align="middle" />

    My last question is how to reset CanvasSnapshot to clear? When I reposition the flowers and take another snapshot it uses the old snapshot and not the updated one.

  • I've included a capx of what I'm currently having a problem with right now.

    https://www.dropbox.com/s/vd4inmjr9lc1oen/TapSlideProblem.capx

    Drag any of the flowers around with your mouse and click the green box. A snapshot is taken and it slides to the left.

    While this works when fullscreen is off, it doesn't work properly when fullscreen is set to Scale. Why? If you move the flowers around and reclick, it doesn't update CanvasSnapshot.

    Also, in the scale mode, the sprite size shrinks and overlays the previous snapshot. Not sure what's going on. Is there a way to clear CanvasSnapshot before retaking?

  • This is great! Looking through the code, it looked like a drop in replacement (almost). :D

    Exported this to CocoonJS and while it worked great in iOS, it didn't work on android. For some reason it's not responding to touch commands. Although on PC it works fine.

  • Interesting. This is pretty much exactly what I wanted to do <img src="smileys/smiley32.gif" border="0" align="middle" />

    It would also be doubly interesting to see if the native snapshot canvas could work it.

    Excellent example btw!

  • I've looked for a simple explanation to implement this feature but can't find a demo of how this would work.

    When initiated, where does the captured image go and how would I call it?

    Here's what I'm looking to do:

    Objective: Switch from Layout 1 to Layout 2 with a slide transition.

    • on click capture image snapshot of Layout 1
    • take Layer 1 snapshot and overlay on Layout 2
    • switch to Layout 2
    • slide Layout 1 image (sprite) to reveal Layer 2.

    Ideas?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just had random thought.

    Since the current state of the mobiles out there can't utilize WebGL, do you think the new windows slate to be released soon, or windows hardware partners, will support it?

    Bob

  • Woo hoo!!!

  • Perfect! Thank you.

    I knew there it had to be something simple I was missing.

    <img src="smileys/smiley32.gif" border="0" align="middle" />

  • I've a global variable A to "Hello" and global variable B to "World".

    Now I want to add A and B to global variable C.

    I tried setting C to A+B but on text output C displays "A+B"

    How do I get C to show "Hello World" instead?

  • I was reading this thread and I noticed that the sample files were pre C2. This is possibly the solution I'm looking for and would like to get a more understanding of this plugin.

    Is it possible to have updated sample files so we can see this in C2?

bon4ire's avatar

bon4ire

Member since 18 Aug, 2012

None one is following bon4ire yet!

Connect with bon4ire

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies