Giter Club home page Giter Club logo

ncjump's Introduction

Linux macOS Windows MinGW Emscripten Android CodeQL

ncJump

ncJump is a project started on December 2020 with the purpose of learning and testing the capabilities of a new engine: nCine, an open-source C++ framework for 2D games developed by @encelo.

Some time ago, a bunch of members of the GameLoop community followed CS50's introduction to game development, and I though the sequence of games presented in that course could give me a good insight on what kind of game to create.

A couple of developers already made or started to make the first few games listed by that course. There is a Pong clone made by @encelo, a Flappy Bird clone made by @Vasile-Peste, and a Breakout clone under development by @mat3. I opted for a Super Mario Bros clone.

The idea is to follow the steps of CS50's lecture 4 by using nCine instead of Love2D.

Getting started

Some steps are required in order to ncJump-start, but luckily everything you need to know is documented on the nCine download web-page:

  1. Install nCine and keep note of its build directory.
    NCINE_BUILD_DIR=<you/know>
  2. Clone this repository.
    git clone https://github.com/Fahien/ncJump.git && cd ncJump
  3. Initialize the data submodule
    git submodule update --init
  4. Generate the project.
    cmake -GNinja -S. -Bbuild \
        -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
        -DCMAKE_BUILD_TYPE=Debug \
        -DnCine_DIR=$NCINE_BUILD_DIR
    cmake --build build
  5. Start ncJumping!
    build/ncjump

Demo

Every push to the master branch triggers Emscripten deployment to this demo web-page. Please, open an issue if you find any bug!

Random screenshot

Devlogs

A bunch of devlogs are published periodically in a GitHub discussion within the nCine project, and I highly recommend reading them to get an insight of the development history of the project together with the overall architectural design.

  1. Writing down some code
  2. Everything is entity
  3. The smooth and the file
  4. Jump and resize
  5. Dynamics and destructibles
  6. Push and pull
  7. Enemies, factories, commands, and scripts
  8. Dying and deploying

License

The source code is licensed under the MIT License.

ncjump's People

Contributors

encelo avatar fahien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.