nickiannone / breakout Goto Github PK
View Code? Open in Web Editor NEWA simple Breakout clone in Unity.
A simple Breakout clone in Unity.
When the ball is locked to the paddle (ie. after losing a life), if the paddle is moved to the far left or right, the ball will continue moving in that direction until it hits the wall. The ball should stay centered on the paddle at all times when locked to the paddle.
Right now, the Brick graphic tends to overlap other contiguous bricks by a single row or column of pixels, and this results in the border between bricks changing colors at random when a brick is destroyed. This should be fixed either graphically or by changing the size and positioning of the bricks.
When Thru-Ball is active, the ball will "stutter" when passing through bricks. This needs to be a smooth transition; this should probably be done by converting the box colliders on the bricks into triggers, and having the trigger event handler do the same thing as the collision event handler. Right now, the code in place for Thru-Ball is a hack which simply rewrites the position and velocity of the ball on the FixedUpdate following a collision with a brick with their values at the time of the collision; this is not intended to be an optimal solution.
If the player catches the ball between the right or left edge of the paddle and the wall, it can push the ball out of bounds. Obviously this shouldn't be possible.
As of right now, there is nothing on the screen to indicate that pressing Spacebar will fire the ball when it is locked to the paddle, and there is nothing to indicate that Spacebar will return the player to the Options Menu when the game has ended. Also, there is nothing to indicate that pressing Escape on the Options Menu will exit the game. Add these visual indicators.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.