mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
more lightning; adjustable initial samples
Former-commit-id: d928ce6689411900e256a82e9f4c1371284d10fa Former-commit-id: 52899acc116ddc400811687ed5944bd229a447b7
This commit is contained in:
@@ -54,12 +54,12 @@ class StateTestingSandbox : BasicGameState() {
|
||||
private var timer = 0
|
||||
private var regenTime = 17
|
||||
|
||||
private var seed = 1L
|
||||
private var seed = System.nanoTime()
|
||||
|
||||
val samples = 256
|
||||
val samples = 128
|
||||
|
||||
val lightningXgen = TileableValueNoise(8, 0.67f, samples)
|
||||
val lightningYgen = TileableValueNoise(8, 0.36f, samples)
|
||||
val lightningXgen = TileableValueNoise(8, 0.67f, samples, 8)
|
||||
val lightningYgen = TileableValueNoise(8, 0.58f, samples, 4)
|
||||
|
||||
override fun render(container: GameContainer, game: StateBasedGame, g: Graphics) {
|
||||
g.color = ColourTemp(7500)
|
||||
@@ -73,7 +73,7 @@ class StateTestingSandbox : BasicGameState() {
|
||||
|
||||
|
||||
val ampY = 40f
|
||||
val ampX = 3
|
||||
val ampX = 6
|
||||
val xoff = 10f
|
||||
val yoff = 300f
|
||||
|
||||
|
||||
Reference in New Issue
Block a user