New discord app ID / New testing sounds
@@ -8,7 +8,7 @@ buildscript{
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies{
|
dependencies{
|
||||||
classpath 'com.android.tools.build:gradle:3.4.1'
|
classpath 'com.android.tools.build:gradle:3.4.2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
core/assets/sounds/phaser.ogg
Normal file
BIN
core/assets/sounds/shotgun.ogg
Normal file
|
Before Width: | Height: | Size: 676 KiB After Width: | Height: | Size: 466 KiB |
|
Before Width: | Height: | Size: 256 KiB After Width: | Height: | Size: 152 KiB |
|
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 234 KiB |
|
Before Width: | Height: | Size: 462 KiB After Width: | Height: | Size: 462 KiB |
@@ -11,6 +11,7 @@ import io.anuke.mindustry.entities.Damage;
|
|||||||
import io.anuke.mindustry.entities.bullet.Bullet;
|
import io.anuke.mindustry.entities.bullet.Bullet;
|
||||||
import io.anuke.mindustry.entities.bullet.BulletType;
|
import io.anuke.mindustry.entities.bullet.BulletType;
|
||||||
import io.anuke.mindustry.game.ContentList;
|
import io.anuke.mindustry.game.ContentList;
|
||||||
|
import io.anuke.mindustry.gen.*;
|
||||||
import io.anuke.mindustry.graphics.*;
|
import io.anuke.mindustry.graphics.*;
|
||||||
import io.anuke.mindustry.type.*;
|
import io.anuke.mindustry.type.*;
|
||||||
import io.anuke.mindustry.world.*;
|
import io.anuke.mindustry.world.*;
|
||||||
@@ -1337,6 +1338,7 @@ public class Blocks implements ContentList{
|
|||||||
targetAir = false;
|
targetAir = false;
|
||||||
ammoUseEffect = Fx.none;
|
ammoUseEffect = Fx.none;
|
||||||
health = 400;
|
health = 400;
|
||||||
|
shootSound = Sounds.flame;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
hail = new ArtilleryTurret("hail"){{
|
hail = new ArtilleryTurret("hail"){{
|
||||||
@@ -1352,6 +1354,7 @@ public class Blocks implements ContentList{
|
|||||||
inaccuracy = 1f;
|
inaccuracy = 1f;
|
||||||
shootCone = 10f;
|
shootCone = 10f;
|
||||||
health = 260;
|
health = 260;
|
||||||
|
shootSound = Sounds.artillery;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
wave = new LiquidTurret("wave"){{
|
wave = new LiquidTurret("wave"){{
|
||||||
@@ -1401,6 +1404,7 @@ public class Blocks implements ContentList{
|
|||||||
size = 2;
|
size = 2;
|
||||||
health = 280 * size * size;
|
health = 280 * size * size;
|
||||||
targetAir = false;
|
targetAir = false;
|
||||||
|
shootSound = Sounds.phaser;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
arc = new PowerTurret("arc"){{
|
arc = new PowerTurret("arc"){{
|
||||||
@@ -1417,6 +1421,7 @@ public class Blocks implements ContentList{
|
|||||||
recoil = 1f;
|
recoil = 1f;
|
||||||
size = 1;
|
size = 1;
|
||||||
health = 260;
|
health = 260;
|
||||||
|
shootSound = Sounds.shock;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
swarmer = new BurstTurret("swarmer"){{
|
swarmer = new BurstTurret("swarmer"){{
|
||||||
@@ -1434,6 +1439,7 @@ public class Blocks implements ContentList{
|
|||||||
xRand = 6f;
|
xRand = 6f;
|
||||||
size = 2;
|
size = 2;
|
||||||
health = 300 * size * size;
|
health = 300 * size * size;
|
||||||
|
shootSound = Sounds.missile;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
salvo = new BurstTurret("salvo"){{
|
salvo = new BurstTurret("salvo"){{
|
||||||
@@ -1474,6 +1480,7 @@ public class Blocks implements ContentList{
|
|||||||
size = 3;
|
size = 3;
|
||||||
|
|
||||||
health = 220 * size * size;
|
health = 220 * size * size;
|
||||||
|
shootSound = Sounds.shotgun;
|
||||||
|
|
||||||
ammo(Items.graphite, new BulletType(0.01f, 105){
|
ammo(Items.graphite, new BulletType(0.01f, 105){
|
||||||
int rays = 1;
|
int rays = 1;
|
||||||
@@ -1535,6 +1542,7 @@ public class Blocks implements ContentList{
|
|||||||
range = 290f;
|
range = 290f;
|
||||||
|
|
||||||
health = 130 * size * size;
|
health = 130 * size * size;
|
||||||
|
shootSound = Sounds.artillery;
|
||||||
}};
|
}};
|
||||||
|
|
||||||
cyclone = new ItemTurret("cyclone"){{
|
cyclone = new ItemTurret("cyclone"){{
|
||||||
|
|||||||
4
core/src/io/anuke/mindustry/game/SoundLoop.java
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
package io.anuke.mindustry.game;
|
||||||
|
|
||||||
|
public class SoundLoop{
|
||||||
|
}
|
||||||
@@ -19,7 +19,7 @@ import static io.anuke.mindustry.Vars.*;
|
|||||||
|
|
||||||
public class DesktopPlatform extends Platform{
|
public class DesktopPlatform extends Platform{
|
||||||
static boolean useDiscord = OS.is64Bit;
|
static boolean useDiscord = OS.is64Bit;
|
||||||
final static String applicationId = "398246104468291591";
|
final static String applicationId = "610508934456934412";
|
||||||
String[] args;
|
String[] args;
|
||||||
|
|
||||||
public DesktopPlatform(String[] args){
|
public DesktopPlatform(String[] args){
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import static io.anuke.mindustry.Vars.*;
|
|||||||
|
|
||||||
public class DesktopPlatform extends Platform{
|
public class DesktopPlatform extends Platform{
|
||||||
static boolean useDiscord = OS.is64Bit;
|
static boolean useDiscord = OS.is64Bit;
|
||||||
final static String applicationId = "398246104468291591";
|
final static String applicationId = "610508934456934412";
|
||||||
String[] args;
|
String[] args;
|
||||||
|
|
||||||
public DesktopPlatform(String[] args){
|
public DesktopPlatform(String[] args){
|
||||||
|
|||||||