mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-08 12:51:51 +09:00
texture update
Former-commit-id: 8b056329db1403b163e635e22141e0d021580805 Former-commit-id: c9e0605ba6021ac4889f199799268df61517a794
This commit is contained in:
@@ -28,9 +28,7 @@ class StateNoiseTexGen : BasicGameState() {
|
||||
|
||||
println("Press SPACE to generate new noise")
|
||||
}
|
||||
|
||||
// TODO multithreaded
|
||||
|
||||
|
||||
private fun noiseRidged(): Joise {
|
||||
val ridged = ModuleFractal()
|
||||
ridged.setType(ModuleFractal.FractalType.RIDGEMULTI)
|
||||
|
||||
@@ -900,6 +900,8 @@ open class ActorWithBody : Actor() {
|
||||
|
||||
open fun drawGlow(gc: GameContainer, g: Graphics) {
|
||||
if (isVisible && spriteGlow != null) {
|
||||
blendNormal()
|
||||
|
||||
if (!sprite!!.flippedHorizontal()) {
|
||||
spriteGlow!!.render(g,
|
||||
(hitbox.posX - hitboxTranslateX * scale).toFloat(),
|
||||
|
||||
Reference in New Issue
Block a user