Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Circular torchlight effect ?

    Beginners
    2
    6
    280
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Merc1973 last edited by

      Hi all,
      This is my first post. my apologies if this topic has been explained somewhere already.
      I recently saw in someone's program a circular torchlight effect in a platform game (Blind Fury by Andy Waldron) and wondered how I might go about creating a similar effect?

      e.g. Was a template used or is it to do with the circle's opacity?

      Thanks.

      waldron 1 Reply Last reply Reply Quote 0
      • waldron
        waldron F @Merc1973 last edited by waldron

        @Merc1973 HI, by all means download the game and use the code. i Managed the effect with a sprite drawn after the player sprite, you can do this in 2 ways load the player image then the "spot light" image or drawsprite(player) then drawsprite(spotlight).its just a matter of loading in sprites.i created the spotlight in the image editor i created a tiled image of 20 frames/cells of black squares with circles punched out with some filled to give the opacity effect which are animated.

        Not sure how new you are to coding in general but if you want me to comment in the program to describe better im happy to do so :)

        1 Reply Last reply Reply Quote 0
        • M
          Merc1973 last edited by

          @waldron Hi,and many thanks for the reply. Ahh i see. I have done some simple coding in the past and have already written a few small programs in Fuze, nothing too complicated though. I used to use STOS basic on my Atari STE years ago and I want to try to get back into it using Fuze.

          I will have a go at the way you mentioned. If I need any more help I'll let you know. Thanks.

          waldron 1 Reply Last reply Reply Quote 1
          • waldron
            waldron F @Merc1973 last edited by waldron

            @Merc1973 i think a better way would be to set an image to the screen instead. because the way i did it i had to add in sprite movement to the spotlight as well as the sprites either side to act as collision. setting it to the screen would be a lot simpler.

            1 Reply Last reply Reply Quote 1
            • M
              Merc1973 last edited by

              @waldron One of my first idea's was whether it was an image, or you had 'somehow' used a circle command. It didn't occur to me at first the spotlight was a sprite. Sorry if I sound like a noob at all lol

              waldron 1 Reply Last reply Reply Quote 0
              • waldron
                waldron F @Merc1973 last edited by

                @Merc1973 don't apologise mate we're all here to help each other

                1 Reply Last reply Reply Quote 2
                • First post
                  Last post