CodeWalrus

Featured Member Projects => Completed and Inactive Projects => [Inactive] VelocityGames (PC/Web) => Topic started by: ben_g on July 07, 2015, 10:27:24 pm

Title: [HTML5][javascript] Platformer game
Post by: ben_g on 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:
(https://img.ourl.ca/Capture-16.PNG)

You can play it here: http://velocitygames.be/platformer.html (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:
(https://img.ourl.ca/Capture-15.PNG)
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. (https://www.omnimaga.org/computer-projects-and-ideas/(html5javascript)-platformer-game/new/#new)
Title: Re: Platformer game
Post by: CKH4 on July 07, 2015, 11:40:20 pm
Looks cool, I'll try to play it when I get some free time.
Title: Re: Platformer game
Post by: Unicorn on July 08, 2015, 02:05:23 am
Sounds cool! Im gonna mimic CKH4 and try it when I can (might be a while)
Title: Re: Platformer game
Post by: 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.
Title: Re: Platformer game
Post by: Unicorn on July 08, 2015, 12:55:14 pm
I couldn't get it to work... The green ball seemed to follow my mouse...
Title: Re: Platformer game
Post by: ben_g on 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.
Title: Re: Platformer game
Post by: Unicorn on 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.
Title: Re: Platformer game
Post by: DJ Omnimaga on July 10, 2015, 03:21:52 am
Ben_g ah I see now. Maybe at one point someone could provide you some hosting.
Title: Re: Platformer game
Post by: Unicorn on July 10, 2015, 05:01:28 pm
I got it to work, and it sure is addicting! ;D

Will there be a level editor?
Title: Re: Platformer game
Post by: ben_g on July 11, 2015, 09:24:10 am
Currently, this (https://img.ourl.ca/Capture-18.PNG) 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.
Title: Re: Platformer game
Post by: DJ Omnimaga on July 11, 2015, 03:06:02 pm
This reminds me how the data in my first Visual Basic tilemapper looked like O.O
Title: Re: Platformer game
Post by: Unicorn on July 11, 2015, 04:43:11 pm
That looks like the block dude level data. o.o
Title: Re: Platformer game
Post by: DJ Omnimaga on July 11, 2015, 05:14:50 pm
Block Dude used strings for map data too?
Title: Re: Platformer game
Post by: Unicorn on 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.
Title: Re: Platformer game
Post by: Juju on 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.
Title: Re: Platformer game
Post by: ben_g on July 12, 2015, 12:12:23 pm
Yeah, we use cloudflare now. We also run a script on our server every 5 minutes to check for ip changes and update the DNS accordingly. Cloudflare's caching is also enabled so you should be able to view a cached version if the server goes down for whatever reason.

Thanks for offering to host, but I'm not sure if I'm going to use it yet, since spreading the website over multiple servers might get complicated.
Title: Re: Platformer game
Post by: alexgt on July 12, 2015, 01:22:10 pm
Awesome! it is (more) official now :)

I love playing this game BTW I am addicted O.O
Title: Re: Platformer game
Post by: Unicorn on July 12, 2015, 03:13:24 pm
Yup, I'm addicted to :P
Title: Re: Platformer game
Post by: DJ Omnimaga on July 12, 2015, 04:02:04 pm
Quote from: ben_g on July 12, 2015, 12:12:23 pm
Yeah, we use cloudflare now. We also run a script on our server every 5 minutes to check for ip changes and update the DNS accordingly. Cloudflare's caching is also enabled so you should be able to view a cached version if the server goes down for whatever reason.

Thanks for offering to host, but I'm not sure if I'm going to use it yet, since spreading the website over multiple servers might get complicated.
That said, I am personally not a big fan of Cloudflare, because sometimes in the past, certain Cloudflare servers were unstable and the result is that it was very hard for me to access Omnimaga even when it's up. This, combined with a long history of false positives when it comes to the anti-spam, is why CodeWalrus staff decided to avoid using CloudFlare as much as possible, except maybe name servers and HTTPS-related stuff. We only plan to enable other features if, for example, we get DDoS'ed or something.

And yeah ideally it's better to keep everything on the same server, in case one goes down. But also, you should try to make an offline, standalone version of the game that we can download, in case one day you move on in real life then forget to renew your hosting. It would be a shame if the game vanished off the face of the Earth as a result (like what happened to many MMORPGs in the past).
Title: Re: Platformer game
Post by: ben_g on July 12, 2015, 07:41:16 pm
If you don't like cloudflare, then use http://gamecommandosquad.tk/platformer.html instead of http://velocitygames.tk/platformer.html . The gamecommandosquad domain name points to the same server (and should be automatically updatet as well), but it bypasses cloudflare.

As for the offline version: This game needs absolutely no connection to the server to run, so if you right-click the page and select save as, then you can easily use it offline. Depending on how your browser is configured, the highscores may not work though, but I'm working on it.
EDIT: I may make a cleaner version that's actually made for offline one day, but that's not on the top of my to do list yet.
Title: Re: Platformer game
Post by: DJ Omnimaga on July 13, 2015, 05:24:49 pm
Ok thanks for the info :).
Title: Re: [HTML5/javascript] Platformer game
Post by: Snektron on July 13, 2015, 08:57:10 pm
I remember playing that a while ago. I liked it but t was very hard. Also since its JS, with the right console commands you can just teleport yourself to the finish  >:D
Title: Re: Platformer game
Post by: Unicorn on July 13, 2015, 11:18:20 pm
No cheating cumred! :P
Title: Re: Platformer game
Post by: ben_g on July 15, 2015, 02:27:16 pm
Highscores are now saved in local storage. If you had highscores before today, then you have to migrate them to local storage to make them work again. There's an option to do this in the changelog.
Title: Re: Platformer game
Post by: Unicorn on July 15, 2015, 02:41:19 pm
Oh, nice. I don't think it stored my level progress when I played though. Is it not supposed to?
Title: Re: Platformer game
Post by: ben_g on July 15, 2015, 04:15:31 pm
It saves your best score for each level, to put that in the highscores. Currently, the game always starts from the tutorial, but I'm working on a level select screen which will allow you to start from any level.
That level selection screen will check which highscores are present to determine what's the last level you played, and it'll only allow you to start all levels up to that one, along with the first level after that. So if you've finished level 2, then you'll be able to play levels 1, 2 and 3, but not level 4.
Even though the level screen isn't present yet, the data is already saved.
Title: Re: Platformer game
Post by: Unicorn on July 15, 2015, 04:30:26 pm
Cool, I was worried I would have to redo it every time. :)
Title: Re: Platformer game
Post by: DJ Omnimaga on July 16, 2015, 05:30:16 am
Quote from: Cumred_Snektron on July 13, 2015, 08:57:10 pm
I remember playing that a while ago. I liked it but t was very hard. Also since its JS, with the right console commands you can just teleport yourself to the finish  >:D
I wonder if in JS there are ways to prevent cheating? I remember that on Omnimaga, we had an RPG system in late 2005 that showed up in signatures, but if you disabled javascript, you could easily change your stats and grab the most powerful weapon. That said, in the case of Ben_g's game, cheating this way would just ruin the fun, anyway, so I don't see as much point to try blocking cheating.
Title: Re: Platformer game
Post by: alexgt on July 16, 2015, 02:00:50 pm
I need to have time to play this, I haven't actually beaten the game yet :(
Title: Re: Platformer game
Post by: Unicorn on July 16, 2015, 02:15:16 pm
Me neither, I have always run out of time to play. :/
Title: Re: Platformer game
Post by: alexgt on July 16, 2015, 05:53:15 pm
Same here, or when I have time to play I get stuck on an obstical :P
Title: Re: Platformer game
Post by: Unicorn on July 16, 2015, 10:47:36 pm
Woop! I beat it! The end of level 3 is crazy  O.O
Title: Re: Platformer game
Post by: alexgt on July 17, 2015, 12:11:07 am
Actually I would have time to beat it if I wasn't addicted to agar.io to <_<
Title: Re: Platformer game
Post by: Unicorn on July 17, 2015, 12:30:53 am
Oh yeah, that game. Thats fun to. :P
Title: Re: Platformer game
Post by: alexgt on July 17, 2015, 12:37:05 am
I got #1 today :)
(https://codewalr.us/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FhkYuBov.png&hash=8e04595e626ab3a1d1b2ab6c7c32b495)
if you ever see Hungary that is probably me ;)
Title: Re: Platformer game
Post by: Unicorn on July 17, 2015, 12:39:59 am
Nice! Lemme guess, you were hungry? Anyways, we should get back on topic.
Title: Re: Platformer game
Post by: alexgt on July 17, 2015, 12:41:09 am
Yes we should move back on topic, but I am part Hungarian so I thought it was a good pun :P
Title: Re: Platformer game
Post by: DJ Omnimaga on July 21, 2015, 05:53:33 am
I was starting to wonder if that was a screenshot from ben_g's game, until I read above in the discussion. It is a good sign that we need to get back on-topic. :P
Title: Re: Platformer game
Post by: Unicorn on July 21, 2015, 11:19:35 am
Quote from: DJ Omnimaga on July 21, 2015, 05:53:33 am
I was starting to wonder if that was a screenshot from ben_g's game, until I read above in the discussion. It is a good sign that we need to get back on-topic. :P

We would all be super surprised :P

But anyways, I can't wait for a level editor or something of the sort. /me laughs evilly
>:D
Title: Re: Platformer game
Post by: alexgt on July 22, 2015, 02:50:02 pm
Quote from: Unicorn on July 21, 2015, 11:19:35 am
Quote from: DJ Omnimaga on July 21, 2015, 05:53:33 am
I was starting to wonder if that was a screenshot from ben_g's game, until I read above in the discussion. It is a good sign that we need to get back on-topic. :P

We would all be super surprised :P

But anyways, I can't wait for a level editor or something of the sort. /me laughs evilly
>:D


Inspect element...
Title: Re: Platformer game
Post by: Unicorn on July 22, 2015, 02:57:14 pm
But that is not distributed :(
Title: Re: Platformer game
Post by: alexgt on July 22, 2015, 03:13:44 pm
Yeah custom levels that you make being avalible to the public would be awesome O.O
Title: Re: Platformer game
Post by: Unicorn on July 22, 2015, 04:32:05 pm
I think that'll happen:
Spoiler: ShowHide

(https://codewalr.us/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F3gxpRcl.png&hash=1ebef2d91caffdd0bd1cf7877c05c7da)
Title: Re: Platformer game
Post by: alexgt on July 22, 2015, 08:44:31 pm
O.O I want to get onto the PC NOW <_< found out I will be spending the night at my Uncle's so only my mom's tablet :(
Title: Re: Platformer game
Post by: Unicorn on July 22, 2015, 09:02:37 pm
Darn. But its no implemented yet though.
Title: Re: Platformer game
Post by: alexgt on July 23, 2015, 12:55:51 am
Oh, it is grayed out xD
Title: Re: Platformer game
Post by: Unicorn on July 23, 2015, 02:00:38 am
Yeah, but it should be cool,eventually with community levels and community highscores...
Title: Re: Platformer game
Post by: alexgt on July 23, 2015, 02:40:50 pm
That would be awesome, I wonder if I could play it on my mom's tablet since it has a keyboard with arrows on it...
Title: Re: Platformer game
Post by: Unicorn on July 23, 2015, 02:43:12 pm
Well, he doesn't turn off the game if you are on a mobile device... you should try!
Title: Re: Platformer game
Post by: alexgt on July 23, 2015, 02:50:25 pm
It works!!! I think the clock runs a little fast because I usually get througt the tutorial in ~1:30 and I got throught at 3:00 xD
And the speed isn't that bad at all.
Title: Re: Platformer game
Post by: Unicorn on July 23, 2015, 02:57:01 pm
Quote from: alexgt on July 23, 2015, 02:50:25 pm
It works!!! I think the clock runs a little fast because I usually get througt the tutorial in ~1:30 and I got throught at 3:00 xD
And the speed isn't that bad at all.

Awesome! I know on this one computer I played it on, it went super-fast and it wasn't' even winnable O.O
Title: Re: Platformer game
Post by: alexgt on July 23, 2015, 03:04:02 pm
Lol, I think that @ben_g needs to keep the speed in check somehow :)

WAITth metions work on my mom's tablet O.O I wonder if they are fixed!!!!!
Title: Re: Platformer game
Post by: Unicorn on July 23, 2015, 08:37:29 pm
Oh yeah, there was  permissions error. I can do it now to @alexgt
Title: Re: Platformer game
Post by: alexgt on July 23, 2015, 09:12:23 pm
Oh, glad it was fixed xD
Title: Re: Platformer game
Post by: Unicorn on July 24, 2015, 12:21:41 am
Indeed, and I cant wait for the level editor!!!!1
Title: Re: Platformer game
Post by: ben_g on July 25, 2015, 06:19:13 pm
Quote from: Unicorn on July 22, 2015, 04:32:05 pm
I think that'll happen:
Spoiler: ShowHide

(https://codewalr.us/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F3gxpRcl.png&hash=1ebef2d91caffdd0bd1cf7877c05c7da)


I'm working on it. I was at a scouts camp this week, so there was no progress during that time. It may take a while though.

Quote from: alexgt on July 23, 2015, 02:50:25 pm
It works!!! I think the clock runs a little fast because I usually get througt the tutorial in ~1:30 and I got throught at 3:00 xD
And the speed isn't that bad at all.

The clock should be more or less accurate, since it's based on the system time, not calculated by counting frames. The speed of the game itself can indeed vary though, since it assumes that the screen updates at 60fps. I will fix this when I'm doing the fine tuning at the end of the public beta.

BTW: as you guys mentioned, the game does run on many mobile devices, though it's usually not playable because there often is no keyboard. I'm planning to add on-screen buttons to allow the game to be played trough a touchscreen. I don't know when that will happen though, since it's rather hard for me to debug since I don't own a smartphone.
Title: Re: Platformer game
Post by: CKH4 on July 25, 2015, 07:22:41 pm
Nice, I'm still getting around to playing it but that would make me play it sooner.
Title: Re: Platformer game
Post by: DJ Omnimaga on July 26, 2015, 01:14:29 am
Yeah I noticed that it worked on mobile, like Lexaloffle's PICO-8 but then I went like "oh wait! How am I supposed to play with no keyboard? XD

Is there a way in games to make the virtual keypad appear on mobile devices? That would not solve the lack of arrows problem, though.

As for game speed, make sure that it's capped, even if it runs a bit slower on older computers and devices. If it's entirely dependent on computer speed and the speed is not capped, then the game will be completely unplayable on computers released in 2021 or later.
Title: Re: Platformer game
Post by: Unicorn on July 26, 2015, 04:42:48 am
Great! I'm looking forward to making levels! A smartphone version would also be nice :)
Title: Re: Platformer game
Post by: Snektron on July 26, 2015, 09:16:38 am
Quote from: DJ Omnimaga on July 26, 2015, 01:14:29 am
Yeah I noticed that it worked on mobile, like Lexaloffle's PICO-8 but then I went like "oh wait! How am I supposed to play with no keyboard? XD


In the science museum of Paris there was an info PC which read "Keyboard not found. Press F1 to continue"
Title: Re: Platformer game
Post by: alexgt on July 26, 2015, 01:45:21 pm
Quote from: ben_g on July 25, 2015, 06:19:13 pm
Quote from: Unicorn on July 22, 2015, 04:32:05 pm
I think that'll happen:
Spoiler: ShowHide

(https://codewalr.us/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F3gxpRcl.png&hash=1ebef2d91caffdd0bd1cf7877c05c7da)


I'm working on it. I was at a scouts camp this week, so there was no progress during that time. It may take a while though.

Quote from: alexgt on July 23, 2015, 02:50:25 pm
It works!!! I think the clock runs a little fast because I usually get througt the tutorial in ~1:30 and I got throught at 3:00 xD
And the speed isn't that bad at all.

The clock should be more or less accurate, since it's based on the system time, not calculated by counting frames. The speed of the game itself can indeed vary though, since it assumes that the screen updates at 60fps. I will fix this when I'm doing the fine tuning at the end of the public beta.

BTW: as you guys mentioned, the game does run on many mobile devices, though it's usually not playable because there often is no keyboard. I'm planning to add on-screen buttons to allow the game to be played trough a touchscreen. I don't know when that will happen though, since it's rather hard for me to debug since I don't own a smartphone.

/me changes system time, laughs manically
Title: Re: Platformer game
Post by: DJ Omnimaga on July 31, 2015, 10:44:09 pm
By the way, what is the max size of custom levels and is it possible to remove enemies/walls?
Title: Re: Platformer game
Post by: ben_g on July 31, 2015, 11:05:06 pm
Quote from: DJ Omnimaga on July 31, 2015, 10:44:09 pm
By the way, what is the max size of custom levels and is it possible to remove enemies/walls?

The max size of custom levels whatever the maximum string length is that your browser can handle. The limit for uploaded levels is 65kb, which should still be enough for a decently-sized level.
Deleting walls can be done by placing an 'empty space' block on them.
To delete an object, enabling object editing mode by either clicking on the word 'Object' or clicking on the next/previous object arrows. The word "Object" should have a yellow background. Then select the object by clicking on the tile it's placed on (for enemies: click on them, for platforms: click on the leftmost block, for text, click below it's first char). The object will blink to indicate that it's selected. Then press the delete key to delete it.

I'll write a guide for how to use the level editor soon.

For those who missed it on irc: The level editor is still in alpha, so you must use the developement version (http://velocitygames.tk/platformer-dev.php) to use the level editor.

To avoid spam, the level sharing system of the platformer uses Velocity Games forum (http://velocitygames.tk/forum) accounts. To be able to upload a level, post a comment, or rate a level, you must be logged in on one of those accounts. Note that posting on that forum is NOT required, the account system is for safety and ease of programming only, I'm not trying to lure members there.
If that account system is not okay with any of the admins, then please tell me about it and I'll try to find an alternative.
Title: Re: Platformer game
Post by: DJ Omnimaga on August 01, 2015, 06:46:40 am
Ah ok. I guess it's good that there's a limit, in case one day you add features to bulk-paste blocks or large areas then someone releases a gigantic level that only runs on quantum computers.

And I see. I was wondering because when I tried deleting enemies by placing something else (there was no option to choose empty space, only enemy, blue square and text), it switched back to enemy. Thanks for explaining. A guide would definitively help I think.

And yeah it's definitively good to not force people to post on a forum in order to allow them to use the level editor. Perhaps it could be required for certain premium features if the game becomes more popular, but otherwise that might not work out well. Another alternative would be to also allow accounts on Cemetech, Omni and CW but that would be very hard to implement and detect and requires you to manually check your inbox and approve accounts.
Title: Re: [HTML5/javascript] Platformer game
Post by: Snektron on August 01, 2015, 05:45:20 pm
I played it yesterday :3 I liked the "you have to get here" part in the beginning very much.
Title: Re: Platformer game
Post by: Unicorn on August 01, 2015, 08:45:20 pm
Awesome the level auditor is already quite good, in my opinion. But I think I found a bug, I went to the community levels option, then went back to the main menu, but then I couldn't' click on any of the options.
Title: Re: Platformer game
Post by: ben_g on August 01, 2015, 11:32:27 pm
Quote from: Unicorn on August 01, 2015, 08:45:20 pm
Awesome the level auditor is already quite good, in my opinion. But I think I found a bug, I went to the community levels option, then went back to the main menu, but then I couldn't' click on any of the options.

That never happened to me.... It sounds like something crashed though.
Could you inspect element and check for javascript errors? If there was an error, please paste it here.
Title: Re: Platformer game
Post by: Unicorn on August 02, 2015, 06:12:11 am
Ok, I'll check it out if I can reproduce it.
Title: Re: Platformer game
Post by: ben_g on September 03, 2015, 09:29:11 pm
Big update: The level editor is out of alpha. There are still a few unfinished extra's in the community hub, but everything should be stable and reliable enough for the public release now.
The level handling system is now also completely rewritten. It now congratulates you after every level and waits for you to click a button before moving on to the next one. It also gives you the option to return to the main menu there, and when you were playing an online level, it also gives you the options to upvote/downvote that level (in case you haven't voted already), as well as an option to return to the community hub, which will open the page of the level you just played again so you can place a comment if you want.
There is also a guide now that tells you some basic tips for beating the game, and it also explains how to use the level editor.
I hope you'll enjoy this update.

The platformer is now hosted on http://velocitygames.tk/platformer.php , but the old page should redirect you there.
Title: Re: Platformer game
Post by: alexgt on September 04, 2015, 04:58:04 am
Sounds awesome! I will try it out now ;)
Title: Re: Platformer game
Post by: DJ Omnimaga on September 04, 2015, 05:14:30 am
I just made a rudimentary level to experiment and I like the editor so far. It seems to work fine now as well. My only complaint is that it lacks the ability to place multiple blocks while holding down the mouse button, so as a result, when placing many blocks we have to click and click and click and click and click and click and click. Good job so far, though :)

Is it possible to share levels?
Title: Re: Platformer game
Post by: ben_g on September 04, 2015, 01:20:35 pm
Quote from: DJ Omnimaga on September 04, 2015, 05:14:30 am
Is it possible to share levels?

Certainly. Once you made a level in the editor, save it to one of the 3 save slots. Then, refresh the page, click on Community levels, then click on Your levels. It will list your filled save slots there and give you the option to play your level, upload it to the community levels page, or generate a share code. Share codes don't require registration and don't send anything to the servers, but those codes can get very long and therefore they only work for small levels. To upload your level to the community levels page, you need to be logged in with an account from our forum (this is to prevent spam and to have a fully featured account system without having to program all that myself). Once you're logged in, click the upload link, enter a title and a description, click the upload button, and you should see your level appear on the community levels page.
Title: Re: Platformer game
Post by: Unicorn on September 04, 2015, 04:26:36 pm
Awesome! I need to get back into playing that, and its levels!
Title: Re: Platformer game
Post by: alexgt on September 04, 2015, 04:28:03 pm
I want to start making levels but do you use middle  click th pan the screen because my chrome book cannot do that <_<
Title: Re: Platformer game
Post by: ben_g on September 04, 2015, 04:39:26 pm
You use the arrow keys to pan the view in the level editor.
There's a link to a guide that explains the basics of the editor below the canvas (as long as you're not in fullscreen mode). I apparently forgot to put the arrow key controls in the guide though, so I'll add that soon.
Title: Re: Platformer game
Post by: alexgt on September 04, 2015, 10:26:11 pm
Thanks ;)
Title: Re: Platformer game
Post by: DJ Omnimaga on September 04, 2015, 10:27:56 pm
Quote from: ben_g on September 04, 2015, 01:20:35 pm
Quote from: DJ Omnimaga on September 04, 2015, 05:14:30 am
Is it possible to share levels?

Certainly. Once you made a level in the editor, save it to one of the 3 save slots. Then, refresh the page, click on Community levels, then click on Your levels. It will list your filled save slots there and give you the option to play your level, upload it to the community levels page, or generate a share code. Share codes don't require registration and don't send anything to the servers, but those codes can get very long and therefore they only work for small levels. To upload your level to the community levels page, you need to be logged in with an account from our forum (this is to prevent spam and to have a fully featured account system without having to program all that myself). Once you're logged in, click the upload link, enter a title and a description, click the upload button, and you should see your level appear on the community levels page.
Very cool. Thanks for the tip. :)
Title: Re: Platformer game
Post by: Jokeriske on January 30, 2016, 03:11:34 pm
The platformer is almost complete!

BTW: im jokeriske from velocitygames :)
Title: Re: Platformer game
Post by: DJ Omnimaga on January 30, 2016, 03:12:59 pm
Heya Jokeriske and welcome to CW :3=

Great to hear :)
Title: Re: Platformer game
Post by: alexgt on January 30, 2016, 04:13:48 pm
Awesome! I will try it out ;)

