World Conquest Chronicles

World Conquest Chronicles

PWM Simulator, v1.0

2D puzzle game for Android inspired by pulse-width modulation and various side-scrolling games.

Major version. Implement the custom and custom source plots.

Change Log

  • plots:
    • they are initially initialized by the average value over the entire length;
    • custom plot:
      • it is updated with a custom shift from the last value:
        • custom shift can be positive (the plot grows);
        • custom shift can be negative (the plot shrinks);
      • it takes up half of the screen width;
    • custom source plot:
      • it is updated by either the minimal or maximal value;
      • it takes up half of the screen width.

Features

  • plots:
    • they display functions of time (as in an oscilloscope);
    • they are initially initialized by the average value over the entire length;
    • random plot:
      • it is updated with a random shift from the last value;
      • it takes up three-quarters of the screen width;
    • custom plot:
      • it is updated with a custom shift from the last value:
        • custom shift can be positive (the plot grows);
        • custom shift can be negative (the plot shrinks);
      • it takes up half of the screen width;
    • custom source plot:
      • it is updated by either the minimal or maximal value;
      • it takes up half of the screen width;
  • drawing:
    • drawing of plot boundaries;
    • drawing of plots.

Repository

Link: https://github.com/thewizardplusplus/pwm-simulator/tree/v1.0.

Content: code.

License: MIT.