Using a Different Sprite for The Player in Certain Levels?

Request patches for Keens 1-3.
Post Reply
User avatar
Bitemaster
Posts: 21
Joined: Sat Feb 06, 2016 3:46 am
Location: Windows 95 CD (with PLus!)

Using a Different Sprite for The Player in Certain Levels?

Post by Bitemaster » Sat Feb 06, 2016 4:45 pm

Is it possible to make a patch change the sprite that represents keen in the middle of the game? In essence, for a certain level, read a different area of the sprite file and use that sprite instead of the normal keen player sprites, so Keen can, for instance, turn into an evil version of himself. I heard having custom tilesets for each level was done in a similar way.

I could be completely off base on this or it could be way too much work but please let me know :) I'm trying to make a Dr. Jekyll and Mr. Hyde themed mod, you see, and this would make or break it.

Nospike
Posts: 158
Joined: Fri Apr 23, 2010 1:54 pm
Location: Some cool place, idk

Post by Nospike » Sat Feb 06, 2016 6:43 pm

This would probably require something similar to V2 that also includes sprite graphics. Sounds like a pretty massive deal to me.

I ain't Lemm or Lass though, so I can't really tell. You'll want to hear from them on this matter.

User avatar
Bitemaster
Posts: 21
Joined: Sat Feb 06, 2016 3:46 am
Location: Windows 95 CD (with PLus!)

Post by Bitemaster » Mon Feb 08, 2016 9:03 am

Thanks Nospike! Yeah, it might not be doable for some reason. I will have to ask around more.

User avatar
troublesomekeen
Posts: 212
Joined: Fri Feb 03, 2012 7:56 pm
Location: Shadowlands
Contact:

Post by troublesomekeen » Tue Feb 09, 2016 10:54 pm

This would be quite a hefty patch, and use up a lot of frames.
I've only seen Szemi's Dreams mod do this (released not too long ago) and ValoKeen came close to it.

If I had to attempt this in a Galaxy mod, I'd use masking tiles to create the illusion of the Keen sprite changing colors.

levellass
Posts: 2790
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Sun Feb 14, 2016 4:04 am

This will depend on what game you're modding and what you want to do. The patch would be big but not necessarily undoable. (See Szemi's mod where we managed to change the player sprite, score panel and items.)


The biggest and most complex undertaking would be Vorticons Keen having two different appearances while still doing all the stuff he does normally. First you'd need patches to simplify the number of animations Keen uses (There's a lot of redundancy in the original code.) followed by something that switches his appearance back and forth when placed in a level. If undertaken by me it'd take a while, my Keening time has been reduced since I started working.

User avatar
Bitemaster
Posts: 21
Joined: Sat Feb 06, 2016 3:46 am
Location: Windows 95 CD (with PLus!)

Post by Bitemaster » Mon Feb 15, 2016 3:35 pm

Thanks! I'm not too anxious to have it done soon, as I have discovered and been enthralled with the Commander Keen Source Mod and might go that way instead of a Keen 1 mod. In that case I would just do it with source.

I understand you are busy, and so I will ask about it again if and when I want to do that with a Keen 1 mod. Thanks :)

Benvolio
Posts: 212
Joined: Sun Aug 29, 2004 4:44 pm
Location: Ireland
Contact:

Post by Benvolio » Mon Feb 15, 2016 10:57 pm

What about switching the in-level sprite with the map sprite following some trigger (picking up an item, flipping a switch, death etc)... you could then further patch the mechanics of one or both of those sprites, making for some interesting phenomena. But I guess a level has to be determined map or non-map from the start to dictate the behaviour of many tiles (hazards, points etc) and sprites (e.g. yorp vs 'level1.ck1') so maybe the above is not a possibility.

Perhaps another thing that could happen is for Keen to temporarily switch into one of the enemies. First person experience of garg, yorp etc have been patched many years ago if I recall correctly (I went trying to dig up all those sprite patches recently but I couldn't find them). If you had some area in a level that was impassable by the basic Keen sprite, you could have him transform into say a robot or bionic sprite which could then get him through that area. There are quite a lot of hypothetical possibilities, without even doing what above posters have suggested and coded in extra sprite images for Keen.

levellass
Posts: 2790
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Tue Feb 16, 2016 3:10 am

The map thing no, the way levels and sprites are handled are incompatible there. First personing as an enemy might work but there are still issues there. (turning INTO an enemy is easy, but it just acts enemy-ish.)

Nospike
Posts: 158
Joined: Fri Apr 23, 2010 1:54 pm
Location: Some cool place, idk

Post by Nospike » Tue Feb 16, 2016 1:05 pm

Benvolio wrote:If you had some area in a level that was impassable by the basic Keen sprite, you could have him transform into say a robot or bionic sprite which could then get him through that area.
Like the transformation bubbles in Yoshi's Island? I'm liking what I hear, here! :P The puzzles!

levellass
Posts: 2790
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass » Wed Feb 17, 2016 4:15 am

Or in Biomenace. Getting Keen to transform is simpler, it's like the crawling mechanic I already patched into a mod somewhere.

Post Reply