Making a circular radar

This forum is currently in read-only mode.
From the Asset Store
Is a circular loading screen with code ready to use. No Animation.
  • Ahg, stop it you guys .

    No man, you're awesome.

  • No... you're awesome

  • NO U!

    seriously, you're one of the guys that always helps out, and i'm very grateful for it.

  • The Mask and Erase effects are definitely the way to go for this. You don't need the canvas object - it would actually be slower. Mask and Erase are very simple effects and don't require pixel shaders - they should still be very efficient. All you need to do is draw a circle on a sprite and give it one of the effects (one erases the transparent areas, one erases the solid areas). It even works with alpha blended sprites to erase smooth edges!

    A drop of 50fps is not always bad news - the difference between 1050fps and 1000fps is pretty much negligable, whereas 100fps to 50fps is significant. In other words, a difference of a fixed number of FPS is a fairly meaningless statement. 1 divided by the framerate is the time in seconds it takes to render each frame - you can use this to work out exactly how much extra time it takes to process an effect, per frame.

    It was a change of 150FPS to 100... So its quite alot, but I'll roll with it and see how it goes! Thanks Ash thats exactly the reply i was looking for.

    finally, before i start making it. Do i need to make a seperate layer? I probably do right? Because the mask needs to be quite large to make sure objects don't appear again when they are no longer covered by the mask? And if this was on the same layer as other stuff wouldn't it mess the other objects up?

  • Don't be so hard on yourself lol

    You've helped heaps of people out on thier games, that my friend, makes you the man

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do i need to make a seperate layer?

    Yes - the mask/erase effects cut a hole in the layer they are on. So you want to put them on their own layer, and 'force own texture' should be enabled on that layer.

  • how do you use mask, i never understodd what it did?

  • Same as erase, but with swapped transparency/opaqueness.

  • Instead of using mask, i think you can use one of the "Blends" avaiable...

    Sorry my poor English. <img src="smileys/smiley36.gif" border="0" align="middle" />

  • claudiolins - This thread hasn't been active in almost 5 years. Be sure to check the date of the latest post before posting in the future.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)