ALLMarkMade's Recent Forum Activity

  • First off, thank you for taking the time to respond back.

    And I agree, it should not break it and when I say break I mean it moves things around and some off screen but it functions correctly and the shake then works perfectly.

    I will try your method and see if I can tweak it from there.

    I really appreciate your time thank you.

  • Is there another way to make the screen shake without the scroll-to behavior? My game really does not move far from the view area so that's not working for me. I can't do unbound scrolling it breaks my game completely, and I've tried the camera lerp to the player, all that stuff.

    If anyone knows another way I would appreciate it.

    Thank you in advance for your help.

  • Here's the same, with gradual filling. metermask.reserve is an instance variable used to keep track of how much/long to fill up.

    > + System: metermask.Height > 0
    -> metermask: Set height to max(0,metermask.Height-0.05)
    
    + System: metermask.reserve > 0
    -> metermask: Set reserve to max(0,metermask.reserve-1)
    -> metermask: Set height to min(150,metermask.Height+1)
    
    + Touch: On any touch start
    -> metermask: Set reserve to metermask.reserve+25
    

    You can add stuff like setting the reserve to 0 if fuel gets maxed out, if that is your desired behavior. Alternatively, you can set the reserve to min(25,fuelmax-currentfuel), to take the smaller of either 25 or the difference between max fuel and current fuel to prevent overfilling.

    ==============================================

    I Just tested it this works perfectly!!! And it is smooth!!!

    Thank you so much...

  • Wow! Thank you so much, this was very unexpected of your time. I'm sure this will greatly help some others as well.

    I do appreciate it.

    Thank you again.

  • Thank you for your help oosyrag. I see I made this wayyyyyy harder than it had to be, but the knowledge you shared made all the difference.

    I'll try not to overthink the process next time. (no promises) but I will try.

    Meter Height > 0 metermask.Height-0.05

    Player on collision with fuel * metermask.Height * min(metermask.Height+25,150)

    I'll probably play around with it a little more but this will work.

    Thank you...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Understood, thank you, I was just up working that method out as well.

    Thank you.

  • Thanks, I will give it a try. I was trying the tween and the mask for the smoothness like your gas tank running low in a car. But I guess I could have just made it like you would a health bar or something.

    Thanks again.

  • Thanks

  • Ok, thank you, I will give that a try...

  • I'm trying to use a mask with the tween effect to create a fuel meter. The object is that when the car moves the fuel starts to go down and when you pick up fuel (Represented by the every 5 secs code for now) fuel gets added back into the tank when the tank hits zero it triggers game over. Now, there will be different sizes to pick up so I added a clamp to prevent it from going past more than 150.

    The issue I'm having is it will work a few times then stop, and then start to go up and just keep going up.

    I'm not married to this method so if there is a better way I'm all for it.

    This is what I have:

    https://www.dropbox.com/s/0paud0vgoniekln/MeterTest2.c3p?dl=0

    Thank you in advance for your help.

  • For some reason my default version is r241, but when I purchased C3 it was on version r247. Every time I try to open up a file it tells me I'm using the wrong version.

    Is there a way to set it to the latest version so when I log on it's ready to go? I even check my account and it's saying I have r241 but no way to upgrade it...

    Thank you in advance for your time.

  • Do we provide you with the actual plugin or can we just give you the name we need and you create it?

    Thank you in advance for your time.

ALLMarkMade's avatar

ALLMarkMade

Member since 9 Nov, 2013

Twitter
ALLMarkMade has 1 followers

Trophy Case

  • 11-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

14/44
How to earn trophies