-
Notifications
You must be signed in to change notification settings - Fork 1
Revert "remove gamedev" #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
davepagurek
wants to merge
2
commits into
master
Choose a base branch
from
gamedev2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # Game Dev | ||
|
|
||
| ## What you'll make | ||
| <img src="screenshots/endproduct.gif" /> | ||
|
|
||
| Playable demo: http://codepen.io/davepvm/full/PNOyrW/ | ||
|
|
||
| ## Setup | ||
|
|
||
| We're going to use **Codepen** to make our game. Codepen is an online code editor and community for web development technologies, which Javascript is a part of. | ||
|
|
||
| To be able to save and share your code, go to https://codepen.io/signup, scroll down to **Free Plan**, and sign up. | ||
|
|
||
| Then, come back to this page, and go to http://codepen.io/pen?template=ONJQya&editors=0010 to set up a new project with p5.js and p5.play.js added already. Additionally, there is a small amount of CSS included for you to change the page background colour. | ||
|
|
||
| You likely want to add a "run" button to Codepen so you don't have to reload the page each time or wait for it to automatically rerun your changed code. Click "Settings" in the top-right, go to the Behavior tab and uncheck "auto update preview" to get a run button. | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No longer necessary, take this out |
||
|
|
||
| <img src="screenshots/run-button.png" /> | ||
|
|
||
| ## Vocabulary | ||
| - **sprite**: a graphic that we can move around the screen as a single entity | ||
| - **canvas**: the region on the screen that we can draw graphics on | ||
| - **vector**: same as in math or physics! An angle and a magnitude | ||
|
|
||
| ## Instructions | ||
| 1. <a href="part1.md">Drawing on the screen and Interactivity</a> | ||
| 2. <a href="part2.md">Gravity and collision detection</a> | ||
| 3. <a href="part3.md">Different kinds of blocks using Inheritance</a> | ||
| 4. <a href="part4.md">Adding points and lives</a> | ||
| 5. <a href="part5.md">Scrolling the camera</a> | ||
|
|
||
| ## Next Steps | ||
| - <a href="animations.md">Change/animate the character sprite for different states</a> | ||
| - <a href="levels.md">Make multiple levels</a> | ||
| - <a href="enemies.md">Make simple enemies and make the character shoot</a> | ||
| - <a href="bosses.md">Add powerups</a> | ||
| - <a href="menus.md">Make a title screen, menu, and save progress</a> | ||
| - <a href="sound.md">Add sound</a> | ||
|
|
||
| ## Extend it further | ||
| - Change how the game physics works as a core game mechanic. Instead of jumping, maybe the direction of gravity changes? | ||
| - Instead of manually making levels, make a game that generates random landscapes for you to explore | ||
| - Add a second character controlled by WASD | ||
| - Make levels that can only be passed by cooperating. Maybe one character needs to stand on a button to hold a door open for the other? | ||
| - Make a game where characters play against each other. Maybe each character has a flag at each end of the screen and the goal is to reach the other flag and bring it back to your own before the other player does? | ||
| - Add variable skill levels to your character where you can choose to spend points on upgrading different parts for different abilities | ||
| - Come up with an interesting story and non-playable characters to the game who you can talk to or interact with | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need to mention the CSS