And welcome to the forums :)
Title: Re: Platformer game
Post by: Jokeriske on March 12, 2016, 07:23:15 pm
The platformer wont work on .tk from now on you will have to play it trough the .be version :)
Title: Re: Platformer game
Post by: DJ Omnimaga on March 12, 2016, 08:42:45 pm
Is it because .tk uses those annoying frame redirects? I tried using .tk with Omnimaga back then and people kept getting logged out after logging in...
Title: Re: Platformer game
Post by: Jokeriske on March 15, 2016, 12:35:41 pm
its just because we are planning to switch to the .be version, there are some issues with .tk version so we bought a very very cheap domain name
Title: Re: Platformer game
Post by: DJ Omnimaga on March 15, 2016, 07:17:50 pm
Well, .tk is not known to be very stable. In 2004 and 2010 dot.tk had severe downtimes, often leading to 40-70% uptime. Plus domain names expired after 90 days without enough traffic nor activity IIRC.

Also that reminds me, have you gotten to contact the author of that one clone of your platformer on Gamejolt? I remember someone posted a link to that game there and it seemed extremely similar to your game.
Title: Re: Platformer game
Post by: Jokeriske on March 16, 2016, 11:53:09 am
yes ben did contact him, he said he didin't knew about his game, wich i personally dont believe but if he says so , he said if his game is complete he will be crediting Ben.

Heres the source : http://gamejolt.com/games/the-hard-platformer/112556
Title: Re: Platformer game
Post by: ben_g on March 17, 2016, 07:08:39 am
Quote from: Jokeriske on March 16, 2016, 11:53:09 am
yes ben did contact him, he said he didin't knew about his game, wich i personally dont believe but if he says so , he said if his game is complete he will be crediting Ben.

Heres the source : http://gamejolt.com/games/the-hard-platformer/112556

I'm also not 100% sure about it either, but since I'm against the extreme copyright actions many big corporations take (like always online DRM for singleplayer games, games actively blocking the steam sharing feature, the company behind the 'Pixels' movie attempting to send DMCA requests to every single video on the internet with the word 'pixel' in it, ...). Because of that, I'd rather let 1000 people copy or steal my game, than to take down the game of 1 innocent person. So as long I'm not absolutely 100% sure it's stolen, I'm not going to request it to be taken down.

The concept is very simple, it's not unthinkable that someone came up with something very similar by himself.
Title: Re: Platformer game
Post by: DJ Omnimaga on March 17, 2016, 07:32:04 am
Yeah copyright-not(C) companies are quite irritating at times, and sadly, there are invidivuals in the community who tried to adopt such practices in recent memories, which we tried to discourage (maybe successfully?). Protecting our work is a must, though. I guess at some point you could check the source code in case.

Also it's a good idea to put your game under a good license, same for the source.

On a side note, have you made any progress on this platformer, such as new additions?
Title: Re: [HTML5][javascript] Platformer game
Post by: Dudeman313 on April 13, 2016, 08:41:28 pm
I thought it was finished? ???

And that he's working on a v2(a hopefully easier v2), I would guess it's complete.
Title: Re: Platformer game
Post by: DJ Omnimaga on April 14, 2016, 12:59:47 am
Oh I don't remember. I thought that it was near complete but that some pre-made levels still needed to be added. But again, now that Jokeriske is working on v2 I assume that this platformer has now been replaced.
Title: Re: [HTML5][javascript] Platformer game
Post by: Dudeman313 on April 14, 2016, 08:18:13 pm
It's still on the site, so I'm not sure. The v2 hasn't been mentioned on Velocity.
Title: Re: Platformer game
Post by: ben_g on April 15, 2016, 03:53:38 am
The V2 is Jokeriske's version, which will be basically a completely different game based on the same concept (but with slightly different mechanics).
It's not meant to replace the first platformer, and both games will still recieve updates. (We may have to change the name to avoid confusion though)

The V2 is already online on our website, but currently hidden from the public untill a later update, since it's still quite incomplete and glitchy.
Title: Re: Platformer game
Post by: DJ Omnimaga on April 15, 2016, 04:04:13 am
Aah I see now. I thought it was a major upgrade. Glad that there will be two games. Also yeah, I don't think the games should be called "Platformer". :P
Title: Re: Platformer game
Post by: DJ Omnimaga on April 17, 2016, 10:05:32 pm
By the way @ben_g and @Jokeriske (whoever is in charge of this): I can't seem to move anymore in the current version. Left and right arrows do nothing and only the jump key (up arrow) works :( (tested in Opera 36)
Title: Re: Platformer game
Post by: ben_g on April 18, 2016, 05:24:12 am
Since all arrow keys are handled in the same way, I have no idea what could cause that. Does it act the same in other browsers on your conputer? Regardless, I'll look into it when I have time.
Title: Re: Platformer game
Post by: DJ Omnimaga on April 18, 2016, 04:06:54 pm
I tried in Firefox and Chrome as well and I have the same problem. I also tried the game in fullscreen mode and still the same problem. By the way, this is the web version at http://velocitygames.be , not the Facebook one that Jokeriske posted about on his FB wall the other night.
Title: Re: Platformer game
Post by: ben_g on April 18, 2016, 04:09:06 pm
So the facebook version does not have that problem? That's weird, since apart from the code that calculates the size of the canvas and the code that shows the community/level editor buttons, the code is exactly the same.
Title: Re: Platformer game
Post by: DJ Omnimaga on April 18, 2016, 04:12:13 pm
I didn't try the facebook version, because of this:

QuoteVelocitygames Platformer will receive the following informations : your public profile, your friend list and your e-mail.



EDIT: Actually nevermind, it looks like I can disable the last two, so I just tried the FB version now. I still have the same problem (left/right arrows won't do anything)
Title: Re: Platformer game
Post by: ben_g on April 18, 2016, 04:26:33 pm
Quote from: DJ Omnimaga on April 18, 2016, 04:12:13 pm
I didn't try the facebook version, because of this:
QuoteVelocitygames Platformer will receive the following informations : your public profile, your friend list and your e-mail.


Those are the standard facebook app permissions. I'll change them as soon as I find out how. Currently, the plans are to let facebook users choose a nickname when they first open the game and give them a default avatar, but we may also use their profile pic as avatar and their first name as nickname. We don't need the friend list and email adress at all, and we also don't store any information about it on our server (though eventually, if we'd decide to use the name and profile picture from facebook, names and URLs to profile pictures may get cached on the server to decrease API calls and to make everything load faster, which currently already happens with gamejolt accounts).
Title: Re: Platformer game
Post by: DJ Omnimaga on April 18, 2016, 04:28:09 pm
Ah ok. My main worry was that most Facebook games will spam invites to all my friends as soon as I start playing without my consent.
Title: Re: Platformer game
Post by: ben_g on April 18, 2016, 04:38:29 pm
Quote from: DJ Omnimaga on April 18, 2016, 04:28:09 pm
Ah ok. My main worry was that most Facebook games will spam invites to all my friends as soon as I start playing without my consent.

