Skip to content

Commit

Permalink
Merge pull request #2 from GrahamTheCoder/master
Browse files Browse the repository at this point in the history
Add custom level loading, pause, scoreboard and fix bugs
  • Loading branch information
ennorehling authored Feb 16, 2020
2 parents bb50008 + 2aefb29 commit 39bbbb8
Show file tree
Hide file tree
Showing 84 changed files with 2,127 additions and 1,685 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["env"]
}
25 changes: 25 additions & 0 deletions .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false

- name: Build
run: |
npm install
npm run-script build
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: game
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.vs/
game/scripts/
packages/
*/bower_components/
*/build/
*/node_modules/
game/jnb.html

*.zip
/node_modules/
/game/index.html
/game/jump-n-bump.js
62 changes: 0 additions & 62 deletions README

This file was deleted.

19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Jump n Bump ![Deploy to GitHub Pages](https://github.com/GrahamTheCoder/jump-n-bump/workflows/Deploy%20to%20GitHub%20Pages/badge.svg)

HTML5 port of the [open source](https://github.com/fschulze/jumpnbump) [DOS classic](https://icculus.org/jumpnbump/) by [Brainchild Design](http://www.bitbliss.com)

Play the game here: https://grahamthecoder.github.io/jump-n-bump/

![image](https://user-images.githubusercontent.com/2490482/74604912-8d1f4f80-50ba-11ea-8f66-f52eb0776077.png)

## About



## Development

1. First run: `npm install`
1. To rebuild `npm run build`
1. To rebuild whenever files change `npm run watch`
1. Open `game/index.html` in a browser to play

5 changes: 0 additions & 5 deletions TODO

This file was deleted.

3 changes: 3 additions & 0 deletions AUTHORS → game/from-original-authors/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,6 @@ Ricardo Cruz <[email protected]>

Enno Rehling <[email protected]>
Javascript + HTML5 port

Graham Helliwell <[email protected]>
Level loader, bug fixes and usability improvements in HTML
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
2 changes: 2 additions & 0 deletions game/levels/More levels.url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[InternetShortcut]
URL=http://www.brainchilddesign.com/games/jumpnbump/levels/levels10.html
Binary file added game/levels/caves/caves.dat
Binary file not shown.
12 changes: 12 additions & 0 deletions game/levels/caves/caves.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
The Caves by Tim Ellis
email: [email protected]

I made this level using
Microsoft Paintbrush
(yuck) and LVeiw 32.
There are a couple of
places where a single
rabbit can get stuck, but
two rabbits working
with/against each other
can get out. >=:)
Binary file added game/levels/caves/grid.pcx
Binary file not shown.
14 changes: 14 additions & 0 deletions game/levels/caves/grid.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
grid.pcx is a pcx of the
16x22 grid of squares that
the level is build around.
It is great for early
testing (just fill in the
appropriate squares), and
can be used to line up
graphics correctly. I
thought that maybe you would
want to unzip this file and
have it availabe for separate
download, as it serves as a
great starting point for
a new level.
Binary file added game/levels/cocaine/cocaine.dat
Binary file not shown.
File renamed without changes
File renamed without changes
Binary file added game/levels/green/green.dat
Binary file not shown.
19 changes: 19 additions & 0 deletions game/levels/green/green.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Green Land

---------------
A forest level made with Deluxe Paint.
Includes photo realistic graphics and lots
of nice little things...
Have fun.

---------------
If you get bored try following cheat codes
to improve the playability:

jetpack
pogostick
bunniesinspace

---------------
VILLE KOKKONEN
[email protected]
Binary file added game/levels/jump2/jump2.dat
Binary file not shown.
8 changes: 8 additions & 0 deletions game/levels/jump2/jump2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Welcome to JUMP2

This is my first level and I intended it to be a take off of the original level.
It looks very similar but trust me it plays very different. Personally I quite
like this level it is fast and fun. So have a blast.

STEVE KESTELL
[email protected]
19 changes: 19 additions & 0 deletions game/levels/kingofthehill/King of the Hill..txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
This is my first attempt at a Jump & Bump level.
So all the graphics are stolen from the original.
I broke the scoreboard somehow?? if there is a
way to fix this please let me know!
And there is no background.. because I'm lazy.:)


Anyway I thought it might be fun to play a king of the hill type game
with these rabbits o'death so here it is. It probably plays best
with 3-4 players but it's fun as a 1v1 map too. See who can stay
at the top of the hill the longest!!

I would like to fix all the problems with this map.

soo.. any comments/syuggestions: [email protected]

thanks for trying my level!!

Dark Chicken
Binary file added game/levels/kingofthehill/kingofthehill.dat
Binary file not shown.
Binary file added game/levels/mario/mario.dat
Binary file not shown.
7 changes: 7 additions & 0 deletions game/levels/mario/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Welcome to Mario Jump 'N' Bump. This is my second level now, my first was jump2.
Mario Jump 'N' Bump looks very similar to the original mario bros. on Nintendo.
That was how I intended it. This addon may look simple but it is the best level I've
played yet. It has lots of room to move as well as lots of different places go. This dat file also
includes new music which I found on the internet. I hopped it would jazz thing up a little
STEVE KESTELL
[email protected]
Binary file added game/levels/sgeneral/sgeneral.dat
Binary file not shown.
Binary file added game/levels/spring/spring.dat
Binary file not shown.
Binary file added game/levels/swamp/swamp.dat
Binary file not shown.
11 changes: 11 additions & 0 deletions game/levels/swamp/swamp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
=====The=Swamp=====

This is my second Jump&Bump level,
I've learned from the mistakes I
made in the first one (The crazy
caztle). There's a lot of air in
this one and nicer graphics. The
music is as usual composed by me.

Thomas Andersson
[email protected]
Binary file added game/levels/thomas/thomas.dat
Binary file not shown.
13 changes: 13 additions & 0 deletions game/levels/thomas/thomas.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

----+Thomas Crazy Caztle+----

This is my first attempt to make a Jump&Bump level.
I was tired af all the "outdoors" arenas, so I tried to make
it look like a castle or something...the result's ok I guess,
it could need some more work, but at least it's playable and
the graphix are quite nice I think. The music was made in 2 min
in FT2. Look out for more levels from me in the future!

- Thomas

[email protected]
Binary file added game/levels/topsy/topsy.dat
Binary file not shown.
Binary file added game/levels/waterfall/waterfall.dat
Binary file not shown.
10 changes: 10 additions & 0 deletions game/levels/waterfall/waterfall.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
-=/The Waterfall\=-

This is my first real level which has a cool waterfall!
That's my I call it The Waterfall. It took me 1 hour to
complete the level. Soon ther will be more levels from me.

WagnuZ
[email protected]


File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
55 changes: 0 additions & 55 deletions jnb.html

This file was deleted.

45 changes: 0 additions & 45 deletions level.js

This file was deleted.

Loading

0 comments on commit 39bbbb8

Please sign in to comment.