pawap90 / space-commit Goto Github PK
View Code? Open in Web Editor NEWThe game where contributors become literal heroes! ๐ Winner of the GitHub Actions Hackathon 2021
Home Page: https://pawap90.github.io/space-commit/
License: MIT License
The game where contributors become literal heroes! ๐ Winner of the GitHub Actions Hackathon 2021
Home Page: https://pawap90.github.io/space-commit/
License: MIT License
The current size of the hitbox makes it easy to lose by hitting an enemy even when it doesn't look like you are colliding with it, which is frustrating.
It can be resized in the AstronautCharacter
class by using this.body.setSize()
and this.body.offset.x
.
Currently, once the player is in the middle of a jump it's impossible to go down faster.
Improve the astronaut controller (the update method within the AstronautCharacter
class) so when the player presses down ("s") the astronaut descends faster to earth.
The sky and floor should be constantly scrolling left at different speeds, generating a parallax effect.
The player should be able to control the character using "a" to go left and "d" to go right. The player should also be able to use the "space" key to jump, but it should feel like the gravity is low.
The character shouldn't be able to "fall out" of the scene, but colliding with the floor or (invisible) walls shouldn't hurt.
Pause the game when the player presses "Enter" during the GameScene execution.
The logic and strategy implemented for the "Game over" #10 feature should provide some guidance on this and possibly code to reuse.
Enemies should spawn and start scrolling left (at the same speed as the floor).
They will spawn at different heights:
Add a new Scene called ControlsScene
that displays a list of the keys used to play the game:
The player should be able to navigate to this new scene from the MainMenuScene
by pressing "C"
The MC will gather collectibles that represent how much the player explored. Grabbing a collectible will grant the player points.
I'm not sure about the collectible design yet, but it should be something that represents knowledge or information. But also, it should be something from nature. Not a book or a scroll. Maybe an atom or a plant?
Show player points on the top right corner of the scene
Use a UI scene
Allow the player to jump once more by pressing space again before hitting the ground
Create the main enemy sprite sheet.
The enemy will be a round, spiked, black creature, the size of the MC's head.
It could have eyes, but they need to look evil.
No animation required yet.
It can appear either in the floor or floating at different heights in the screen. The MC will take damage from touching it.
Instructions on how to contribute and what does it take for your PR to be merged
Reuse the relevant sections of the template's readme, but also add information on the current project.
Information about how to contribute should be on the CONTRIBUTE.md file
Currently, after building the project, the resulting website is a white page with the canvas generated by phaser and nothing else.
The website should include the same canvas centered, the title of the game and some links with a nice, minimalistic design
Design the background: Sky and ground, maybe some mountains?
The ground should be rocky
The sky could have clouds, planets, and stars.
It should all be separated into at least 3 layers to create a parallax scrolling effect once added to the game.
Turn A to Left arrow
Turn D to Right Arrow
And allow jump by both Up Arrow Key and Space as it would ease the game more and make it more interesting
When the player collides with the enemy it should trigger the "game over" menu.
The menu should allow the player to go back to the main menu so the player can restart the game.
Improvement to the ControllerKeys
class to allow the player to use both WASD and Arrow keys to controller the astronaut.
Increase the game speed with time so it slowly becomes more difficult
The contributor's GitHub avatar should be visible behind the astronaut's helmet and follow him so it becomes a part of the MC.
To achieve that use a mask and copy the position of the astronaut on every update.
As it is not a generic font people have on their system installed. It will be best to include.
Design the UI for the game.
Add random factor to enemy spawner frequency and Y position:
They should spawn at different heights:
The main menu could be the same background for the game with a message in the middle: "Press Enter to start"
It should include the avatar and commit/PR message of the last contributor in some sort of communication device's screen.
The game could use some background music.
Please make your suggestions in the comments!
Add sound effects to the following events:
Not a big thing but 'forward' and 'backward' makes more sense.
The main menu scene should allow the player to start the game by pressing "Enter"
In addition, it should display the avatar, username, and message from the last collaborator.
Design the character and create the sprite sheet: The character will be an astronaut flying using a jetpack
The character's jetpack should have a particle emitter that creates the effect it expelling some sort of energy that keeps the character floating.
The MC sprite turned out bigger than intended.
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.