Lemmings Forums

Lix => Lix Main => Topic started by: Simon on February 08, 2018, 09:56:25 PM

Title: Lasers, how to animate
Post by: Simon on February 08, 2018, 09:56:25 PM
Hi,

Lasers, a permanent fire trap in geoo/construction, have been in Lix since geoo created the popular Construction tileset in 2011. I'm at a crossroads about how to animate the lasers.

Lasers in Lix ≤ 0.9.10 (http://www.lixgame.com/etc/laser-0-9-10.gif) -- complaint: Looks like terrain, especially like red abstract pipes.
Lasers in Lix = 0.9.11 (http://www.lixgame.com/etc/laser-0-9-11.gif) -- worry: Animation is too glaring, induces epilepsy.

Both are understandable. What to do? Keep one of the above? Animate differently? Submissions or prototypes welcome!

-- Simon
Title: Re: Lasers, how to animate
Post by: Akseli on February 08, 2018, 11:29:49 PM
From #lix IRC channel:

[01:04] <Akseli> SimonN: the latter but a lot slower anim
[01:11] <Akseli> then it would be clear that it's lethal, but the animation doesn't need to be epilepsy-causing :P
[01:11] <Akseli> one cycle per second or even slower
Title: Re: Lasers, how to animate
Post by: zanzindorf on February 08, 2018, 11:58:13 PM
You could try adding a little turbulence. However, if this animation has to be contained within a 16x16 square, that may be difficult to pull off. I worked a little on this example:

Quote
(https://i.imgur.com/NnMsQEJ.gif)
https://i.imgur.com/NnMsQEJ.gifv (https://i.imgur.com/NnMsQEJ.gifv)

My goal was to be subtle enough it doesn't look weird when tiled, but dramatic enough to give a fluid impression.

I don't know if that helps, but I'll attach my graphics if you want to mess around with them. I feel like the colors I chose aren't quite right. My color pallet could definitely be revised.
Title: Re: Lasers, how to animate
Post by: Simon on February 09, 2018, 12:03:47 AM
Akseli, yeah, if the brightness should really differ by this much, then yes, the blink should be far slower.

zanzindorf, this is a lovely idea and fits with the cartoon physics. The wobbling makes it obviously different from terrain and we can ditch the flashing of the 0.9.11 lasers. I'll see how this fits in th game. Thanks!

-- Simon
Title: Re: Lasers, how to animate
Post by: geoo on February 10, 2018, 07:53:51 AM
Just as a remark, there's also a 64-px long laser pieces which could be animated with a bit less repetition.

I certainly like zanzindorf's idea, the color and cartoonishness would fit the occult tileset especially well.
The concrete set is a bit more austere and less cartoonish, but I think it might still fit there as well.
Title: Re: Lasers, how to animate
Post by: Simon on March 08, 2018, 09:51:15 PM
I'll merge these into Lix 0.9.13 that will release next week.
Video: Zanzindorf's lasers in Lix (http://www.lixgame.com/etc/zanzindorf-lasers-2018-03-08.mp4)

Zanzindorf: Are you okay with public domain for this animation? All Lix tiles are released in the public domain, it would be super handy if you agree on this. :lix-blush: (The exact copying conditions are CC0, i.e., waive all rights possible if country doesn't allow public domain.) You'll get credit in copying.txt.

geoo: Please give feedback on the emitters. I've changed them so that they look reasonable no matter whether they overlap lasers or are merely next to lasers.

-- Simon
Title: Re: Lasers, how to animate
Post by: mobius on March 09, 2018, 02:45:07 AM
a definite improvement on the old laser :thumbsup:
Title: Re: Lasers, how to animate
Post by: geoo on March 17, 2018, 11:12:25 PM
The lightning on the laser emitters looks much better than before, the two red bars look very strange though.
You said it's mean to look like those guns from cartoon laser guns, but the way it overlaps with the old emitter looks very weird. I think it should be one or the other, either just the emitter in the old style, or the disk from the cartoon laser gun. Usability-wise, the old emitter is fine, you can just put it in front of the laser beam and it'll cover the excess part of the laser beam.
The other style could be cool too though, not sure it could be made to look good when just floating in air though.