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

[HTML5][javascript] Platformer game

b/[Inactive] VelocityGames (PC/Web) Started by ben_g, July 07, 2015, 10:27:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/ben_g 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.
u/alexgt July 12, 2015, 01:22:10 PM
Awesome! it is (more) official now :)

I love playing this game BTW I am addicted O.O
u/Unicorn July 12, 2015, 03:13:24 PM
Yup, I'm addicted to :P
u/Dream of Omnimaga 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).
u/ben_g 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.
Last Edit: July 15, 2015, 11:40:41 PM by ben_g
u/Dream of Omnimaga July 13, 2015, 05:24:49 PM
Ok thanks for the info :).
u/Snektron 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
u/Unicorn July 13, 2015, 11:18:20 PM
No cheating cumred! :P
u/ben_g 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.
u/Unicorn 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?
u/ben_g 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.
u/Unicorn July 15, 2015, 04:30:26 PM
Cool, I was worried I would have to redo it every time. :)
u/Dream of Omnimaga 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.
u/alexgt July 16, 2015, 02:00:50 PM
I need to have time to play this, I haven't actually beaten the game yet :(
u/Unicorn July 16, 2015, 02:15:16 PM
Me neither, I have always run out of time to play. :/
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