Redid collision system -> No more tool-glitches
This commit is contained in:
@ -24,7 +24,12 @@ public class PowerMushroom extends Tool {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Geometry createCollisionBounds() {
|
||||
protected Geometry createWorldCollisionBounds() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Geometry createPlayerCollisionBounds() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_below="@+id/startscreen_play"
|
||||
android:text="@string/start_screen_unlock_all_levels"
|
||||
android:visibility="invisible"/>
|
||||
android:visibility="visible"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/startscreen_gain_90_ep"
|
||||
@ -45,7 +45,7 @@
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_below="@+id/startscreen_play"
|
||||
android:text="@string/start_screen_gain_90_ep"
|
||||
android:visibility="invisible"/>
|
||||
android:visibility="visible"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/startscreen_to_gl_test_screen"
|
||||
@ -55,6 +55,6 @@
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:text="@string/start_screen_to_gl_test_screen"
|
||||
android:visibility="invisible"/>
|
||||
android:visibility="visible"/>
|
||||
|
||||
</RelativeLayout>
|
Reference in New Issue
Block a user