diff --git a/.travis.yml b/.travis.yml index cda2753c11..7a5cfe6162 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,10 @@ language: node_js node_js: -- 'node' + - "10" cache: directories: - node_modules -before_install: -- chmod a+x ./install.sh -- chmod a+x ./testDebug.sh install: -- ./install.sh -before_script: - - npm install -g gulp-cli +- npm install script: -- gulp build -- ./testDebug.sh \ No newline at end of file +- npm test diff --git a/README.md b/README.md index 9ddcd740fd..1dc627344d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -[![Build Status](https://travis-ci.org/Ishadijcks/pokeclicker.svg?branch=develop)](https://travis-ci.org/Ishadijcks/pokeclicker) +[![Build Status](https://img.shields.io/travis/pokeclicker/pokeclicker?logo=travis)](https://travis-ci.org/pokeclicker/pokeclicker) + # PokéClicker A game about catching Pokémon, defeating gym leaders, and watching numbers get bigger. @@ -20,17 +21,30 @@ All file and class names should be [upper CamelCase](https://en.wikipedia.org/wi First make sure you have git and npm available as command-line utilities (so you should install Git and NodeJS if you don't have them already). Open a command line interface in the directory that contains this README file, and use the following command to install PokéClicker's other dependencies locally: -- npm install +```cmd +npm install +``` Then finally, run the following command in the command line interface to start a browser running PokéClicker. -- npm start +```cmd +npm start +``` Changes to the sourcecode will automatically cause the browser to refresh. This means you don't need to compile TypeScript yourself. Gulp will do this for you :thumbsup: +## Use Google cloud shell _(alternative)_ +[![Google Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/pokeclicker-dev/pokeclicker&git_branch=develop&page=editor&open_in_editor=README.md) +```cmd +npm install +npm start +``` + ## Deploying a new version to Github Pages Before deploying, check that the game compiles and starts up without errors. Then run: -- npm run website +```cmd +npm run website +``` After this command completes, push the changed files in the 'docs' directory to Github. diff --git a/src/assets/images/gymLeaders/bruno2.png b/src/assets/images/gymLeaders/Bruno2.png similarity index 100% rename from src/assets/images/gymLeaders/bruno2.png rename to src/assets/images/gymLeaders/Bruno2.png diff --git a/src/assets/images/gymLeaders/karen.png b/src/assets/images/gymLeaders/Karen.png similarity index 100% rename from src/assets/images/gymLeaders/karen.png rename to src/assets/images/gymLeaders/Karen.png diff --git a/src/assets/images/gymLeaders/koga2.png b/src/assets/images/gymLeaders/Koga2.png similarity index 100% rename from src/assets/images/gymLeaders/koga2.png rename to src/assets/images/gymLeaders/Koga2.png diff --git a/src/assets/images/gymLeaders/lance2.png b/src/assets/images/gymLeaders/Lance2.png similarity index 100% rename from src/assets/images/gymLeaders/lance2.png rename to src/assets/images/gymLeaders/Lance2.png diff --git a/src/assets/images/gymLeaders/will.png b/src/assets/images/gymLeaders/Will.png similarity index 100% rename from src/assets/images/gymLeaders/will.png rename to src/assets/images/gymLeaders/Will.png diff --git a/src/changelog.html b/src/changelog.html deleted file mode 100644 index 628007ad6e..0000000000 --- a/src/changelog.html +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/components/KantoSVG.html b/src/components/KantoSVG.html index 09b505e81b..f6ed55abc6 100644 --- a/src/components/KantoSVG.html +++ b/src/components/KantoSVG.html @@ -507,5 +507,5 @@ fill="url(#mx-gradient-dae8fc-1-7ea6e0-1-s-0)" height="12.6" stroke="#6c8ebf" width="12.6" x="325" y="240" data-bind="click:function(){MapHelper.openShipModal()}, - css:{ unlockedTown: player.highestRegion >= 1}"> + css:{ unlockedTown: player.highestRegion() >= 1}"> diff --git a/src/components/battleItemContainer.html b/src/components/battleItemContainer.html new file mode 100644 index 0000000000..9ad637f684 --- /dev/null +++ b/src/components/battleItemContainer.html @@ -0,0 +1,40 @@ +
+ |
+ + + | +
|
+
- This is the Pokémon Day Care Center. You can trade your
- level 100 pokémon for an egg of the same pokémon.
- Hatched pokémon have a higher chance of becoming shiny!
+ This is the Pokémon Day Care Center.
+ You can trade your level 100 pokémon for an egg of the same pokémon.
+ Hatched pokémon will increase their attack and have a higher chance of becoming shiny!
Pick an egg below to breed: @@ -33,34 +33,32 @@
- Pick a pokémon below to breed them: -
-+ +
Unfortunately, you don't have any pokémon of level 100
+ ++ Pick a pokémon below to breed them: +
+- Unfortunately, you don't have any free eggslots -
-+ Unfortunately, you don't have any free eggslots +