Skip to content
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

Release v1.0 #6

Merged
merged 9 commits into from
Nov 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Title: Release tracker

Body:
TL;DR: This branch includes planned version updates for our initial game launch.

Planned 🚢 date: TBD

Features:
- [ ]

Bug fixes:
-
4 changes: 4 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
template: |
## What's Changed
$CHANGES
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@
Alien Invasion
==============
This is the sample game that is built in the first three Chapter of
mobile HTML5 Game Development.

It is released under both the GPL and MIT license to do with what you will.

Playable Version:
http://cykod.github.com/AlienInvasion/

Bit.ly link for mobile:
http://bit.ly/html5-invasion


If you make an interesting fork or enhancement of the game, let me know and it'll get
linked to here. This original repo will stay matching the code in the book.

For more [HTML5 Game Development](http://www.html5gamedevelopment.org) resources, see:

* [HTML5 Game Demos](http://www.html5gamedevelopment.org/html5-demos)
* [HTML5 GameDev Tutorials](http://www.html5gamedevelopment.org/html5-game-tutorials)
* [HTML5 Game Development News](http://www.html5gamedevelopment.org/html5-news)
* [HTML5 Game Engines](http://www.html5gamedevelopment.org/html5-engines)



[page](https://lthon-x.github.io)
4 changes: 2 additions & 2 deletions engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ var TitleScreen = function TitleScreen(title,subtitle,callback) {
};

this.draw = function(ctx) {
ctx.fillStyle = "#FFFFFF";
ctx.fillStyle = "#00FF00";

ctx.font = "bold 40px bangers";
var measure = ctx.measureText(title);
Expand Down Expand Up @@ -437,7 +437,7 @@ var GamePoints = function() {
this.draw = function(ctx) {
ctx.save();
ctx.font = "bold 18px arial";
ctx.fillStyle= "#FFFFFF";
ctx.fillStyle= "#00FF00";

var txt = "" + Game.points;
var i = pointsLength - txt.length, zeros = "";
Expand Down
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var Starfield = function(speed,opacity,numStars,clear) {
// If the clear option is set,
// make the background black instead of transparent
if(clear) {
starCtx.fillStyle = "#000";
starCtx.fillStyle = "#0F0";
starCtx.fillRect(0,0,stars.width,stars.height);
}

Expand Down