Convert audio files to ogg
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="io.anuke.mindustry"
|
package="io.anuke.mindustry"
|
||||||
android:versionCode="39"
|
android:versionCode="41"
|
||||||
android:versionName="3.2b" >
|
android:versionName="3.2b" >
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="26" />
|
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="26" />
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -90,14 +90,14 @@ public class Control extends Module{
|
|||||||
|
|
||||||
Core.atlas = new Atlas("sprites.atlas");
|
Core.atlas = new Atlas("sprites.atlas");
|
||||||
|
|
||||||
Sounds.load("shoot.wav", "place.wav", "explosion.wav", "enemyshoot.wav",
|
Sounds.load("shoot.ogg", "place.ogg", "explosion.ogg", "enemyshoot.ogg",
|
||||||
"corexplode.wav", "break.wav", "spawn.wav", "flame.wav", "die.wav",
|
"corexplode.ogg", "break.ogg", "spawn.ogg", "flame.ogg", "die.ogg",
|
||||||
"respawn.wav", "purchase.wav", "flame2.wav", "bigshot.wav", "laser.wav", "lasershot.wav",
|
"respawn.ogg", "purchase.ogg", "flame2.ogg", "bigshot.ogg", "laser.ogg", "lasershot.ogg",
|
||||||
"ping.wav", "tesla.wav", "waveend.wav", "railgun.wav", "blast.wav", "bang2.wav");
|
"ping.ogg", "tesla.ogg", "waveend.ogg", "railgun.ogg", "blast.ogg", "bang2.ogg");
|
||||||
|
|
||||||
Sounds.setFalloff(9000f);
|
Sounds.setFalloff(9000f);
|
||||||
|
|
||||||
Musics.load("1.mp3", "2.mp3", "3.mp3", "4.mp3");
|
Musics.load("1.ogg", "2.ogg", "3.ogg", "4.ogg");
|
||||||
|
|
||||||
KeyBinds.defaults(
|
KeyBinds.defaults(
|
||||||
"up", Keys.W,
|
"up", Keys.W,
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ public class MapEditor{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void beginEdit(Map map){
|
public void beginEdit(Map map){
|
||||||
|
drawBlock = Blocks.stone;
|
||||||
this.map = map;
|
this.map = map;
|
||||||
this.brushSize = 1;
|
this.brushSize = 1;
|
||||||
if(map.pixmap == null){
|
if(map.pixmap == null){
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ public class MapEditorDialog extends Dialog{
|
|||||||
shown(() -> {
|
shown(() -> {
|
||||||
saved = true;
|
saved = true;
|
||||||
editor.beginEdit(new Map());
|
editor.beginEdit(new Map());
|
||||||
|
blockgroup.getButtons().get(2).setChecked(true);
|
||||||
Core.scene.setScrollFocus(view);
|
Core.scene.setScrollFocus(view);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package io.anuke.mindustry.mapeditor;
|
package io.anuke.mindustry.mapeditor;
|
||||||
|
|
||||||
|
import io.anuke.mindustry.Mindustry;
|
||||||
import io.anuke.mindustry.Vars;
|
import io.anuke.mindustry.Vars;
|
||||||
import io.anuke.mindustry.ui.FloatingDialog;
|
import io.anuke.mindustry.ui.FloatingDialog;
|
||||||
import io.anuke.mindustry.world.Map;
|
import io.anuke.mindustry.world.Map;
|
||||||
@@ -14,6 +15,8 @@ public class MapSaveDialog extends FloatingDialog{
|
|||||||
super("Save Map");
|
super("Save Map");
|
||||||
field = new TextField();
|
field = new TextField();
|
||||||
|
|
||||||
|
Mindustry.platforms.addDialog(field);
|
||||||
|
|
||||||
shown(() -> {
|
shown(() -> {
|
||||||
content().clear();
|
content().clear();
|
||||||
content().label(() ->{
|
content().label(() ->{
|
||||||
|
|||||||
Reference in New Issue
Block a user