Xuel Posted January 22, 2019 Share Posted January 22, 2019 You can change the robot's secondary color in Altirra with the following command: e 4164 94 You can make this permanent by changing location $1e93 (7827) in the .XEX file.Likewise, to enable 3-color PMGs: e 419d 31 .XEX: $1ecc (7884)Unfortunately, you cannot have two shades of gray and a color with OR'ed PMGs due to the ordering of the palette.The way 3-color PMG's works is that each pixel's color is the OR of player #0's and player #1's colors at that pixel, where the player's color is either transparent or some color depending on whether that pixel's bit is set in the PMG bitmap. So, to take Jose's example where P0's color is $C and P1's color is $94, then the possible colors are as follows: Hue Luma P0 0000 0000 ($00) Transparent P1 0000 0000 ($00) Transparent --------------- P0+1 0000 0000 ($00) Transparent Hue Luma P0 0000 0000 ($00) Transparent P1 0000 1100 ($0C) Light Grey --------------- P0+1 0000 1100 ($0C) Light Grey Hue Luma P0 1001 0100 ($94) Dark Blue P1 0000 0000 ($00) Transparent --------------- P0+1 1001 0100 ($94) Dark Blue Hue Luma P0 1001 0100 ($94) Dark Blue P1 0000 1100 ($0C) Light Grey --------------- P0+1 1001 1100 ($9C) Light Blue mr-robot-color-0c-94.xexEDIT 2019-01-23: Change P1/P2 to P0/P1. 6 Quote Link to comment Share on other sites More sharing options...
+Philsan Posted January 22, 2019 Share Posted January 22, 2019 You can design three colors sprites with this tool: http://playsoft.co.uk/ 5 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 22, 2019 Author Share Posted January 22, 2019 You can change the robot's secondary color in Altirra with the following command: e 4164 94 You can make this permanent by changing location $1e93 (7827) in the .XEX file. Likewise, to enable 3-color PMGs: e 419d 31 .XEX: $1ecc (7884) Unfortunately, you cannot have two shades of gray and a color with OR'ed PMGs due to the ordering of the palette. The way 3-color PMG's works is that each pixel's color is the OR of player #1's and player #2's colors at that pixel, where the player's color is either transparent or some color depending on whether that pixel's bit is set in the PMG bitmap. So, to take Jose's example where P1's color is $C and P2's color is $94, then the possible colors are as follows: Great examples ! thanks man ! Quote Link to comment Share on other sites More sharing options...
TIX Posted January 22, 2019 Author Share Posted January 22, 2019 Unfortunately the second color layer is only available in the head sprite, so the new 3 colors only benefits the helmet.. The body is strictly monochrome Quote Link to comment Share on other sites More sharing options...
TIX Posted January 23, 2019 Author Share Posted January 23, 2019 ok after Xuel's tweak (enabling Multicolored mode), here is my attempt on a Bender hack , I have 3 colors available for the head and 1 for the body, so I went with Dark Blue, Light Grey, Light Blue combination.. the walking cycle has been tweaked, and minor changes applied ! At a later stage I'll try to edit the buddies and other details to something out of Futurama !! Check out the work in progress below (going left is my original design, going right is Bender) Enjoy Mr Robot and His Robot Factory (Bender hack).xex 9 Quote Link to comment Share on other sites More sharing options...
José Pereira Posted January 23, 2019 Share Posted January 23, 2019 (edited) I didn't play the game for years but now I get where it's using P2 and P3 that is on the surrounding lines: I would suggest you change that cyan P2 and P3 to a red (34) or (36) or even a yellow (EC) or (EE) to have it different than the robot helmet. Edited January 23, 2019 by José Pereira 1 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 23, 2019 Author Share Posted January 23, 2019 (edited) sorry I uploaded the wrong (no Bender) xex.. here you go ! Mr Robot and His Robot Factory (Bender hack).xex Edited January 23, 2019 by TIX 5 Quote Link to comment Share on other sites More sharing options...
José Pereira Posted January 23, 2019 Share Posted January 23, 2019 sorry I uploaded the wrong (no Bender) xex.. here you go ! Yes now has Bender but only when moving to the right: Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted January 23, 2019 Share Posted January 23, 2019 yep has to do both directions.. Quote Link to comment Share on other sites More sharing options...
TIX Posted January 23, 2019 Author Share Posted January 23, 2019 yeah, I left it like this for comparison 1 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 23, 2019 Author Share Posted January 23, 2019 (edited) I didn't play the game for years but now I get where it's using P2 and P3 that is on the surrounding lines: surrounding lines.png I would suggest you change that cyan P2 and P3 to a red (34) or (36) or even a yellow (EC) or (EE) to have it different than the robot helmet. YES, I meant to ask you or Xuel to change the color of the shield to yellow.. edit: also is it possible for the shield sprite to overlap Bender sprite ? Edited January 23, 2019 by TIX 1 Quote Link to comment Share on other sites More sharing options...
Xuel Posted January 23, 2019 Share Posted January 23, 2019 Change P2/P3 color in Altirra: e 4e8b $34 File location: $95f0 (38384) mr-robot-shield-34.xex mr-robot-shield-36.xex mr-robot-shield-ec.xex mr-robot-shield-ee.xex Unix command to create all of these different versions without manual hex editing: for f in 34 36 ec ee; do perl -p -0777 -e 'substr($_,0x95f0,1)=chr 0x'$f < Mr\ Robot\ and\ His\ Robot\ Factory\ \(Bender\ hack\).xex > mr-robot-shield-$f.xex; done 4 Quote Link to comment Share on other sites More sharing options...
José Pereira Posted January 23, 2019 Share Posted January 23, 2019 No way to have shield blend/OR robot. The rule is always P0 Oring P1 and P2 Oring P3. 1 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 23, 2019 Author Share Posted January 23, 2019 Change P2/P3 color in Altirra: e 4e8b $34 File location: $95f0 (38384) mr-robot-shield-34.xex mr-robot-shield-36.xex mr-robot-shield-ec.xex mr-robot-shield-ee.xex Unix command to create all of these different versions without manual hex editing: for f in 34 36 ec ee; do perl -p -0777 -e 'substr($_,0x95f0,1)=chr 0x'$f < Mr\ Robot\ and\ His\ Robot\ Factory\ \(Bender\ hack\).xex > mr-robot-shield-$f.xex; done Thanks for the helping hand man !! Quote Link to comment Share on other sites More sharing options...
TIX Posted January 23, 2019 Author Share Posted January 23, 2019 No way to have shield blend/OR robot. The rule is always P0 Oring P1 and P2 Oring P3. Hey Jose thanks for the tips and ideas ! I meant if it is possible for the shield to overlap bender, as to cover him... if I make any sense Quote Link to comment Share on other sites More sharing options...
Xuel Posted January 23, 2019 Share Posted January 23, 2019 P2 and P3 are shifted left and right by 3 pixels compared to P0 and P1. P2 right bump = 3: Memory $4396 File $95fb P3 left bump = 3: Memory $439e File $9603 Here's what it looks like with left and right shifts of 0: mr-robot-shield-0-shift.xex Note that P0 and P1 always draw on top of P2 and P3. To make the shield cover the robot, you'd have to draw the robot with P2/P3 and the shield with P0/P1. This would require more significant surgery to the code. You'd have to swap all register writes and modify the pages that are written to for the PMG bitmap data. 1 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 24, 2019 Author Share Posted January 24, 2019 got it ! thanks, it was a silly idea anyway , I wanted to give Bender a crown during the invisibility period, to transform him into Super King !! 1 Quote Link to comment Share on other sites More sharing options...
pseudografx Posted January 24, 2019 Share Posted January 24, 2019 I'd make the gray body one step darker. 1 Quote Link to comment Share on other sites More sharing options...
José Pereira Posted January 24, 2019 Share Posted January 24, 2019 Humm... If any coder here is interested I have been thinking in doing a new Mr Robot type of game with the original idea but with more things, gfxs, gameplay,... I would like to have the game done for this year ABBUC Contest and will also need TIX if he's interested to be a part ot the team . 2 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 24, 2019 Author Share Posted January 24, 2019 Humm... If any coder here is interested I have been thinking in doing a new Mr Robot type of game with the original idea but with more things, gfxs, gameplay,... I would like to have the game done for this year ABBUC Contest and will also need TIX if he's interested to be a part ot the team . I'm interested 1 Quote Link to comment Share on other sites More sharing options...
José Pereira Posted January 24, 2019 Share Posted January 24, 2019 (edited) Humm... If any coder here is interested I have been thinking in doing a new Mr Robot type of game with the original idea but with more things, gfxs, gameplay,... I would like to have the game done for this year ABBUC Contest and will also need TIX if he's interested to be a part ot the team . Let's say that we'll continue the same things already it has (so also the levels build) but have other types like sometimes "Bomberman type of", shootings, freeze,... Then we'll have a totally new name that is "MR AND MRS ROBOT AND THEIR ROBOT FACTORY". We can play in different modes: -> Single Player (so we can choose Mr or Mrs); -> Two Players alternate (one plays untill lost a life then comes the other); -> Two Players colaboration (the two at the same time on screen so they play/add to a single score); -> Two Players versus (the two at the same time on screen so they play/add to different scores); ( -> even a Two Players against mode where one can, on certain ocasions, freezes or steal the other,...; ) By now here's a screen with both with just original gfxs for you to see them (is like on the real life where babies masculins wear blue and feminins wear rose ): Edited January 24, 2019 by José Pereira 6 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 24, 2019 Author Share Posted January 24, 2019 Great idea, I am always in favor of two player games, especially cooperative !! AND I can't wait to draw a lady robot 4 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 25, 2019 Author Share Posted January 25, 2019 Hey guys, Here is the full Bender mode version ! all frames have been redrawn, including the ladder and blown up frames.. The walking animation has been tweaked to perfection Now where are those critters ?!? I cant find them @#$ Mr Robot and His Robot Factory (Bender full).xex 9 Quote Link to comment Share on other sites More sharing options...
TIX Posted January 26, 2019 Author Share Posted January 26, 2019 I need help I found the monsters, but I can't figure out how they work, they span from 02B2 to 03CB and seem to be multi segmented, multi layered sprites with some missiles thrown in.. I delete/add some pieces here and there but I cant make sense of the logic.. Quote Link to comment Share on other sites More sharing options...
José Pereira Posted January 28, 2019 Share Posted January 28, 2019 New gfxs and the things continue to going on my side but 'to not polute here' I opened a new Topic just for the possible future Mr. Robot(s): http://atariage.com/forums/topic/287647-a-new-mr-robot/ 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.