remy-jay's Recent Forum Activity

  • Glad you like it - but it was using a large sprite to hide the spotlight , no problem on a PC but might need a "few coats of thought" for mobile...

    Heh, and wouldn't you know that's my next problem.... I saw how you used the 'cut out' circle with "destination in" applied, however, in my context, I need to be able to dynamically switch the poker chip to other objects of choice. So, I can simply create a new object on the same "light" layer and set it's blend mode accordingly, however, if the objects aren't the size of the entire viewport I'm working with (which they never are), i get the light bleeding onto the background for any area in the view port that is outside the sprite's bounding box of the object created

    I've tried having another "mask_sprite" that is blank sprite as big as the viewport I need the object to move around in. It also has a 'destination in' blend mode and instead of having another object sprite in that layer, I tried to Load Image From URL on the "mask_sprite" to programmatically place my object of choice into the "mask_sprite" sprite, however, now NO light is seen at all.

    Any "coats of thought" on how I could either combine any give sprite/object with another background sprite in order to achieve the desired effect? OR if as mentioned about, I have one sprite that is the size of the viewport that I"m operating in that I can paste/load the object of choice in/onto?

  • You only want the light on the chip and nothing else ?

    Here is a test of what I think you are after. Using large sprite. If you move the mouse/light to the far left of the screen the light is no longer hidden. Needs work...

    RamPackWobble, this is exactly what I was looking for -- and the balloons brightened my day

    Thanks!

    -Remy

  • Hi All,

    I'm having trouble casting light on a single object and not the surrounding background. I think I have the layers right, but something isn't working quite right with all the blending modes. Ideally, the light sprite would only 'shine' on the poker chip itself and not the surrounding background or UI (drag the green dot around to move the light).

    If anyone can assist, it would be appreciated? I think I need a sprite in the masking layer that creates a mask of the object below, however I can't seem to get that working..

    Any assistance would be much appreciated!

    -Remy

  • Check out the LiteTween behavior here in the Behaviors section, tween the "opacity" of your objects/family and you should be set -- there are lots of "easing" functions to get some neat effects too.

    Once you start tweening, you can't stop

    Hope this helps.

    -Remy

  • Err c0105 cenerebianca

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Each sprite has a "Web (section)" -> Load Image from URL function. Try that, HOWEVER, remember that some servers don't allow people outside of their domain to make image requests -- in which case, your image won't load.

    I don't think you need the user media object for this.

    Hope this helps.

    -Remy

  • Sooo, since it seems this plugin wasn't supported anymore (and I really wanted to use it) I tried to cobble together something myself....

    The GOOD: I WAS able to reproduce a similar effect using the Tweenlite Plugin without any of the quirky errors discussed in this thread also with much more customization

    The BAD: It's not as smooth, but it will definitely serve as a poor man's version of the flip Sprite plugin

    In short:

    -Still have a sprite with two frames (could easily add more too, I think someone asked about that earlier in this thread?)

    -On click, start a tween of the sprite's width down to 0 'absolutely' (give the tween a duration of about 0.5 seconds with an easing of your choice -- "EaseInBack" gives you a nice little pulsation at the beginning and end)

    -This is now considered the halfway point of the flip so now with the width set to 0, set the animation frame to the second image in your sprite

    -Call the "reverse" tween function

    Voila! Again, it's not as smooth as the Flip sprite plugin and there is a bit of perspective lost as it's not an actual 3D transform but it will do. Perhaps the smoothness is because it's not hardware accelerated? (SOURCE?)

    Enjoy all, and cheers to Pode for exposing me to this behavior and inspiring me to work around the issues I was having.

    -Remy

  • Try using the "Touch" object and checking Alpha,Beta and Gamma values to capture device orientation, then, simply translate this into commands to move your character...

    EG, if Touch.AccelerationXwithG > 3 THEN move player forward (with G takes into consideration gravity)

  • R0J0hound for the steal maybe?

  • rainmaker, the iScroll plugin can do this -- its a pretty rich HTML formatted scrollable table to!

    Downside, the author doesn't have time to fix any issues you may find, however, it's worth checking out.

  • Hi All,

    Searching the forum there seems to be a lot of people who want a 'magic wand' feature in the Sprite Editor -- this request is NOT about that.

    What I want to achieve is the following: I want the user to be able to take a picture of an object against a white backgroud (usermedia object -- check), have that picture saved to a sprite (again usermedia object -- check), at which point they can then use a 'magic wand' type feature to isolate an object in the picture in order to then cut the object out and paste it into a sprite with a transparent background (this part -- ???)

    Off the top, perhaps some sort of floodfill algorithm to 'select' all the white (however, there may be varying degrees of white in the photo -- so there would need to be some sort of tolerance). Next, I wonder how I could get the selected object into a transparent background sprite/image? Through the paster/canvas object?

    Maybe there is an easier way? Maybe the problem could be changed to achieve a similar result?

    If so, please let me know!

    -Remy

  • Hey septeven, while this thread has your attention...

    The "add a toggle line" UI element for the iScroll object doesn't seem to work on BlackBerry 10 handhelds -- it will render, BUT, it's not togglable -- which is an idea trait for any toggle to have

    It works in the Ripple Emulator (now depreciated) simulator for Q10 and Z10 handhelds but on an actual device. As a point of note, the rest of the feature for the iScroll object appear to function correctly.

    Any chance you could take a look?

    Cheers!

    -Remy

remy-jay's avatar

remy-jay

Member since 7 Feb, 2012

None one is following remy-jay yet!

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies