CodeWalrus

Miscellaneous => Arcade => Topic started by: Juju on April 07, 2016, 03:59:17 am

Title: Arcade Bugs and Suggestions Thread
Post by: Juju on April 07, 2016, 03:59:17 am
Welcome to our CodeWalrus Arcade, featuring all your favourite games made by the community for calculators, playable straight from your web browser! Of course, you need a recent browser in order to play.

How to add games
This section is read-only, only staff should be able to add a thread, so if you made a good game just notify the admins or post in this thread and we'll gladly add it, if we're able to compile it for the web, or using an emulator we have that works in Javascript. Games using Javascript, SDL or KnightOS are known to work with the Arcade, although we won't host copyrighted ROMs at this time, so TI-BASIC/Axe/Asm/etc. games are pretty much no. If in doubt, feel free to ask.

How to play
Instructions should be given in each thread.

This section is very experimental, so a few bugs may appear here and there. Make sure you have the latest version of a recent browser before making a bug report.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 07, 2016, 04:04:36 am
Something I am curious about is if it would be feasible to track scores. That seems like something that would be hard.

Also it would be much better if some of the older calc games could be converted to HTML5 or something since right now we're pretty much gonna only have Nspire stuff. :P Supersonic Ball would be a nice game to add.

Make sure to not just mindlessly add anything, though. Check licenses first if you have to ask permission or not and stuff like that.

EDIT: Also controls for OMS don't work.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on April 07, 2016, 04:16:47 am
Yeah, I'd ask the author before adding anything. I'm currently investigating why OMS isn't working right, it's weird, it works perfectly not in iframe.

EDIT: Found a kind of workaround...
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 07, 2016, 04:54:24 am
What is the workaround? Also I am curious about what the actual game file is like. :P

EDIT: Keys still don't react (in Opera)


Also, if you can easily alter games, then it would be nice to limit the frame rate to 30 or something.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Unicorn on April 07, 2016, 06:59:11 am
Opossum is fun! I got a highscore of 1266 :) Awesome idea with the arcade!
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on April 07, 2016, 07:40:18 am
I removed the iframe, finally. Anyway, it's a bunch of C code compiled to Javascript, nice it works this fast.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Snektron on April 07, 2016, 09:21:14 am
I can't seem to post on arcade threads. When i try to type nothing happens :(
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 07, 2016, 05:36:19 pm
@Juju keys still won't respond even after the change that got rid of the iframe. Tested in Opera 36.0. Even after clicking the game numerous times, it still focuses on WalrusIRC (or elsewhere on the page if I click another text area.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 20, 2016, 10:42:26 pm
On a side note, @JWinslow23 do you know if Scratch has the ability to export games to be playable on another website, but neither in Java nor Flash format? Because I think Wal-Rush! would be a nice addition to the CW arcade. :)
Title: Re: Arcade Bugs and Suggestions Thread
Post by: JWinslow23 on April 21, 2016, 01:10:33 pm
Quote from: DJ Omnimaga on April 20, 2016, 10:42:26 pm
On a side note, @JWinslow23 do you know if Scratch has the ability to export games to be playable on another website, but neither in Java nor Flash format? Because I think Wal-Rush! would be a nice addition to the CW arcade. :)

I don't know.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Dudeman313 on April 22, 2016, 07:11:21 pm
I know Scratch lets you embed things, but I don't know what formats.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 22, 2016, 09:40:57 pm
Yeah, I prefer avoiding using different hosts for arcade games, in case they ever disable hotlinking, change their API or something.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Dudeman313 on April 22, 2016, 10:57:06 pm
Well, we could always put Wal-Rush! CE in the arcade section instead, right?
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on April 23, 2016, 03:08:25 am
If you'd need a copyrighted ROM to play, then no. We could technically propose it in the arcade, but the only issue is that we shouldn't use TI's ROMs. @JWinslow23 if you can give me the link to your Scratch version I might be able look at it.

And yeah we prefer HTML5 over Flash and Java because the latter two are getting obsolete in favor of HTML5 (and Java applets are just being a huge pain nowadays), although we might be able to export Flash animations in HTML5. Also we prefer hosting the files ourselves if we can.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: JWinslow23 on April 23, 2016, 03:17:48 am
https://scratch.mit.edu/projects/91337413/
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 23, 2016, 03:37:44 am
What Juju said. THat's unless there is a web-based, non-Flash/Java Atari 2600 emulator that can be freely useable by anyone on their site (I guess something that requires putting the emulator credits below the game screen is fine) and that it lets you load ROMs automatically on page load. But then I doubt there would be any highscore saving.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: JWinslow23 on April 23, 2016, 04:30:32 am
Quote from: DJ Omnimaga on April 23, 2016, 03:37:44 am
What Juju said. THat's unless there is a web-based, non-Flash/Java Atari 2600 emulator that can be freely useable by anyone on their site (I guess something that requires putting the emulator credits below the game screen is fine) and that it lets you load ROMs automatically on page load. But then I doubt there would be any highscore saving.

Javatari (http://javatari.org/) comes to mind. It has auto-launch support and support for saving games, but the one caveat is that it's written in pure Java. Apparently, though, according to the website, with HTML5, you don't need the Java plugin. Dunno how that works, but that's actually my main emulator besides Stella, so take a look at it.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on April 23, 2016, 04:52:44 am
Yeah, I was checking that out, along with a few JS Scratch libraries. Now to find a solution that works...
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 23, 2016, 04:54:45 am
Another solution could be to redo the game in CSS3, HTML5 and whatever is required to make a game out of those. :P But if JS is involved then cheating will be rampant.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on April 23, 2016, 05:01:04 am
Eh, I think you'll need at least some JS anyway. (Well when we say HTML5 games, JavaScript is mostly always involved.)
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 23, 2016, 05:06:42 am
Doesn't AJAX run from the server? I wonder if that could be used instead? (safely)
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on April 23, 2016, 05:17:40 am
That's a part of JavaScript to enable client-server communications.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on April 26, 2016, 04:13:50 pm
I have updated the arcade listing:

-Games that also work on touchscreen devices now have a [mobile-friendly] label
-All games now have [arcade] as replacement to the platform tags, to avoid confusion with already existing topics elsewhere on the forums (mobile devices won't show in which board topics are in if you browse the Recent Posts list)
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Dudeman313 on April 30, 2016, 02:21:02 am
Good! :)
Title: Re: Arcade Bugs and Suggestions Thread
Post by: gameblabla on September 24, 2016, 04:37:29 am
I would like to add KillMinds to the arcade section please :
https://github.com/gameblabla/killminds (https://github.com/gameblabla/killminds)

The source code is under "Javascript_retranslation".It was named like that because it was converted directly from the C code to Javascript.
(that's due to how their syntax is similar)
The game is optimised for mobile and the game's native resolution is 320x480.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on September 24, 2016, 04:38:36 am
Thanks, I'll look at this soon.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on September 24, 2016, 04:56:14 am
KIllminds would be a nice addition!

/me also pokes Juju to port Supersonic Ball to HTML5 or something.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on September 24, 2016, 06:01:41 pm
There, added it. Have fun.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on September 24, 2016, 08:13:03 pm
Awesome! Hopefully we can have more games in the future. Also if anyone makes homebrew besides gameblabla they are free to post about them too and we would be happy to add them to the arcade :)
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on September 25, 2016, 12:50:47 am
Yep. I remind you that if you see a nice game somewhere on the forums (not necessarily in Javascript, SDL works as well as some others), just post here and I'll look at it.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: gameblabla on October 04, 2016, 03:36:35 pm
I have made yet another game, this time it is kind of a sequel to Rubby Bird.
It's Rubby Bird 100 which, unlike its predecessor, you have to rub 100 birds at the same time !
https://github.com/gameblabla/rubbybird100 (https://github.com/gameblabla/rubbybird100)

As usual, it was translated from C to Javascript. It uses a native resolution of 320x480 and it can save your highscore to localstorage.
Please, add it to the Arcade.

Also juju, you forgot to update Killminds. I suggest you do so because it fixes some touch issues in fullscreen.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: Juju on October 04, 2016, 04:17:46 pm
Done and done. Timer seems to not work on Rubby Bird 100, though.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: gameblabla on October 04, 2016, 04:31:17 pm
Finally fixed that.
Unintialised variables are evil you know.
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on October 04, 2016, 04:33:38 pm
Bug report to @gameblabla : RubbyBird shows bird sprites instead of :walrii:

Just kidding, so far it seems the arcade works nicely. I wonder, though, if it would be possible to make Wal-Rush 2600 so that  touching the game screen on mobile acts like if we hit the fire button?
Title: Re: Arcade Bugs and Suggestions Thread
Post by: gameblabla on October 04, 2016, 04:38:33 pm
Quote from: DJ Omnimaga on October 04, 2016, 04:33:38 pm
Bug report to @gameblabla : RubbyBird shows bird sprites instead of :walrii:

Walrii 100 : rub 'em all.
Not a bad idea but i like the birds better. :P

QuoteI wonder, though, if it would be possible to make Wal-Rush 2600 so that  touching the game screen on mobile acts like if we hit the fire button?

I guess some kind of a wrapper could be made.
Or you know... just make the game from scratch.

At this point, we should just rename it to the Gameblabla's Arcade lol
Title: Re: Arcade Bugs and Suggestions Thread
Post by: DJ Omnimaga on October 04, 2016, 05:01:44 pm
I actually remade the game from scratch, but it's for the wrong platform (and requires a ROM) <_<