Commit e00054ef authored by Matyáš Latner's avatar Matyáš Latner

#312 Nasazení nové grafiky pro šipku ukazující na aktuálně prováděnou akci

parent c595dd1b
obb/potme/gfx/control/actual.png

3.55 KB | W: | H:

obb/potme/gfx/control/actual.png

2.94 KB | W: | H:

obb/potme/gfx/control/actual.png
obb/potme/gfx/control/actual.png
obb/potme/gfx/control/actual.png
obb/potme/gfx/control/actual.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -85,7 +85,6 @@ public class ResourceManager {
public static final String CONTROL_START_UNPRESSED = ASSET_CONTROL + "start_button_unpressed.png";
public static final String CONTROL_START_DISABLED = ASSET_CONTROL + "start_button_disabled.png";
public static final String CONTROL_ACTUAL = ASSET_CONTROL + "actual.png";
public static final String CONTROL_SEPARATOR = ASSET_CONTROL + "separator.png";
public static final String CONTROL_KEY = ASSET_CONTROL + "key_icon.png";
private static final String ASSET_CREATURE = "creature/";
......@@ -207,7 +206,6 @@ public class ResourceManager {
loadTexture(engine, context, CONTROL_START_UNPRESSED);
loadTexture(engine, context, CONTROL_START_DISABLED);
loadTexture(engine, context, CONTROL_ACTUAL);
loadTexture(engine, context, CONTROL_SEPARATOR);
loadTexture(engine, context, CONTROL_KEY);
loadTiledTexture(engine, context, CREATURE_PLAYER_WALK_TILED, 4, 2);
......
......@@ -249,15 +249,9 @@ public class ActionsStripWidget extends Entity implements ActionListener {
ACTION_OFFSET + getCurrentActionOffset(0),
ResourceManager.getInstance().getTexture(ResourceManager.CONTROL_ACTUAL),
vertexBufferObjectManager);
Sprite separator = new Sprite(width / 8,
ACTION_OFFSET + (ACTION_OFFSET / 2) + getCurrentActionOffset(0) + PotmeActivity.ACTION_SIZE_BIGGER / 2,
ResourceManager.getInstance().getTexture(ResourceManager.CONTROL_SEPARATOR),
vertexBufferObjectManager);
separator.setWidth(width * 0.7f);
overlay = new Entity();
overlay.attachChild(actualPointer);
overlay.attachChild(separator);
attachChild(overlay);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment