part12studios's Recent Forum Activity

  • Hi there,

    So I have this logic thing i'm trying to work out and for the life of me it's just not behaving as i think it should..

    so i have a simple mouse over rule. i'm using a custom icon. when the mouse hovers over various objects it goes from a custom pointer to a custom hand.. this works great.. so it's something like this:

    mouse over button 1 - play hand animation

    or

    mouse over button 2 - play hand animation

    or

    mouse over button 3 - play hand animation

    else

    play play normal animation.

    <img src="https://www.dropbox.com/s/o9fyubnx39vhv1y/capture1.PNG" border="0" />

    dropbox.com/s/o9fyubnx39vhv1y/capture1.PNG

    now the trouble i am having is that i want one of those to not always be a mouse-over condition.. so i setup a simple global variable that when a particular condition is met, to ignore that one.. so i set it up like this:

    but what ends up happening depending on where i put things.. either it ignores the other mouse overs, or it ignores the one that has the special variable.. it seems like i should just be able to nest a variable grouped with an item and have it just be another thing in the or condition somehow?

    here is another attempt..

    <img src="https://www.dropbox.com/s/7tynrn3dt0a85t2/capture2.PNG" border="0" />

    dropbox.com/s/7tynrn3dt0a85t2/capture2.PNG

    Thanks!

    Caleb

  • ok yes I totally got it now... i had to back up and just start fresh taking your clear cut example into account.. i was worried the shape of my mask graphic would be a problem since it's not a straight square, but it worked out great. Thanks! :)

  • man that's trippy :)   but yea ok i'll play with this and see what i come up with.. very cool :)

  • ok so i'm trying some different things.. i did get it to look like this.. so far..   

    dropbox.com/s/hthlo60058m96ex/Screen%20Shot%202014-01-16%20at%2012.28.26%20PM.png

    but quick side quetsion.. why does my Z order screen often show a given object all by itself on a layer.. while there are other things on the same layer but yet it's showing that it's by itself? wouldn't all thing on layer 1 for example show they are on Layer1?   

    dropbox.com/s/m13rj93ygurd2oo/Screen%20Shot%202014-01-16%20at%2012.29.08%20PM.png

    ok nm.. i guess it does that when you click on a specific object.. just weird.. but i see them together if i click into empty space. :)

  • nevermind.. i found that.. still working through it to see if i can get closer to a good result.. so far it's the same. but i could be doing something wrong

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hmmm ok so it seems like destination in would be ideal.. i have a mask graphic that is the right shape and i would only want the item i mark as destination in (like the example)

    it seems like there would need to be some way to link the two objects. the examples in C2 are nice, but deal with a single graphic on a solid color background.. my mask is a solid color graphic (my window to the animation if you will) on top of a colorful environment.

    I'm just not sure.. how to approach this. every combination of the blend modes either of the masked item or the masking item results in unacceptable results. maybe if i put them on another layer it would help? but i don't see how.

    i have to set the masking graphic to destination over so it's invisible to all other graphics, otherwise what good is a mask if you can see the mask right?

    the closest thing on the masked item that works in combination with thing item needed maked is set to Destination out, which you can see a clear difference between what's inside and what's outside the area to be exposed.. however the issue is that i can still see the masked object, albeit in another weird color.

    Maybe I need to use one of the more advanced effects? Overlay and Exclusion were interesting because they did crop the image but only to the side of the stage which isn't enough.

    To me the ideal solution would be to have a graphic that is 100% transparent to the viewer, but then have my other graphic be 100% hidden except when in empty (really transparent space) and not cause color distutions when the masked object passes over other colored background objects.

    dropbox.com/s/tpwsekb5kv5prpu/Screen%20Shot%202014-01-16%20at%2011.48.34%20AM.png

    this is one shot of what i'm seeing. This is just about perfect except that its' solid green blocking all of the other stuff. When i get it to be basically transparent, but not really masking the masked object it looks like this plus color distortion

    dropbox.com/s/4fh8mzvzw5qt3xt/Screen%20Shot%202014-01-16%20at%2011.46.03%20AM.png

    again close.. almost perfect if i didn't get the color distortion and the fact that you can see the effect through the mask.

    Thanks!

    Calebhttps://www.dropbox.com/s/tpwsekb5kv5prpu/Screen%20Shot%202014-01-16%20at%2011.48.34%20AM.png https://www.dropbox.com/s/4fh8mzvzw5qt3xt/Screen%20Shot%202014-01-16%20at%2011.46.03%20AM.png

  • ooo interesting.. so blend mode is what i should be looking for

    Thanks!

    Caleb

  • hey everyone,

    I'm not sure how to best phrase it but i know often people call them masks in Flash and other places. I have an animation that's one long graphic that i want to scroll across th screen, BUT the catch is that i only want it seen inside a certain area and that area is on top of the rest of the scene.

    Can C2 use / make / however it works, have a mask effect? If so where would I start?

    Thanks!

    Caleb

  • Just a final comment, LiteTween is great. I've got it doing just about everything I could ask for so thanks again for that suggestion, but also lerp is a great tip as well that I suspect will come in handy when i don't want to get tied down with a lot of behavioral things to track and just want a quick and lean interpolation between two points.

  • Also, is there anywhere that really explains what all of these various functions actually mean? I would love to understand what the difference between an EaseInOutCubic is different than EaseOutCircle, etc.

    Disregard.. I found that info here, just overlooked before.

    easings.net

  • Looking at the examples, I couldn't seem to figure out where the apple bounce effect can be seen in a demo. Is there any link to the capx for that? I'm able to make an object grow and bounce to the new size, but if i want the object to end the same size it started and would like to be sure i'm doing it the most efficient way.

    dl.dropboxusercontent.com/u/55358831/LiteTweenStretch/index.html

    Thanks!

    Caleb

  • lerp(Sprite.Y, ObjectY,(0.1*dt))

    like this?    

    seems to really slow things down..

part12studios's avatar

part12studios

Early Adopter

Member since 24 Dec, 2012

Twitter
part12studios has 1 followers

Connect with part12studios

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

20/44
How to earn trophies