Git Product home page Git Product logo

smarttalesii's People

Contributors

tijmenuu avatar

Watchers

 avatar  avatar

smarttalesii's Issues

Use the Wiki

Currently the Readme is kind of overloaded with information. Use separate pages with the Wiki function of Github to better organise the information.

Update README

Update the readme with a description of the available branches and their purposes.

Make the game resolution independent

Currently the logic assumes a resolution of 1280x720 all over the place. Make it so that it no longer relies on this, in the event the game can't be run at the requested resolution.

Easy fix: hardcore the default view to 1280x720. Keeps all the hardcoded values, but allows for dynamic changes of resolution.
Harder fix: make the game's logic resolution independent.

Refactor Obstacle source files

The Obstacles logic has branched enough to warrant a refactor. The obstacles with sensor upgrades in level need their own class, the door needs its own class and the phone needs its own class.

Evade all obstacles message in the running mode

Have a message overlayed on a timeout saying something along the lines: "Evade all obstacles by doing the required gesture/swipe!"

Implement as seperate mode which centers the desired text on screen and pops itself off the stack when its life expires (both string and lifetime should be configurable, perhaps through the constructor).

Rework definitions.hpp /.cpp

The naming of the files and namespaces no longer reflect the actual purpose of it. It currently concerns itself with the obstacles and game difficulty. This should be separated to make it more clear, then have a difficultydefinition.hpp/cpp fileset and obstacledefinition.hpp/cpp fileset.

Expand the obstacle definitions configuration file

Good additions would be:

  • Relative position where the neutralization hint should appear
  • Relative position where the score bubbles should spawn

Potential additions / up for consideration:

  • What happens on neutralization --> second texture file (e.g. open door)? fade out?
  • Associated difficulty value in order to make random spawning more "fair" (lower chance for difficult obstacles)

And anything else we can come up with.

Singleton resource class

One singleton class to store spritesheets, textures, fonts and audio. Right now the resources are being loaded multiple times whilst the memory footprint is small enough to warrant a simple singleton class holding all the resources.

Program.cpp would be responsible for instantiating the static variables.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.