mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 18:14:06 +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")
|
println("Press SPACE to generate new noise")
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO multithreaded
|
|
||||||
|
|
||||||
private fun noiseRidged(): Joise {
|
private fun noiseRidged(): Joise {
|
||||||
val ridged = ModuleFractal()
|
val ridged = ModuleFractal()
|
||||||
ridged.setType(ModuleFractal.FractalType.RIDGEMULTI)
|
ridged.setType(ModuleFractal.FractalType.RIDGEMULTI)
|
||||||
|
|||||||
@@ -900,6 +900,8 @@ open class ActorWithBody : Actor() {
|
|||||||
|
|
||||||
open fun drawGlow(gc: GameContainer, g: Graphics) {
|
open fun drawGlow(gc: GameContainer, g: Graphics) {
|
||||||
if (isVisible && spriteGlow != null) {
|
if (isVisible && spriteGlow != null) {
|
||||||
|
blendNormal()
|
||||||
|
|
||||||
if (!sprite!!.flippedHorizontal()) {
|
if (!sprite!!.flippedHorizontal()) {
|
||||||
spriteGlow!!.render(g,
|
spriteGlow!!.render(g,
|
||||||
(hitbox.posX - hitboxTranslateX * scale).toFloat(),
|
(hitbox.posX - hitboxTranslateX * scale).toFloat(),
|
||||||
|
|||||||
Reference in New Issue
Block a user