GithubHelp home page GithubHelp logo

dolanan_sfml's Introduction

Dolanan_SFML

Is a library to help you creating game easily. This is c++ version of original Dolanan Monogame.

Authors

  • Damar Inderajati -- Newbie developer
  • Nanang Arsyad -- Suhu and Mentor

dolanan_sfml's People

Contributors

damarindra avatar nanangarsyad avatar

Stargazers

Haris Praba Aditya avatar

Watchers

James Cloos avatar  avatar

dolanan_sfml's Issues

Game Cycle

GameCycle is interface class, used for entity and component

  • Initialization called at the beginning of the constructor (I don't know if this is needed? how c++ handle constructor?)
  • Start called when this object enters to the world
  • Update called each frame, fps bassed
  • FixedUpdate called at constants time, the best use case for physics, input (for an online game)
  • LateUpdate called after Update, the best use case for Camera movement
  • Input called when input event update is occurred, we need to separate this since it will be nice and clean

So, my idea is quite similar to Dolanan monogame

  • World is the whole game, world contains all layers and cycling it main process
  • Layer is like a layer in a graphics application, you can Load and unload whenever you need. Layer is like a stage. Layer hold the Entity
  • Actor is a game object/actor in other mainstream engines.
  • Component is a part of entity that gives entity a feature, like collision, renderer, tilemap, etc

Entity and Component

Entity

Entity is a GameObject / Actor in some mainstream game engines.

Component

Component is a part of entity, it will give entity some feature such as sprite, collider, etc

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.