World Conquest Chronicles

World Conquest Chronicles

Tangled Stones, v1.1

2D puzzle game for Android inspired by various games about tangled webs.

Destroy stones below a bottom limit of a game field frame.

Change Log

  • initialization:
    • creating a game field frame:
      • splitting a bottom border for destroying stones;
  • operations:
    • moving stones via drag control:
      • destroying stones below a bottom limit.

Features

  • physics entities:
    • static:
      • game field frame;
    • dynamic:
      • stones;
      • joins:
        • joins between stone pairs:
          • rope joint (it restricts a maximal distance only);
        • join for drag control:
          • mouse joint (it moves a stone to a cursor);
          • support of touches;
  • initialization:
    • creating a game field frame:
      • based on a window size;
      • splitting a bottom border for destroying stones;
    • creating a stone grid:
      • based on a window size;
    • creating joins between stone pairs:
      • automatically when creating stones;
      • random shuffling of joins;
  • drawing:
    • drawing physics entities:
      • drawing join edges;
  • operations:
    • moving stones via drag control:
      • selecting a stone closest to a cursor;
      • freezing all stones except dragged ones;
      • destroying stones below a bottom limit.

Repository

Link: https://github.com/thewizardplusplus/tangled-stones/tree/v1.1.

Content: code.

License: MIT.