The shoutbox is currently out of service. Join us on Discord instead.
You can help CodeWalrus stay online by donating here.

[HTML5][javascript] Platformer game

Started by ben_g, July 07, 2015, 10:27:24 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ben_g

July 07, 2015, 10:27:24 pm Last Edit: May 15, 2016, 02:07:06 pm by ben_g
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.

CKH4

Looks cool, I'll try to play it when I get some free time.


Unicorn

Sounds cool! Im gonna mimic CKH4 and try it when I can (might be a while)



??? ??? ??? ??? ???

DJ Omnimaga

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.

Unicorn

I couldn't get it to work... The green ball seemed to follow my mouse...



??? ??? ??? ??? ???

ben_g

July 08, 2015, 02:46:17 pm #5 Last Edit: July 08, 2015, 04:49:12 pm by ben_g
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.

Unicorn

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.



??? ??? ??? ??? ???

DJ Omnimaga

Ben_g ah I see now. Maybe at one point someone could provide you some hosting.

Unicorn

I got it to work, and it sure is addicting! ;D

Will there be a level editor?



??? ??? ??? ??? ???

ben_g

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.

DJ Omnimaga

This reminds me how the data in my first Visual Basic tilemapper looked like O.O

Unicorn

That looks like the block dude level data. o.o



??? ??? ??? ??? ???

DJ Omnimaga

Block Dude used strings for map data too?

Unicorn

We'll merth had a display on a cmd that was 0,1,2 making up the map for the original monochrome game.



??? ??? ??? ??? ???

Juju

July 12, 2015, 06:14:09 am #14 Last Edit: July 12, 2015, 06:17:43 am by Juju
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.
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

Powered by EzPortal