Feel free to not use the facebook version if you don't trust it, but if we ever implement a system that can post messages on the accounts of users, it will only do that if the user explicitely asked for it. The platformer on the website will still remain the main focus (and I'll probably even alter the facebook version some time to make it use the same javascript as the version on our website), so you can just keep playing that version. The gamejolt version just iframes the platformer on our website, so it will keep being updated as well.

No functionality of that kind is currently planned though, and the platformer currently doens't even recieve permission to use that part of the API.
Title: Re: Platformer game
Post by: DJ Omnimaga on April 18, 2016, 05:12:59 pm
Yeah I know. I just thought that it was Facebook that made apps send notifications, not the apps authors themselves.
Title: Re: Platformer game
Post by: Jokeriske on May 07, 2016, 08:40:02 am
Does it work now?, Yeah we just put it on FB to test out how the integrations actually works, (could be usefull for next releases)
Title: Re: Platformer game
Post by: DJ Omnimaga on May 07, 2016, 05:19:08 pm
It seemed to work the last time I checked at least. :)
Title: Re: Platformer game
Post by: Jokeriske on May 15, 2016, 07:19:05 am
We should update this topic :P it still contains old links, i cant edit them otherwise i would
Title: Re: Platformer game
Post by: ben_g on May 15, 2016, 02:08:52 pm
I've changed the .tk into .be in the first post. I currently don't have time to check all pages for invalid links because of thesis and stuff, but feel free to let me know if something still needs to be updated.
Title: Re: Platformer game
Post by: Jokeriske on May 15, 2016, 03:03:52 pm
Quote from: ben_g on May 15, 2016, 02:08:52 pm
I've changed the .tk into .be in the first post. I currently don't have time to check all pages for invalid links because of thesis and stuff, but feel free to let me know if something still needs to be updated.



