Added FPS cap setting / Bugfixes

This commit is contained in:
Anuken
2018-07-23 11:09:51 -04:00
parent 01300b97e2
commit ecf9a3cbc9
8 changed files with 38 additions and 14 deletions

View File

@@ -76,12 +76,12 @@ public class TurretBullets extends BulletList implements ContentList{
}
};
basicFlame = new BulletType(2f, 5){
basicFlame = new BulletType(2.3f, 5){
{
hitsize = 7f;
lifetime = 30f;
lifetime = 35f;
pierce = true;
drag = 0.07f;
drag = 0.05f;
hiteffect = BulletFx.hitFlameSmall;
despawneffect = Fx.none;
status = StatusEffects.burning;

View File

@@ -75,7 +75,7 @@ public class ShootFx extends FxList implements ContentList{
shootSmallFlame = new Effect(30f, e -> {
Draw.color(Palette.lightFlame, Palette.darkFlame, Color.GRAY, e.fin());
Angles.randLenVectors(e.id, 8, e.finpow() * 26f, e.rotation, 10f, (x, y) -> {
Angles.randLenVectors(e.id, 8, e.finpow() * 36f, e.rotation, 10f, (x, y) -> {
Fill.circle(e.x + x, e.y + y, 0.65f + e.fout() * 1.5f);
});