update!
This commit is contained in:
parent
efbe1a64ac
commit
d8981f6d51
3 changed files with 5 additions and 4 deletions
|
@ -50,7 +50,7 @@
|
|||
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
|
||||
<BundleAssemblies>false</BundleAssemblies>
|
||||
<MandroidI18n />
|
||||
<AndroidPackageFormat>apk</AndroidPackageFormat>
|
||||
<AndroidPackageFormat>aab</AndroidPackageFormat>
|
||||
<AndroidUseAapt2>true</AndroidUseAapt2>
|
||||
<AndroidCreatePackagePerAbi>false</AndroidCreatePackagePerAbi>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="de.ellpeck.touchytickets" android:installLocation="auto"
|
||||
android:versionCode="100" android:versionName="1.0.0">
|
||||
android:versionCode="101" android:versionName="1.0.1">
|
||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28"/>
|
||||
<application android:label="Touchy Tickets" android:resizeableActivity="true"/>
|
||||
<permission android:name="ACCESS_NETWORK_STATE"/>
|
||||
|
|
|
@ -50,8 +50,9 @@ namespace TouchyTickets.Attractions {
|
|||
var drawScale = scale;
|
||||
if (this.animationSizeModifier > 0)
|
||||
drawScale += (float) Math.Sin(this.animationSizeModifier) * 0.05F;
|
||||
var center = this.Type.TextureRegion.Size.ToVector2() / 2;
|
||||
batch.Draw(Assets.AttractionTexture[this.Type.TextureRegion], position + center * scale, Color.White * alpha, 0, center, drawScale, SpriteEffects.None, 0);
|
||||
var tex = Assets.AttractionTexture[this.Type.TextureRegion];
|
||||
var center = tex.Size.ToVector2() / 2;
|
||||
batch.Draw(tex, position + center * scale, Color.White * alpha, 0, center, drawScale, SpriteEffects.None, 0);
|
||||
}
|
||||
|
||||
public float GetGenerationRate(ParkMap map, Point position) {
|
||||
|
|
Loading…
Reference in a new issue