Skip to content

Commit e3b70b4

Browse files
committed
Changed screenshot to gif.
1 parent 2aa12d3 commit e3b70b4

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In order to play them, you have to have Löve installed. Then simply
1111
download the ``.love``-file and open it with Löve.
1212

1313
## Thunderstorm
14-
![Thunderstorm screenshot](thunderstorm/screenshot.png "Thunderstorm screenshot")
14+
![Thunderstorm screenshot](thunderstorm/screenshot.gif "Thunderstorm screenshot")
1515

1616
A little scene displaying a thunderstorm in a desolate city.
1717
It's main focus is generating time-delayed sound and graphics.

thunderstorm/lib/thunderstorm.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ Thunderstorm.prototype.update = function(self, dt)
6666
self.next_bolt_in = self.next_bolt_in - dt
6767
if self.next_bolt_in <= 0 and self.active then
6868
-- only add bolts, if we are set to active
69-
local index = love.math.random(1, #self.layers)
69+
-- local index = love.math.random(1, #self.layers)
70+
local index = 1
7071
local bolt = self:newBolt(self.layers[index])
7172
table.insert(self.layers[index].bolts, bolt)
7273
self.next_bolt_in = randfloat(5.0, 10.0)

thunderstorm/screenshot.gif

2.09 MB
Loading

thunderstorm/screenshot.png

-110 KB
Binary file not shown.

0 commit comments

Comments
 (0)