Author Topic: The World's Hardest Game  (Read 43013 times)

0 Members and 1 Guest are viewing this topic.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
The World's Hardest Game
« on: October 20, 2010, 10:59:13 pm »
Direct download of latest version: http://www.omnimaga.org/index.php?action=dlattach;topic=4938.0;attach=4410
a hard level http://www.omnimaga.org/index.php?action=dlattach;topic=4938.0;attach=4416
some more levels http://ourl.ca/7535/140139


Since sometime in July, I've been working on porting The World's Hardest Game to Axe.  Finally, I've finished it.
In this game, you pick up 'coins' while avoiding enemies and then try to reach the finish.  Some levels may be easy, while others may be harder.
I went further than the flash version goes, however, and made a level editor.  The levels are created as appvars, but you can export them to linking-program-friendly programs and back again.
 

The game is compatible with the 83+BE, yet it contains a Full Speed Mode option.
More screenies.
 

Known bugs

Using teacher key (DEL), sometimes the location of the player sprite is shifted around, specifically from the very top to the very bottom.

Also, full speed is not reactivated on continue.  It's probably more of an asset than a bug to the person playing it, though.

Sometimes, an enemy seems to get corrupted and is displayed something like a pair of parenthesis while moving twice as fast.



Compile the level editor as an app.  The game can be a program.  The sample level needs to be imported before it can be played.  Just do it at the level select screen.
Also I feel that I should inform you that this program may cause you to lose the game...

EDIT: Current version here (link goes to the post)
« Last Edit: January 24, 2012, 09:33:26 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The World's Hardest Hame
« Reply #1 on: October 20, 2010, 11:06:40 pm »
Wow I loved that game in Flash despite most levels being very hard, I'm glad it's ported to calcs. When it is finished you should upload it in the download section and ticalc.org. I wouldn't be surprised if this was featured. I'm gonna try it as soon as I can :). It looks pretty nice too, by the way :). Good luck fixing the bugs!

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: The World's Hardest Hame
« Reply #2 on: October 20, 2010, 11:09:03 pm »
I loved this game!

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: The World's Hardest Game
« Reply #3 on: October 20, 2010, 11:50:37 pm »
Oh and another bug--the app randomly deletes itself, so it would be wise to not delete the source.
I think it has to do with it not being signed.

Edit.
I'll try to upload more sample levels tomorrow.  You could easily make your own though... ;)
« Last Edit: October 21, 2010, 12:10:01 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The World's Hardest Game
« Reply #4 on: October 21, 2010, 12:55:15 am »
Oh it's normal. An unsigned APP is like a trial app for the calc. Back in the days, there were paid apps on TI website. After 16 runs these apps delete themselves.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: The World's Hardest Game
« Reply #5 on: October 21, 2010, 12:57:26 am »
Ah, that explains it.
I have an idea for how to fix the DEL bug, but the parenthesis bug just baffles me ???
Vy'o'us pleorsdti thl'e gjaemue

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: The World's Hardest Game
« Reply #6 on: October 21, 2010, 01:18:03 am »
I see that you posted the source for all this Darl, want me to try to help optimize it?

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: The World's Hardest Game
« Reply #7 on: October 21, 2010, 01:22:59 am »
Go ahead
Right now, it's anything but optimized :P
I was trying to do this.
« Last Edit: October 21, 2010, 01:23:36 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: The World's Hardest Game
« Reply #8 on: October 21, 2010, 01:24:18 am »
The parenthesis is 2 ball sprites xored on top of each-other with one slightly shifted.  You likely initialized 2 sprites there by mistake instead of 1.  Cool game by the way :)
« Last Edit: October 21, 2010, 01:24:55 am by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Re: The World's Hardest Game
« Reply #9 on: October 21, 2010, 01:30:03 am »
That is amazing! What a great idea!
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: The World's Hardest Game
« Reply #10 on: October 21, 2010, 01:33:23 am »
The parenthesis is 2 ball sprites xored on top of each-other with one slightly shifted.  You likely initialized 2 sprites there by mistake instead of 1.  Cool game by the way :)
xor?  What is that?
In any case, I didn't use that.

Maybe I should explain how the appvar is structured.
The first 96 bytes are the static map. That's the walls, start, finish, coins, and respawn points.
The rest of it is the enemies.  Each enemy has three bytes.
1st byte: destination
2nd byte: direction
3rd byte: current location
The starting location is determined by its placement in the appvar.  They are moved one pixel in the direction (2nd byte) until the current location (3rd byte) is equal to the destination (1st byte).  Then, it reverses until it reaches the starting position, again determined by its location in the appvar.
My guess is that I somehow messed up the equation that references the enemies and it refers--and moves and draws--the same enemy twice or something.

Oh and another thing.  Sometimes, when I add another enemy before the faulty enemy, it suddenly starts behaving or another one might turn into a pair of parenthesis and go twice as fast.

« Last Edit: October 21, 2010, 01:36:05 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Madskillz

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 488
  • Rating: +32/-2
    • View Profile
Re: The World's Hardest Game
« Reply #11 on: October 21, 2010, 02:08:42 am »
It does indeed look like the sprites have been XORed.
Basically XOR means that all the black pixels when placed over the top of another black pixel they become white. (All the 1 and 1s become zeros)

So a an 8x8 image of your enemy over laid with an image shifted one row up and placed over the top gives you your parenthesis:
00000000         00000000        00000000
00000000         00011000        00011000
00011000        00111100        00100100
00111100        00111100        00000000
00111100        00011000        00100100
00011000         00000000        00011000
00000000         00000000        00000000
00000000         00000000        00000000

If you watch the enemies when they cross paths with each other they show this effect.
« Last Edit: October 21, 2010, 02:12:10 am by Madskillz »

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: The World's Hardest Game
« Reply #12 on: October 21, 2010, 02:09:44 am »
That makes sense.  The way I have the sprites display is Pt-Change( .
Vy'o'us pleorsdti thl'e gjaemue

Offline Madskillz

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 488
  • Rating: +32/-2
    • View Profile
Re: The World's Hardest Game
« Reply #13 on: October 21, 2010, 02:25:42 am »
Pt-Change( does in fact XOR the pixels

I don't know why it only happens with that one set of enemies though and not the rest.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: The World's Hardest Game
« Reply #14 on: October 21, 2010, 02:35:49 am »
My guess is that I somehow messed up the equation that references the enemies and it refers--and moves and draws--the same enemy twice or something.

I think I may have done something wrong in an optimization that I tried to do.  They're doing the exact same thing, the duplicate being one pixel behind.
Vy'o'us pleorsdti thl'e gjaemue