Palette Quest 2.0!

Started by monkey0506, Sat 04/06/2005 06:34:21

Previous topic - Next topic

monkey0506

http://www27.brinkster.com/meleepta/AGS/PaletteQuest.zip
(Link outdated).

I don't think this really qualifies as a game, but it kind of is one.  I was just playing around with the CyclePalette and FlipScreen functions.

And I came up with this.  I'm posting here because it's not really a "game" per se, but yet there is a score system, and you can beat the game.  Just listen carefully, and time yourself correctly and you can win (although it's hard).

[EDIT:]

07 July 2006!!!

I warned you people. But you just wouldn't listen. No...you had to go and push me to the EDGE! And I've made Palette Quest 2.0: The Unwinnable Version!

Everything is random from the palette indices used for cycling to the timing of the cycling and of the flipping and the screen shaking...

But you can't actually win this time around. It just creates some nice visuals...as long as you're not prone to epilectic...epopelotic...hiphopotronic...SEIZURE DISORDER WARNING: this game WILL CAUSE YOU TO HAVE SEIZURES!!!

Anyway...new links:

Download the original Palette Quest
Download Palette Quest 2.0 (NEW!)

PsychicHeart

doesn't work for me. i click the link, but the "This page cannot be found" appears. Damn, it sounded good. :=
Formerly known as Flukeblake, Flukezy etc.

scotch

Works for me... but I can't work out what to do.  He says you have to put it back the way it was? Well I did that and nothing... You say you have to listen? I get no sound...

Phemar


monkey0506

Heh...I didn't mean for that to be taken quite so literally (as in, listen to what Roger says... :P).  He says that "You'll have to put it back the way you found it."  He means that too... Let me see if I can figure out how to get the spoiler tags to work.

Spoiler
1.  Press and hold the Left mouse button.
--The palette will begin to cycle from start 0 to end 41.
--Every 25 loops the screen will flip, in the following order:
----from normal view to vertical flip
----from vertical flip to horizontal flip
----from horizontal flip to vertical-horizontal flip
----from vertical-horizontal flip to normal view
2.  Release the mouse button.
You must do THREE things in order to win:
1.  Restore the EXACT original palette.
2.  Restore normal view.
3.  Release the mouse with 1 & 2 completed.
You have to do these at the same time, so only doing one (or just holding the mouse button) accounts for nothing.

IF you win, a couple of messages are displayed to that effect and a QuitGame(0) is called.
[close]


Okay.  Highlight the above for the solution, but like I said, it's not easy.

As for not being able to download it, try copying and pasting the link.

And here's a hint in case you didn't catch on to this:

Spoiler
The palette is cycled completely every 41 loops, while the screen is returned to normal view every 100 loops.  That comes up to 102.5 seconds...  Start counting.
[close]

Wow...I was just looking at the code, and I think I may have put in one too many parameters in this if statement... Well, if you'll give me a second to re-upload, the odds of winning ATM are astronomical...:

Spoiler
The code goes something like this:
// global scope
short frame = 0;
short flip = 0;
bool waited = false;
short origPal[3];

// game_start
origPal[0] = palette[32].b;
origPal[1] = palette[32].g;
origPal[2] = palette[32].r;

// rep_ex
if (mouse.IsButtonDown(eMouseLeft)) {
    CyclePalette(0, 41);
    if (frame == 25) {
      FlipScreen(flip);
      if (flip == 0) flip = 2;
      else if (flip == 1) flip = 3;
      else if (flip == 2) flip = 1;
      else if (flip == 3) flip = 0;
      frame = 0;
      }
    else frame++;
    waited = true;
    }
  if ((palette[32].b == origPal[0]) && (palette[32].g == origPal[1]) &&
    (palette[32].r == origPal[2]) && (waited) && (!mouse.IsButtonDown(eMouseLeft))
    && (frame == 0) && (flip == 0)) {
      GiveScore(500);
      Display("You won!");
      Display("You scored %d out of %d points!", game.score, game.score);
      QuitGame(0);
      }

That's pretty much the entire global script.  But do you see what's wrong?  I checked the variable frame to see if it was set to 0.  If flip is set to 0, frame could be anywhere from 0 to 25 and still be correct... I'll fix this and re-upload.
[close]

Sorry about that.  I really didn't mean to make it quite that impossible...  Re-tested, and it's definitely win-able now...

Probably not even difficult any more...  Well, I actually had some difficulty that second time.  I tested it twice, the first time I won in about 30 seconds, the next I won in about 2 minutes, so:

1.  It's definitely win-able.
2.  It's still as difficult as intended.

nihilyst

Yeah, if won on the first try. Am I the God of the Palettes now?

Well, guess not ...

Paper Carnival

#6
I was just randomly clicking, and I won eventually, with 500 out of 500 points ???

PsychicHeart

ooohhhh.... i think i'm dizzy..... man this is like a fantasy when you're high. Flashing colours.... aaaagggghhh..... i am the elephant man..... weeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee......


Okay... that was seriously weird. Nice game ( kind of ) in it's own way.
Oh, i think i need to vomit.
Formerly known as Flukeblake, Flukezy etc.

monkey0506


Bad Voo-doo man

Oh god! The seizures! I give up lol, pretty cool though!
<img>Image Comming Soon!</img>
The Fall of Reach (A Halo fan game)
STORY: 100%
GRAPHICS: 2%
CODE: .56%

=The=Brat=

that was trippy and i thindkfd xdgfv d;fl  :-X dsf  ???fsd  := ferf  effsadd

got it? fdjgf fdstft and then he fgnrogmf  me up the dfjdgjsd dfkejfdk fkdkjf coz i said dsrjr

skw

Quote from: Guybrush Peepwood on Sat 04/06/2005 11:47:13
I was just randomly clicking, and I won eventually, with 500 out of 500 points ???

So do I.

Damn, I'm having a headache now...

Nice.
a.k.a. johnnyspade

monkey0506

GREAT!  My plans to take over the world are unfolding beautifully!  If I give everyone seizures and headaches, soon they will bow before me, begging for mercy! Muahahahahha!  MUAHAHAHHAHAHAHA!


What?  What evil plans?  I don't know what you're talking about!

PsychicHeart

Formerly known as Flukeblake, Flukezy etc.

monkey0506

I'm thinking of making a version 2 in which the room is automatically flipped to a Random() position and the palette is auto-cycled a Random() number of times when the player enters the screen, and, in addition, the rate at which the screen flips, the manner in which it flips, and the palette index which is tested to check palette restoration is completely Random(). :D  That would be so awesome.

Rui 'Trovatore' Pires

How come often it LOOKS like the screen is correct, and the mouse movements too, and yet he doesn't say anything? I swear I got it *looking* right 3 times. Then I just gave up and clicked aimlessly till I won, which happened eventually.

A Random version might be fun if what I just described didn't happen there either.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

PsychicHeart

omg, i just had an idea. how about, instead of colors changing (and so forth) you change the character every time you click. It starts out as the default Roger sprite, and then each time you click it transforms into an AGS member.
oh by the way...

Spoiler
I think that the easiest way to win is by clicking realllllllllllllllllllllllllllllllllllllllyyy softly. Remember, soft is sweet, hard is... wtf
[close]
Formerly known as Flukeblake, Flukezy etc.

TheYak

I've never bitched about signature size but Fluke, that's a hyperbolic amount of irritatingly ridiculous.

Raider

WHOW change sig Fluke that is way too big!

[EDIT]-----
Yeah... what Yak said. ^

Eggie

Jesus appeared on my wall and told me to tell you to change it...

SMF spam blocked by CleanTalk