Jase00's Recent Forum Activity

  • I think I know what you're after. You want it like "Hold click onto the button to keep the LBumper and RBumper up, then letting go would reset their angle"? If so, here's an explaination.

    Your click events are triggers ("On Click"), this means that those events will run only once, then it gets to Event 3, which resets the angles back to 0.

    Try changing Events 1 and 2 from "On left click" to two conditions: "Left click is down" and "Is mouse overlapping spr_LBumperCont". Then remove the "Every 0.25" condition, then move Event 3 above Event 1, so that the order will be correct (It will read if it should reset the Bumpers' angles, THEN it will detect if it is being clicked, and if it is, then reset the angles)

    Hope I've understood you and have been of help! Welcome to the community!

  • It's likely as long as the device has WebRTC support, which I believe Chrome for Android does have

  • This is hard to analyse, like for instance, why is there a b1 and b2 pot, what's the difference? Maybe if you upload a capx, we could help more!

    But from what I can gather. When you reposition the plant pot back up to the window, you're making it invisible, which hides the fact that you're plant pot is naturally falling because of the physics behaviour. So when the "Falling" events are triggered, it's not what you expected.

    We could definitely help more with a .capx!

  • Ok cool!

    You're Retry button is still there even when it is invisible.

    On Event 10, add another condition [Sprite2 "Is Visible"].

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There's a 3rd party plugin called "Sprite Button", that's preventing me from opening your .capx

  • This happened to me a few times too, both Pause and Step were greyed out and I couldn't click them, but it's not happening consistently as far as I know, and I usually close off the preview and preview it again if this happens and things go back to normal.

  • I'm pretty certain there is an Example file in Construct 2 showing how to do exactly this!

    Open up Construct 2, File>New

    You get a list of templates, type "Light" into the searchbox to find it faster, and then select it.

  • Hey,

    There is an awesome little piece of software I believe somebody created on this forum called something similar to "GiveYourFontsMono", you can use that to generate a Spritefont for you. Using the options within the software, you can leave space around the edges of the SpriteFont, and then you could draw an outline around them (so white font, black outline). Some software does this for you

    The other way, you could program it in which gets a bit fiddly to explain. You would have a Sprite called "Digit", in which each frame is the image for the number (Frame 0 = 0, Frame 1 = 1, all the way to 9), and you could slap the Bullet and Fade behaviour onto it so it moves and fades away, then you just gotta do a slightly complicated few events in order to position the numbers correctly according to the damage (This is really finicky to do, I totally recommend Spritefont).

  • Kept an eye on this overnight. Just noticed the Gravatars are back! Pretty sweet! Looks awesome and has a handful of awesome functions, I'll probably feel more inclined to post more often now

  • There's flappymmo out there lol

  • This is awesome! I can't wait to implement this into my game! I have been designing my game to support such a thing from the beginning, and the day has almost finally come :D

    Here's a video of my game that I will be putting this in to if anyone is interested!:

    youtube.com/watch

    As God once said, "Hopefully, this will have been worth the wait!".

  • Hi!

    tl;dr I really want to write a "Crop" shader, any pointers? :P

    So I have literally no experience with writing GLSL shaders, or ANY shaders for that matter. I'm trying to create a (seemingly) simple "Crop" shader. I've been looking through the documentation and files that Scirra provides, but I can't seem to wrap my mind around it!

    I then found my ol' files from MMF2 which had a similar "Crop" shader (Not owned by me, part of the "Complex-softwares" pack I downloaded yearrrrs ago) that I decided to edit and tinker with to figure out how to port the shader into the GLSL language.

    Since I'm not entirely understanding what I am doing (I get a few things but barely anything), I have ended up trying many different combinations of words and replacing things here and there, and I simply can't get it to work. I have failed to get any sort of effect EXCEPT making my sprite's alpha channel get affected. I guess that's something!

    So the way this particular crop works, is that you get several parameters to edit (Left, Right, Top, Bottom, Alpha). You would specify the amount of pixels to modify from each parameter, and then the alpha would transform those pixels to the alpha specified.

    So say you have this sprite:

    <img src="https://dl.dropboxusercontent.com/u/7765312/C2/Croppy/1.png" border="0" />

    And you then set "Bottom" to something like 10, and Alpha to 0, it should give this result:

    <img src="https://dl.dropboxusercontent.com/u/7765312/C2/Croppy/2.png" border="0" />

    I will attach what I've attempted, I'm pretty eager to learn about how to actually solve this and how it works. If it's also much to ask for, I'd LOVE to be able to retain the angle if the sprite is rotated; so following the previous example with Bottom and Alpha, the crop would appear like this when the sprite is rotated:

    <img src="https://dl.dropboxusercontent.com/u/7765312/C2/Croppy/4.png" border="0" />

    IN AN IDEA WORLD: If I was a pro shader writer, I wouldn't make this exact shader for Crop, I would instead, have only 2 parameters, "Amount" and "Angle", in which you specify an angle in which the crop will come from, and "Amount" would be how many pixels it crops off (That way, You could specify 45degree angles whilst the sprite's angle is 0.)

    Here's my failed attempt (along with the shader I'm trying to port):

    dl.dropboxusercontent.com/u/7765312/C2/Croppy/crop.zip

    Thanks!

Jase00's avatar

Jase00

Member since 5 Jan, 2012

Twitter
Jase00 has 12 followers

Trophy Case

  • 13-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x19
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x8
    Lightning Draw First person to up-vote a new Construct 3 release
  • x7
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

27/44
How to earn trophies