⭕⭕ Lens Flare ⭕⭕

SocksSocks London, UK.Member Posts: 12,822
edited December 2013 in Working with GS (Mac)
A dynamic lens-flare set up . . . (file attached below) . . . for games, title sequences and, of course, large alien motherships coming to destroy the earth with their giant otherworldly laser cannons.

Two ways to control it - double click the main control (the light source) and chose either 'move by hand' or 'automatic move', 'move by hand' is basic drag it around with your finger/mouse and 'automatic move' is a simple pseudo-random movement (just to demo the flare moving) - but obviously if you wanted to use the lens flare in your SuperSpaceDeathWarriors™ game you'd dump both these controls and constrain the main control to a light source (the Sun, a rocket, missile, explosion . . . etc etc)

Flick the video over to 720p as you can't see the subtle details at the default 360p.

image

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Ha, that's the biz, @Socks! B-) Excellent. :-B
  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2013

    Ha, that's the biz, @Socks! B-) Excellent. :-B
    Cheers @gyroscope :)>-

    I'll stick it in Spare Code too, might be useful for someone somewhere.
  • JSprojectJSproject Member Posts: 730
    Cool one @Socks :)
  • ZombiebrainsZombiebrains www.zombiebrains.co.ukMember, PRO Posts: 296
    very impressive stuff... :)
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    pretty fancy!
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Top notch as always, @Socks! Keep it up!
  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2013
    @JSproject
    @Zombiebrains
    @jamie_c
    @Braydon_SFX

    Cheers :)>-

    Here's one for all the Sci-Fi fans out there . . . . ;) 8-X
  • firemaplegamesfiremaplegames Member Posts: 3,211
    That is so sexy!!
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    very very cool.
    would be perfect for a long way home 2 :)
  • vuifahvuifah Member Posts: 62
    Amazing!
    Thank you very much for sharing.
  • SocksSocks London, UK.Member Posts: 12,822
    @firemaplegames

    :)>-
    very very cool.
    would be perfect for a long way home 2 :)
    Help yourself ! :)>-
    Amazing!
    Thank you very much for sharing.
    :)>-
  • mataruamatarua Auckland, New ZealandMember Posts: 854
    edited December 2013
    @Socks made my own one for one of my games a while that through placement and movement according to the hero looks good - but it doesn't do what this does - damn impressive sir :)

    This is one area where screen blending mode works well in GameSalad eh ;)

    Merry Christmas to us :)>-

    Thanks!
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    Very cool!
    - Thomas
  • SparkyidrSparkyidr Member, PRO Posts: 2,033
    Pretty :)


    and awesome.
  • -Timo--Timo- Member Posts: 2,313
    Thanks for sharing :D
  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2013
    @Socks made my own one for one of my games a while that through placement and movement according to the hero looks good - but it doesn't do what this does - damn impressive sir :)
    Cheers @matarua, yeah it's all about placement of the light source when it comes to making lens flares look good.
    This is one area where screen blending mode works well in GameSalad eh ;)
    Yeah, good old 'screen' and 'add', a compositors best friends, pity the equally useful 'multiply' can't join the party too. :)
  • SocksSocks London, UK.Member Posts: 12,822
  • mataruamatarua Auckland, New ZealandMember Posts: 854
    @Socks made my own one for one of my games a while that through placement and movement according to the hero looks good - but it doesn't do what this does - damn impressive sir :)
    Cheers @matarua, yeah it's all about placement of the light source when it comes to making lens flares look good.
    This is one area where screen blending mode works well in GameSalad eh ;)
    Yeah, good old 'screen' and 'add', a compositors best friends, pity the equally useful 'multiply' can't join the party too. :)
    Yes I had multiply on the brain before too - oh man it's a head banging brain sapping thing.

    Anyway - here's some news - you know the unicode work you did - funny thing is you can change the colour of those emoticons - if you make the text black they come out black - and if you make it green it kind of multiplies over the top - then inside the colour picker of GameSalad you can make the colour transparent it makes the whole character transparent - so it's not fixed but uses the multiply we love in regards to colour. :-B
  • SocksSocks London, UK.Member Posts: 12,822
    @matarua
    funny thing is you can change the colour of those emoticons . . .

    Cool ! :)>- Good to know, pity GS's text colour doesn't accept expressions, which would open it up a little, but it's good that you can play around a little with unicode's colour nonetheless.
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Love that
  • FlamingbananaFlamingbanana Member, PRO Posts: 90
    Awesome stuff man! @Socks
  • lebiscuitlebiscuit Member, PRO Posts: 220
    woooooow
  • mataruamatarua Auckland, New ZealandMember Posts: 854
    edited December 2013
    @matarua
    funny thing is you can change the colour of those emoticons . . .

    Cool ! :)>- Good to know, pity GS's text colour doesn't accept expressions, which would open it up a little, but it's good that you can play around a little with unicode's colour nonetheless.
    The downside I found was symbol alignment across blocks of characters can be a bit off - so in a really long timer expression I had with the floor( technique - I placed unicode characters in there as icons and the alignment was a off on circle icons.

    Anyway off topic, even tho they are in the title ;) but of interest - can't wait to see your skills come together in a game!

    This flare shows your flair extraordinare!
  • quantumsheepquantumsheep Member Posts: 8,188
    *Thinks this'll be in everyone's games now and cancels "Lens Flare: The Return"


    :D
  • SocksSocks London, UK.Member Posts: 12,822
    Slight update, the gradients in the individual elements suffered from that issue where gradients can sometimes appear 'stepped' when played on an iOS device, so I've applied the 'force 24bit' trick (adding a transparent pixel) to keep the gradients nice and smooth.
  • SocksSocks London, UK.Member Posts: 12,822
    This flare shows your flair extraordinare!
    Reported to the pun police, expect a knock at the door. :-B
  • vikingviking Member, PRO Posts: 322
    This is really nice :) I would like to "attach" it to the setting sun in my texture as the background layer is scrolling right to left. Then have the lens flare move across the screen at a faster speed to simulate what a lens flare would look like. Any suggestion as to how this can be done easily?
Sign In or Register to comment.