You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

[HTML5][javascript] Platformer game

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

0
b/[Inactive] VelocityGames (PC/Web) publicado por u/ben_g July 07, 2015, 10:27:24 PM
As you may have already seen or heard on IRC, I'm working on a platformer game.

At first, this game was meant as an exercise to learn javascript, but I liked it, so I continued working on it.
The point of the game is to get to the green square at the end of the level, while everything that's red is out there to kill you. It's a simple concept, but the game can be quite challenging in some areas.
Here's a screenshot:


You can play it here: http://velocitygames.be/platformer.html The server we host it on doens't have a very good uptime though, so if it's down, just try again later.

To give you guys a challenge: here are my scores from when I was testing the score displaying code:

These aren't my best scores, but I did get a lot of practice while testing, so they probably aren't that bad either. Feel free to post your scores below.

Currently, there are 4 levels (including the tutorial), but more will be added later.

This topic is also posted on Omnimaga.
Last Edit: May 15, 2016, 02:07:06 PM by ben_g
Inicia sesión o crea una cuenta para dejar un comentario
u/CKH4 July 07, 2015, 11:40:20 PM
Looks cool, I'll try to play it when I get some free time.
u/Unicorn July 08, 2015, 02:05:23 AM
Sounds cool! Im gonna mimic CKH4 and try it when I can (might be a while)
u/Dream of Omnimaga July 08, 2015, 06:29:37 AM
I remember seeing this a while ago and it was pretty fun (but hard)! I'm glad that you are still working on it. :)

As for the host, I think the issue is that you use a dot.tk domain name. Those have terrible (and sporadic) uptime, so if you have an alternate URL available for your site, it might be good to link to it as an alternative.
u/Unicorn July 08, 2015, 12:55:14 PM
I couldn't get it to work... The green ball seemed to follow my mouse...
u/ben_g July 08, 2015, 02:46:17 PM
Quote from: DJ Omnimaga on July 08, 2015, 06:29:37 AM
I remember seeing this a while ago and it was pretty fun (but hard)! I'm glad that you are still working on it. :)

As for the host, I think the issue is that you use a dot.tk domain name. Those have terrible (and sporadic) uptime, so if you have an alternate URL available for your site, it might be good to link to it as an alternative.
The uptime is because our server doesn't have a static ip, and because it's internet cable is sometimes unplugged and used to watch netflix. If the domain name causes any additional problems, then we do have an alternate domain name (http://gamecommandosquad.tk/platformer.html), but it's a dot.tk one as well. It's our old domain name, but we keep it updated to avoid having to reconfigure some clients for some other service hosted on the server.
EDIT: I just set up cloudflare. The domain name is still the same, but dns updates are now done automatically, and if something happens to the server (like an unplugged internet cable), a cached version should still be available.

Quote from: Unicorn on July 08, 2015, 12:55:14 PM
I couldn't get it to work... The green ball seemed to follow my mouse...
That's strange, especially since I never check for the mouse. Could you tell me on which platform and with which browser that happened? Also try tapping all the arrow keys, since they can get stuck. I'll look into it though.
Last Edit: July 08, 2015, 04:49:12 PM by ben_g
u/Unicorn July 08, 2015, 03:35:10 PM
Windows XP on firefox, and I'm not sure what version. It seemed to follow my mouse for some reason, then stop and not respond at all. I also repetadly tapped the arrow keys.
u/Dream of Omnimaga July 10, 2015, 03:21:52 AM
Ben_g ah I see now. Maybe at one point someone could provide you some hosting.
u/Unicorn July 10, 2015, 05:01:28 PM
I got it to work, and it sure is addicting! ;D

Will there be a level editor?
u/ben_g July 11, 2015, 09:24:10 AM
Currently, this is my level editor, which isn't really release-worthy.

Including a level editor is a good idea though, and it shouldn't be that hard to make a system to load levels from something like a copy-pasted string.
u/Dream of Omnimaga July 11, 2015, 03:06:02 PM
This reminds me how the data in my first Visual Basic tilemapper looked like O.O
u/Unicorn July 11, 2015, 04:43:11 PM
That looks like the block dude level data. o.o
u/Dream of Omnimaga July 11, 2015, 05:14:50 PM
Block Dude used strings for map data too?
u/Unicorn July 12, 2015, 01:10:17 AM
We'll merth had a display on a cmd that was 0,1,2 making up the map for the original monochrome game.
u/Yuki July 12, 2015, 06:14:09 AM
I tried that yesterday, it's quite hard.

And yeah, you can change the name servers on dottk now, I got one as well and I made it use Cloudflare, it should definitely be way better.

Also, if you want hosting, here at CodeWalrus we probably can arrange you something.
Last Edit: July 12, 2015, 06:17:43 AM by Juju
Start a Discussion

b/[Inactive] VelocityGames (PC/Web)

Home to all projects from VelocityGames.

9
Topics
Explore Board
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal