CodeWalrus

Miscellaneous => Arcade => Topic started by: Yuki on April 07, 2016, 04:03:54 AM

Title: Opossum Massage Simulator [arcade]
Post by: Yuki on April 07, 2016, 04:03:54 AM
By DJ Omnimaga and gameblabla






Controls
-Press X to do anything

Not working?
-Make sure you have one of the following browsers and that they're up to date: Opera, Chromium, Chrome, etc
-Do an hard-refresh (in some browsers it's Shift+F5 or Ctrl+R).

Thread (https://codewalr.us/index.php?topic=1129) | Download (https://codewalr.us/index.php?topic=670.msg35175#msg35175)
Title: Re: Opossum Massage Simulator
Post by: Dudeman313 on April 08, 2016, 12:10:16 AM
Yes! I got 1347 as my HS. Why doesn't typing work here?
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 08, 2016, 12:25:06 AM
I got 1432. I have no idea why.
Title: Re: Opossum Massage Simulator
Post by: Dudeman313 on April 08, 2016, 12:29:40 AM
Aw. You beat me. Can you type, or do you have to past test in like I do?
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 08, 2016, 02:03:08 AM
Well, just found the way to play AND reply to this thread! Have fun and feel free to share your high scores!

Now that this game works correctly, I can add more games!
Title: Re: Opossum Massage Simulator
Post by: Unicorn on April 08, 2016, 02:30:51 AM
Uh... The game doesn't work now?
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 08, 2016, 02:34:10 AM
Neither does it for me. Now all I see is a textarea telling me to click it to play, yet it does nothing.

I think @Juju might need to add browser-specific code <.<
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 08, 2016, 03:11:19 AM
You have to press X. Anyway it works fine for me.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 08, 2016, 03:43:00 AM
Quote from: Juju on April 08, 2016, 03:11:19 AM
You have to press X. Anyway it works fine for me.
Nope, not in Opera 36. I clicked the "press X to play" thing, then I hit the X key, but all it did was insert the X letter in the text.

I also tried without clicking the text, to no avail. There isn't even a black box anymore as placeholder.

Could you maybe revert the change just for Opera 36 (and Chromium)? You should make it cross-browser compatible. I don't plan to make the arcade official unless it is cross-browser compatible. We should avoid pushing site features that don't work for the majority of people.


EDIT: It seems like an hard-refresh might have done the trick. You should probably make the code so it forces a page refresh or something.
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 08, 2016, 06:31:15 PM
Updated the game and added some code so it runs well with Emscripten.

https://github.com/juju2143/opossum_massage
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 08, 2016, 06:36:31 PM
Yay! I should add the other versions to the first post.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 08, 2016, 11:08:40 PM
By the way, the game was updated to reflect the changes in the CSE version. I challenge anyone to get 1000 points when the opossum is satanic mad.
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 09, 2016, 03:02:20 AM
I think I survived Satanic Mad and got over 1920, lol.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 09, 2016, 03:05:02 AM
Wait, how is that even possible? The cursor moves up almost instantly. O.O
Title: Re: Opossum Massage Simulator [sdl]
Post by: Dudeman313 on April 09, 2016, 06:59:26 PM
I couldn't even get past sleepy. :P

Also, I can type here again. I wonder what was wrong in the first place.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 09, 2016, 07:18:42 PM
Apparently there was a bug which juju fixed. Also darn, Gameblabla's version is hard O.O

What would be cool is if he made it so we can control with the touchscreen.
Title: Re: Opossum Massage Simulator [sdl]
Post by: Dudeman313 on April 09, 2016, 07:50:50 PM
Or if this was on the Google Play store. It'd be the next Flappy Bird. :P
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 09, 2016, 08:37:15 PM
Ha yeah, I could definitely publish it there.
Title: Re: Opossum Massage Simulator
Post by: gameblabla on April 09, 2016, 09:26:00 PM
Well, too bad because i never designed the Gameblabla's Wrapper for touchscreen devices...
I also can't implement touchscreen controls in C because i don't own such screen.

The game isn't too complicated so perhaps it might be a good idea to reprogram it in Javascript/HTML5 ?
That's something i might do.
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 09, 2016, 09:38:42 PM
For mobile devices it's not terribly hard to do, it's built into SDL as the mouse.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 10, 2016, 06:02:41 AM
I see, gameblabla. Perhaps juju or someone else might know. Reprogramming the game could also be a solution. It was actually a bit hard to make on the CSE because of how xLIBC screen buffers work but otherwise it was kinda straightforward and simple, and the simplicity shows in the game speed (all I do is update the score, the mood meter and swap between two game buffers when a key is pressed).

On a side note, I noticed that in your game, the score increases even when no key is pressed lol. Maybe I should change my game to reflect that.
Title: Re: Opossum Massage Simulator
Post by: Snektron on April 10, 2016, 07:08:09 AM
Quote from: gameblabla on April 09, 2016, 09:26:00 PM
Well, too bad because i never designed the Gameblabla's Wrapper for touchscreen devices...
I also can't implement touchscreen controls in C because i don't own such screen.
You could always download the android emulator (AVD)
Title: Re: Opossum Massage Simulator [sdl]
Post by: Dudeman313 on April 13, 2016, 08:22:38 PM
The score increases without a key-press? I didn't know that.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 13, 2016, 11:03:18 PM
In the PC/Nspire version, yes, but in the CSE version, no. The score also increases much faster in the PC/Nspire versions because of the much higher frame rate.
Title: Re: Opossum Massage Simulator [sdl]
Post by: Dudeman313 on April 14, 2016, 08:16:54 PM
Oh, okay. That makes sense.

Also, why does it seem to have gotten harder since I last played...?  :-|
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 18, 2016, 11:41:20 PM
It's still at the same difficulty, but the mood mode difficulty is entirely luck-based, just like the original.
Title: Re: Opossum Massage Simulator [sdl]
Post by: Dudeman313 on April 19, 2016, 12:38:43 PM
I guess I have bad luck then. :P

EDIT: I think this is an all-time highscore! 1260 for Linear Mode! :w00t:
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 20, 2016, 11:45:27 PM
Actually I scored 1380 in linear mode, but that was a while ago. I never seemed to be able to get past that, because past 1300 it just gets unplayable lol.
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 20, 2016, 11:46:20 PM
I went past 2000 once iirc.
Title: Re: Opossum Massage Simulator
Post by: Unicorn on April 21, 2016, 05:15:28 AM
I got 1350, it really goes crazy at that point...
Title: Re: Opossum Massage Simulator
Post by: Yuki on April 21, 2016, 05:23:01 AM
Hint: Here's some Linear Mode scores to check for:

[spoiler=I'm spoiling the game here, open if you managed to beat my score or have read gameblabla's source]
0 - Sleepy
500 - Grumpy
1250 - Angry
2000 - SATANIC MAD

Scared (which would go between Grumpy and Angry) does not appear in Linear Mode.
[/spoiler]
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 21, 2016, 03:26:58 PM
Darn, I thought 1250 was Satanic mad. At the speed it was going at 1250 it was as fast as satanic mad in the CSE version. O.O
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on April 29, 2016, 05:01:41 AM
I have finally beaten my score and my highscore is now 1496. I wonder how I lasted so long past 1496. Maybe I just got too used to playing the CSE version with its lower frame rate. :P
Title: Re: Opossum Massage Simulator [arcade]
Post by: JWinslow23 on May 02, 2016, 02:06:32 AM
805 on mood mode, 1814 on linear mode. Nice.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 02, 2016, 04:50:21 PM
Nice. I bet at the max linear mode speed the cursor just moves instantly :P
Title: Re: Opossum Massage Simulator [arcade]
Post by: Dudeman313 on May 02, 2016, 05:21:18 PM
Impressive scores, @JWinslow23 !  O.O
Title: Re: Opossum Massage Simulator [arcade]
Post by: JWinslow23 on May 02, 2016, 07:18:00 PM
Only took 5 tries, too, for mood mode :P
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 02, 2016, 09:46:23 PM
Hm @JWinslow23 by the way you realize that mood mode is luck-based? So if you're lucky enough to not run into satanic-mad mode then you can rack up your score much more. :P
Title: Re: Opossum Massage Simulator [arcade]
Post by: Dudeman313 on May 04, 2016, 12:55:05 AM
Either I'm unlucky, or the game just doesn't like me. <_<
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 04, 2016, 01:13:23 AM
I lost <_<

You should be happy that OMS is easier than its spiritual prequel Hong Kong 97, though, and by far. :P
Title: Re: Opossum Massage Simulator
Post by: alexgt on May 13, 2016, 12:09:31 PM
Lol, when I was watching your vid about this on youtube DJ I found this: https://www.youtube.com/watch?v=L4ttVP2cyK4
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 13, 2016, 03:50:58 PM
Lol, actually the game is based on both that video series and Hong Kong 97
Title: Re: Opossum Massage Simulator
Post by: alexgt on May 13, 2016, 04:08:55 PM
Really! lo that is cool
Title: Re: Opossum Massage Simulator
Post by: Yuki on May 13, 2016, 04:30:16 PM
Yeah, I saw, the TI-Planet article (https://tiplanet.org/forum/viewtopic.php?p=201480#p201480) mention those videos, it's pretty cool indeed.
Title: Re: Opossum Massage Simulator
Post by: Unicorn on May 13, 2016, 09:27:56 PM
A bit more relevant: https://www.youtube.com/watch?v=cFvijBpzD_Y :P
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 13, 2016, 09:33:25 PM
Yup, this video and the massage one were my biggest inspiration. :P I saw the massage one in 2010 but I didn't notice the alien one until a few months before making this game.
Title: Re: Opossum Massage Simulator
Post by: alexgt on May 14, 2016, 12:33:24 AM
Lol, I find that to be a funny backstory xD
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 14, 2016, 02:37:23 AM
Remember, though, that the arcade, PC and TI-Nspire versions of this game were ported from the 84+CSE version by @gameblabla , though, and the story is different. Also, the ticalc.org and Cemetech versions of the CSE game don't mention Trump:

Quote from: Original version2017 AD - Earth is in danger. Opossums are your last hope. Their instinct let them detect aliens.

So US  leader Donald Trump got BruceLee's relative Chin out of retirement for his new massage skills.

Possum requires good massage to be happy. Massage him so he repels aliens back into space!!
Quote from: Abridged version (ticalc.org and Cemetech)2017 AD - Earth is in danger. Opossums are your last hope. Their instinct let them detect aliens.

So US  leader got BruceLee's relative Chin out of his retirement for his new massage skills.

Possum requires good massage to be happy. Massage him so he repels aliens back into space!!
Quote from: Gameblabla's version2017 AD - Trump's now president and promised his voters to ban aliens from murica.

Aliens felt offended by that and now, they want to kill all humans on earth for good. Earth is now in danger and opossums are our only hope.

Possums requires good massage to be happy. Massage him so he repels aliens back into space!! Good luck!
Title: Re: Opossum Massage Simulator
Post by: alexgt on May 15, 2016, 01:39:27 AM
That is funny. I wonder if that is on purpose.
Title: Re: Opossum Massage Simulator
Post by: Unicorn on May 15, 2016, 04:38:06 AM
In any case, the backstory is quite entertaining, did you put it in the readme?
Title: Re: Opossum Massage Simulator [arcade]
Post by: gameblabla on May 15, 2016, 05:17:23 AM
I have decided to improve it a bit.

(https://tiplanet.org/modules/archives/captures/1463288858oms_scr1.png)
I have added some sound effects and music to the game and it now comes with a new font.
The story was tweaked too (with some engrish at the end), here's how it looks like now :
[spoiler]
2017 AD
Trump is now president of the USA.
As promised, he will ban aliens from murica.

Aliens felt offended by that.
After much debate,
the alien assembly decided to invade earth
and kill all humans on it.

Earth is now in danger.
Opossums are our only hope.

However, opossums need to be massaged
to repel the aliens back.
Please chin, save our god, protect murica...
FOR GREAT JUSTICE !!!

Good Luck !
[/spoiler]

I have updated the Windows (https://github.com/gameblabla/opossum_massage/raw/master/possum_win32.7z) and the TI Nspire (https://codewalr.us/index.php?action=dlattach;topic=670.0;attach=1012) port.
However, Juju needs to update the arcade version so if you can juju,
that would be really nice.

QuoteThat is funny. I wonder if that is on purpose.
Yeah, more or less.
I thought DJ omnimaga's story could be improved so i tweaked it a little. :P
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 16, 2016, 12:54:34 AM
Haha I like the update actually. I saw the Nspire version now on ticalc.org looked different so I checked Github and downloaded the Windowss version. I was gonna poke @Juju to update the arcade copy.

This update is closer to the original at least, since it mentions Chin. :P (the CSE version is an unnoficial sequel to Hong Kong 97)


(also if you add @ before someone's nickname on the forums it notifies them via e-mail if they have that enabled) :)


EDIT: Also the engrish in the CSE version was intentional, but it was also because I could only display 20 characters per line. :P
Title: Re: Opossum Massage Simulator
Post by: Yuki on May 16, 2016, 02:23:40 AM
Yep, I'll update when I get to it.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 16, 2016, 06:11:39 AM
@gameblabla by the way there is an issue with the new version: There's no sound, even though your post and the readme says there is. I am on 64 bits Windows 7, by the way.
Title: Re: Opossum Massage Simulator
Post by: gameblabla on May 16, 2016, 10:17:46 AM
Quote from: DJ Omnimaga on May 16, 2016, 06:11:39 AM
@gameblabla by the way there is an issue with the new version: There's no sound, even though your post and the readme says there is. I am on 64 bits Windows 7, by the way.
Yeah, sorry. Sound was not enabled in the Windows build, oops.
It's fixed now, re-download it please.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on May 16, 2016, 06:55:13 PM
Yay! It works now :) I should make a Youtube video of the game (and retitle the CSE one to specify it's the original CSE version)


EDIT: Suggestions:

-Make the music so that it either never stops or at least resumes where it left off after closing the title screen. Or maybe make the music starts immediately at the I Wanna Be With You portion once gameplay starts. Otherwise we never really reach that part of the song lol.
-Make Donald Trump picture the same resolution as the two other pics, for the sake of consistency.

EDIT: There is now a Youtube video of the PC version in action :)

https://www.youtube.com/watch?v=xpzl3ECFr3w
Title: Re: Opossum Massage Simulator [arcade]
Post by: Dudeman313 on May 21, 2016, 03:53:07 PM
Nice. :)
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on December 06, 2016, 02:40:39 AM
@gameblabla , in mood mode I managed to survive one wave of Satanic mad O.O
Title: Re: Opossum Massage Simulator [arcade]
Post by: gameblabla on December 06, 2016, 04:58:27 AM
and I survived Satanic Mad twice in a row.
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on December 06, 2016, 06:54:13 AM
I assume we need spiritual guidance, like when trying to beat a stage at an LJN game? O.O
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on January 14, 2017, 03:12:47 PM
On a side note @Juju you should really update this, because the version in the first post is heavily outdated :P
Title: Re: Opossum Massage Simulator
Post by: gameblabla on January 14, 2017, 07:00:17 PM
Quote from: DJ Omnimaga on January 14, 2017, 03:12:47 PM
On a side note @Juju you should really update this, because the version in the first post is heavily outdated :P
It's partly my fault as i had not merged all of his Emscripten changes yet :p
Title: Re: Opossum Massage Simulator
Post by: Dream of Omnimaga on January 15, 2017, 09:15:48 PM
Ah I see. It's not a big hurry anyway. I wonder if it will lag with sound?