Giter Site home page Giter Site logo

gamea's Introduction

GameA

Game Icon Sprite Image Sprite Image Large Game Preview Animation

TODO (in descending order of wishlist priority):

  • README project information and details
  • wall and ceiling collision
  • add hurtbox to player
  • monster class
  • follows player
  • has health points
  • handle hurtbox interaction with monster class, observer class
  • add shooting mechanism (add new controls to KeyHandler) with hitbox
  • world screens to implement world traversal
  • portals, add portal usability to KeyHandler
  • platform data location
  • implement proper player-platform collision
  • refactor Game, KeyHandler, Player class into singleton

gamea's People

Contributors

nixonk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ududsha

gamea's Issues

Revamp FPS handling

  • should instead stay at 30fps
  • physics should be frame-independent; physics on time step and update movement when time for a frame

Platform data location

  • implement player-platform collision with platform data stored as coordinates of the platform

Cross-platform support

  • CMake setup files are only configured for windows currently
  • consider Mac OS X and Linux, need testing

C++ style check

  • there are conflicting styles in many parts of the code
    • spaces, placement of curly braces...

Fix conversion warnings

\src\game.cpp(93): warning C4244: '-=': conversion from 'float' to 'Uint32', possible loss of data
\src\game.cpp(98): warning C4244: 'argument': conversion from 'float' to 'Uint32', possible loss of data
  • would be amazing to continue and follow with zero warnings

System error

"... program can't start because MSVCP140.dll is missing ..."
This error appears when running the release without Visual C++ Redistributable for Visual Studio 2015.

Documentation for setup

  • like issue #12, documentation about how to setup a development environment is needed
    • it is not intuitive currently the libraries needed to compile; also the software needed
      • need SDL2 and SDLImage libraries (also need to specify which -dynamic or static ... dev version) , also need CMake
      • need instructions or a more verbose build.bat to include debug, x86, options

Controls display

  • consider displaying wasd and spacebar controls to indicate usage
    • possibly highlight when in use

Add build options

  • debug related:
    • consider RELWITHDEBINFO CMake build type
    • consider CMAKE_CXX_FLAGS; -Wall (related to #11)
  • consider build options:
    • release/debug options for the build script
    • /MT /MTd options for visual studio runtime libraries
    • TODO: research, whether /MT is probably best as default so visual studio runtime libraries are not required to run the binary

Monster class

  • common movement function, take in coordinates
  • health, sprite sheet,

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.