Coder Social home page Coder Social logo

blockz's People

Contributors

trashed avatar

Watchers

 avatar  avatar

Forkers

gremilkar

blockz's Issues

Game Ball

This should be quite self-explanatory. Create a UDT for Game Ball, create a sprite for it and make it as dynamic physics object.

Game Blocks

Create 10 x 5 grid of player destructible blocks on the game area. Things to do:

  • Create a two-dimensional array for holding a UDT in each cell, representing a Block
  • Determine width and height based on current width and height of the device screen
  • Make these blocks as static objects so they won't fly around when the Game Ball hits them

Infinite game play

Update/modify current game loop to support infinite gameplay. This means:

  • When either one row of blocks or all the blocks have been destroyed, immediately create new ones -> game never ends until user 'dies'.
  • Increase the maximum health of blocks -> They take much more hits thus making the game last longer.

Paddle movement

Because the Paddle is a dynamic Box2D object, it acts dynamically whenever it collides with another physics object. Therefore the Paddle movement needs to be forced in a way that the Paddle can't move in y-axis or turn (forced in horizontal position).

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.