Some oddities

Here, you can get help with anything or just chat about the original Commander Keen games.
User avatar
Stealthy71088
Vortininja
Posts: 174
Joined: Thu Nov 01, 2007 20:12
Contact:

Some oddities

Post by Stealthy71088 »

So I was playing through the original keen 1 today, trying to see if I could beat the game without firing a shot. In the first level, at the very end standing on the first set pink tiles above the ground, I saw two yorps get stuck in the wall like vorticons, one on the left side of the pink tile on the ground, and one on the left side of the red tile at the top of the bridge. I've never seen that before. Is this common knowledge?

Something else I remembered playing keen 4 but I keep forgetting to post on here- in Crystalus, there is one mad mushroom on the left hand side of the main level, at about mid height. This mushroom likes to sit there and do its normal bouncing routine, but if you sit there and wait long enough, it will jump, land on top of the jump throughable ground above it, and just start bouncing off that ground. The weirdest thing is that there is candy directly above that platform, at just the right height for the mushroom to jump through it on the high jumps. (as mushrooms in keen4 are known to do) Its almost as if the developers deliberately programmed for that glitch.
User avatar
MOM4Evr
Vortininja
Posts: 300
Joined: Wed Oct 20, 2010 23:47
Location: Online, at least at the moment
Contact:

Post by MOM4Evr »

Yeah, I've seen both of those. But good question about the second one. Anybody know under exactly what circumstances the second one happens? Because it doesn't happen always.
User avatar
Grimson
The Dragoner
Posts: 1833
Joined: Tue Jul 14, 2009 6:55

Post by Grimson »

But good question about the second one. Anybody know under exactly what circumstances the second one happens? Because it doesn't happen always.
It does, you just have to wait long enough.
"All those thousands upon thousands of junk foods made for me on the various planets I explored make me wonder how I'm still alive."
User avatar
Stealthy71088
Vortininja
Posts: 174
Joined: Thu Nov 01, 2007 20:12
Contact:

Post by Stealthy71088 »

I guess what I'm curious about is why does it happen? And why does it take so long to work? Is it bouncing different heights each time?

I've never seen it happen in the cave of descendants, but I'm pretty sure the way its set up, it should happen there too.
User avatar
Grimson
The Dragoner
Posts: 1833
Joined: Tue Jul 14, 2009 6:55

Post by Grimson »

I've never seen it happen in the cave of descendants, but I'm pretty sure the way its set up, it should happen there too.
Yup, happens there as well.
"All those thousands upon thousands of junk foods made for me on the various planets I explored make me wonder how I'm still alive."
User avatar
kuliwil
Blue-tongued Yorp
Posts: 1731
Joined: Wed May 12, 2010 8:51
Location: Facestalking Commander Spleen.
Contact:

Post by kuliwil »

I hadn't thought that it was a glitch at all!

But yeah, good question about variable jump heights!
"Hi, I'm Tom Sellick's moustache."
Image
User avatar
K1n9_Duk3
Vorticon Elite
Posts: 785
Joined: Mon Aug 25, 2008 9:30
Location: Germany
Contact:

Post by K1n9_Duk3 »

It might be due to an integer overflow in a timer variable. Let's say the shroom moves up a pixel every 10 frames. If the timer reaches, for example, 255 and is increased again, it will be set to 0 (assuming the timer is a 1-byte variable). This will cause the shroom to move up about 5 frames too soon, thus making it jump higher and reach the higher platform.

I'm sure this is not exactly what happens in Keen 4, but it explains a possible cause.
Hail to the K1n9, baby!
http://k1n9duk3.shikadi.net
User avatar
KeenRush
Android Dummy
Posts: 2560
Joined: Sat Oct 27, 2007 20:57
Location: KEEN1.EXE
Contact:

Post by KeenRush »

That bug with yorps has never happened to me, in all my years of Keen 1 playing (or then I've just never noticed it). But I don't doubt it, the enemies are likely to share pieces of coding...

As for the mad mushroom, I've noticed that happening in Crystalus and the Cave but I didn't know that it will always happen if one keeps waiting. Neat. Maybe it's a rounding 'error' with a variable so that at some point the height of the jump becomes 1 pixel too high and that's enough to make them get on the higher platform (if it's not a bug, it's a pretty nicely hidden feature).
My newest mod - Commander Keen: Sunset: viewtopic.php?t=8568 | codename H.Y.E.N.A.
User avatar
Levellass
S-Triazine
Posts: 5266
Joined: Tue Sep 23, 2008 6:40

Post by Levellass »

Never noticed the Yorp bug before. It needs snapshotting and posting on keenwiki.

If what we have is a timer bug, then it should be predictable, it should always take x jumps before the error occurs. Possibly also it's a sprite clipping error.
What you really need, not what you think you ought to want.
User avatar
Nospike
Keen Minecrafter
Posts: 1402
Joined: Tue Mar 30, 2010 13:56
Location: Czech Republic

Post by Nospike »

Well, since I've got new sprites for Botafloria, the stuck yorp bug sometimes happens. It's strange, because only the sprite image got changed, the hitbox is intact... so it probably isn't a problem with the sprite itself.
User avatar
Levellass
S-Triazine
Posts: 5266
Joined: Tue Sep 23, 2008 6:40

Post by Levellass »

Possibly if you change the Yorp searching\stunned spees from zero to a very small positive value, such as $0002W, that might trigger the 'hit wall' response?
What you really need, not what you think you ought to want.
User avatar
Nospike
Keen Minecrafter
Posts: 1402
Joined: Tue Mar 30, 2010 13:56
Location: Czech Republic

Post by Nospike »

Yeah, I changed the duration of the searching animation.
davidchatman
Grunt
Posts: 7
Joined: Tue Jul 12, 2011 4:46

Post by davidchatman »

I want to know the answer of second question.
Gridlock
Vorticon Elite
Posts: 617
Joined: Thu Aug 12, 2010 2:20

Post by Gridlock »

I've noticed that the gravity of the Mad Mushroom seems to change sometimes. The jumping and falling speed often seems to go from fairly slow to a lot faster and vice-versa. It's rather subtle, and it took me years to notice, but I bet it has something to do with that oddity.

Also, has anyone noticed that if you save and load in the last part of Crystalus (after the door) that the camera often gets messed up and you can see the bottom EDGE OF MAP blocks and random garbage below them?
User avatar
Stealthy71088
Vortininja
Posts: 174
Joined: Thu Nov 01, 2007 20:12
Contact:

Post by Stealthy71088 »

Saw that one on my first playthrough. I was little and didn't understand what was meant by map.
Post Reply