Skip to content

Commit

Permalink
inaccuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
uujuju1 committed May 6, 2022
1 parent f16a40a commit d15b843
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions assets/bundles/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ block.oblivion-infestromeni-factory.name = Infestromeni Factory
block.oblivion-infestromeni-factory.description = The Factory that produces the unit Pioli.
block.oblivion-infestromeni-factory.details = I'm... dying...
block.oblivion-functive-factory.name = Functive Factory
block.oblivion-functive-factory.description = The factory that produces the unit Phi.
block.oblivion-functive-factory.details = The thing is so heavy that it needs 2 engines to fly.
block.oblivion-mandlebrot-reconstructor.name = Mandlebrot Reconstructor
block.oblivion-mandlebrot-reconstructor.description = The game lied.
block.oblivion-mandlebrot-reconstructor.details = That shouldnt be possible, how this thing can fly.
Expand Down
4 changes: 4 additions & 0 deletions assets/bundles/bundle_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ block.oblivion-infestromeni-factory.name = Fábrica Infestromeni
block.oblivion-infestromeni-factory.description = A fábrica que produz a unidade Pioli.
block.oblivion-infestromeni-factory.details = Estou... morrendo...

block.oblivion-functive-factory.name = Fábrica Functiva
block.oblivion-functive-factory.description = A fábrica que produz a unidade Phi.
block.oblivion-functive-factory.details = O bixo e tão pesado que pra voar ele precisa de 2 motores.

block.oblivion-mandlebrot-reconstructor.name = Reconstrutor Mandlebrot
block.oblivion-mandlebrot-reconstructor.description = O jogo mentiu.
block.oblivion-mandlebrot-reconstructor.details = Isso não deveria ser possível, como essa coisa pode voar.
Expand Down
3 changes: 2 additions & 1 deletion src/oblivion/content/OblivionBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,8 @@ OblivionResources.calenmite, new BasicBulletType(2f, 35) {{
reloadTime = 85f;
range = 30f * 8f;
shots = 3;
velocityInaccuracy = 1f;
inaccuracy = 3f;
velocityInaccuracy = 0.9f;
rotateSpeed = 4.5f;
ammo(
OblivionResources.calenmite, new BasicBulletType(2.5f, 35) {{
Expand Down
2 changes: 1 addition & 1 deletion src/oblivion/content/OblivionUnits.java
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ public void load() {
maxRange = range;
weapons.add(
new Weapon("oblivion-pow-weapon") {{
x = 25f;
x = 24.25f;
y = 0f;
reload = 10f;
shake = 5f;
Expand Down
4 changes: 2 additions & 2 deletions src/oblivion/graphics/DrawEx.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public static void circleEngine(Unit unit, float x, float y, float size) {
float dx = unit.x + Angles.trnsx(unit.rotation - 90, x, y);
float dy = unit.y + Angles.trnsy(unit.rotation - 90, x, y);
Draw.color(unit.team.color);
Fill.circle(dx, dy, size + Mathf.absin(Time.time, 2, size / 4) * unit.elevation);
Fill.circle(dx, dy, (size + Mathf.absin(Time.time, 2, size / 4)) * unit.elevation);
Draw.color();
Fill.circle(dx, dy, size + Mathf.absin(Time.time, 2, size / 4) * unit.elevation / 2);
Fill.circle(dx, dy, ((size + Mathf.absin(Time.time, 2, size / 4)) * unit.elevation) / 2);
}
public static void triangleEngine(Unit unit, float x, float y, float width, float length, float rotation) {
float dx = unit.x + Angles.trnsx(unit.rotation - 90, x, y);
Expand Down

0 comments on commit d15b843

Please sign in to comment.