alright :D
Title: Re: Platformer game
Post by: DJ Omnimaga on May 23, 2016, 08:46:09 pm
On a side note, if you were using dot.tk service, then good move to have switched away from them, because I used them in 2004 and many people used them in 2010-11 and the uptime was absolutely terrible. (it depends which year)
Title: Re: Platformer game
Post by: Jokeriske on May 25, 2016, 01:12:23 pm
Quote from: DJ Omnimaga on May 23, 2016, 08:46:09 pm
On a side note, if you were using dot.tk service, then good move to have switched away from them, because I used them in 2004 and many people used them in 2010-11 and the uptime was absolutely terrible. (it depends which year)


yeah, we are going to try to do everything by ourselfes, hosting and developing our websites :)
Title: Re: Platformer game
Post by: DJ Omnimaga on May 26, 2016, 03:01:43 am
dot.tk was actually a domain name service but when I last used it, it only supported redirects. Later it supported using the domain name on websites, but I think their nameservers or DNS stuff were just terrible, so half of the time websites located on .tk domain names would never load at all. But I guess that's the price to pay for free services. Also they had a policy about how domain names were deleted if the site had less than 45 visitors per month or so, which I had an hard time getting at first back then.
Title: Re: Platformer game
Post by: Jokeriske on May 26, 2016, 04:00:40 pm
Quote from: DJ Omnimaga on May 26, 2016, 03:01:43 am
dot.tk was actually a domain name service but when I last used it, it only supported redirects. Later it supported using the domain name on websites, but I think their nameservers or DNS stuff were just terrible, so half of the time websites located on .tk domain names would never load at all. But I guess that's the price to pay for free services. Also they had a policy about how domain names were deleted if the site had less than 45 visitors per month or so, which I had an hard time getting at first back then.


we bought our domain name from trans ip , it was like 2 euros for 1 year, the only expensive thing was our email systems.

yeah we get more then 100 visitors each day so that was not the problem at dok.tk
Title: Re: Platformer game
Post by: DJ Omnimaga on May 26, 2016, 11:25:31 pm
Ah ok. Hopefully you won't have issues with the domain name you use now.
Title: Re: Platformer game
Post by: ben_g on May 27, 2016, 02:11:49 am
Actually, the .tk domain didn't give us issues either. We mainly decided to switch to .be because .tk is often not trusted (since it's a free TLD, they have significantly more spam content) and because free .tk domains are basically just 'borrowed', they're not seen as yours.
Title: Re: Platformer game
Post by: DJ Omnimaga on May 27, 2016, 06:42:09 am
Ah right, I forgot that back then, .tk domain names were often blocked at various places.