Jump to content

Photo

A more robotic mr. robot !


49 replies to this topic

#26 Xuel OFFLINE  

Xuel

    Dragonstomper

  • 740 posts
  • Location:US

Posted Tue Jan 22, 2019 9:30 AM

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

Attached File  mr-robot-color-0c-94.xex   51.87KB   32 downloads

EDIT 2019-01-23: Change P1/P2 to P0/P1.



#27 Philsan ONLINE  

Philsan

    River Patroller

  • 3,807 posts
  • New Orleans Saints Super Bowl XLIV Champions
  • Location:Switzerland

Posted Tue Jan 22, 2019 9:58 AM

You can design three colors sprites with this tool:
http://playsoft.co.uk/

#28 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Tue Jan 22, 2019 11:50 AM

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 !



#29 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Tue Jan 22, 2019 3:01 PM

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 :(



#30 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Wed Jan 23, 2019 3:56 AM

ok after Xuel's tweak (enabling Multicolored mode),

here is my attempt on a Bender hack :-D ,

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

 

 

Attached Thumbnails

  • bender.JPG

Attached Files



#31 Josť Pereira OFFLINE  

Josť Pereira

    River Patroller

  • 4,181 posts
  • Location:Lisbon - Portugal

Posted Wed Jan 23, 2019 8:38 AM

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.


Edited by Josť Pereira, Wed Jan 23, 2019 8:44 AM.

  • TIX likes this

#32 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Wed Jan 23, 2019 8:56 AM

:dunce:

sorry I uploaded the wrong (no Bender) xex..

here you go !

Attached Files


Edited by TIX, Wed Jan 23, 2019 9:00 AM.


#33 Josť Pereira OFFLINE  

Josť Pereira

    River Patroller

  • 4,181 posts
  • Location:Lisbon - Portugal

Posted Wed Jan 23, 2019 9:03 AM

:dunce:

sorry I uploaded the wrong (no Bender) xex..

here you go !

Yes now has Bender but only when moving to the right:

no Bender to the left.png



#34 _The Doctor__ OFFLINE  

_The Doctor__

    Flux Capacitor Master Craftsman

  • 6,250 posts
  • Location:10-0-11-00:02

Posted Wed Jan 23, 2019 9:06 AM

yep has to do both directions.. :)



#35 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Wed Jan 23, 2019 9:07 AM

yeah,

I left it like this for comparison ;)



#36 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Wed Jan 23, 2019 12:01 PM

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:

attachicon.gifsurrounding 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 by TIX, Wed Jan 23, 2019 12:53 PM.


#37 Xuel OFFLINE  

Xuel

    Dragonstomper

  • 740 posts
  • Location:US

Posted Wed Jan 23, 2019 1:15 PM

Change P2/P3 color in Altirra:
 
e 4e8b $34

File location: $95f0 (38384)

Attached File  mr-robot-shield-34.xex   51.87KB   26 downloads
Attached File  mr-robot-shield-36.xex   51.87KB   22 downloads
Attached File  mr-robot-shield-ec.xex   51.87KB   26 downloads
Attached File  mr-robot-shield-ee.xex   51.87KB   27 downloads

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


#38 Josť Pereira OFFLINE  

Josť Pereira

    River Patroller

  • 4,181 posts
  • Location:Lisbon - Portugal

Posted Wed Jan 23, 2019 1:47 PM

No way to have shield blend/OR robot.
The rule is always P0 Oring P1 and P2 Oring P3.
  • TIX likes this

#39 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Wed Jan 23, 2019 2:56 PM

Change P2/P3 color in Altirra:
 

e 4e8b $34
File location: $95f0 (38384)

attachicon.gifmr-robot-shield-34.xex
attachicon.gifmr-robot-shield-36.xex
attachicon.gifmr-robot-shield-ec.xex
attachicon.gifmr-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 !!



#40 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Wed Jan 23, 2019 3:01 PM

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 :?



#41 Xuel OFFLINE  

Xuel

    Dragonstomper

  • 740 posts
  • Location:US

Posted Wed Jan 23, 2019 5:36 PM

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:

Attached File  mr-robot-shield-0-shift.xex   51.87KB   25 downloads

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.

#42 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Thu Jan 24, 2019 2:22 AM

got it ! thanks,

it was a silly idea anyway :P,

I wanted to give Bender a crown during the invisibility  period, to transform him into Super King !!

 

 

Attached Thumbnails

  • the king.JPG
  • the king1.JPG


#43 pseudografx OFFLINE  

pseudografx

    Dragonstomper

  • 758 posts
  • Location:Czech Republic

Posted Thu Jan 24, 2019 7:51 AM

I'd make the gray body one step darker.


  • TIX likes this

#44 Josť Pereira OFFLINE  

Josť Pereira

    River Patroller

  • 4,181 posts
  • Location:Lisbon - Portugal

Posted Thu Jan 24, 2019 8:13 AM

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 :).

:thumbsup:



#45 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Thu Jan 24, 2019 9:09 AM

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 :).

:thumbsup:

 

I'm interested  :)



#46 Josť Pereira OFFLINE  

Josť Pereira

    River Patroller

  • 4,181 posts
  • Location:Lisbon - Portugal

Posted Thu Jan 24, 2019 9:56 AM

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 :).

:thumbsup:

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 :grin:):

234578-mr-robot-and-his-robot-factory-atari-8-bit-screenshot-screen _5colours.png

:P


Edited by Josť Pereira, Thu Jan 24, 2019 10:01 AM.


#47 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Thu Jan 24, 2019 11:48 AM

Great idea, I am always in favor of two player games, especially cooperative !!

AND I can't wait to draw a lady robot :-D



#48 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Fri Jan 25, 2019 7:52 AM

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 :P

 

Now where are those critters ?!? I cant find them  @#$ :mad:

Attached Thumbnails

  • blown.JPG

Attached Files



#49 TIX OFFLINE  

TIX

    Moonsweeper

  • Topic Starter
  • 365 posts
  • Location:Athens Greece

Posted Sat Jan 26, 2019 12:27 PM

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..



#50 Josť Pereira OFFLINE  

Josť Pereira

    River Patroller

  • 4,181 posts
  • Location:Lisbon - Portugal

Posted Mon Jan 28, 2019 10:50 AM

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/...a-new-mr-robot/

:thumbsup:






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users