Jump to content



1

Alien Greed 5? (was: pick your own PF color!)


19 replies to this topic

#1 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • 6,495 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Fri May 13, 2011 12:31 PM

OK, I had no idea that this trick even existed, so if it did, my apologies. It looks like when you're using pfcolors, no blank lines and background, you can actually pick what color you want the playfield blocks to be by putting it first in the pfcolor table. Using this, I made a Pitfall!-type screen. How cool is that. You learn something every day.

Attached Files


Edited by atari2600land, Fri Nov 18, 2011 8:16 AM.


#2 SeaGtGruff OFFLINE  

SeaGtGruff

    River Patroller

  • 4,545 posts
  • Location:Georgia, USA

Posted Fri May 13, 2011 12:40 PM

View Postatari2600land, on Fri May 13, 2011 12:31 PM, said:

OK, I had no idea that this trick even existed, so if it did, my apologies. It looks like when you're using pfcolors, no blank lines and background, you can actually pick what color you want the playfield blocks to be by putting it first in the pfcolor table. Using this, I made a Pitfall!-type screen. How cool is that. You learn something every day.
Can you post a screenshot? :)

Michael

#3 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • 6,495 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Fri May 13, 2011 12:42 PM

Sure.

Attached Thumbnails

  • pratfallpic.png


#4 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,923 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Fri May 13, 2011 4:04 PM

Maybe I'm not understanding, but it doesn't look like you're doing anything different than what is described on the bB page:

www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#kernop_background

#5 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • 6,495 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Fri May 13, 2011 4:35 PM

The only time I call the color $F2 is in the pfcolors table, which is actually the background. This is actually the wrong background since $F2 is on the top of the chart, you'd think the top background would be $F2, but it's not, it's the playfield block that is colored $F2.

#6 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,923 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Fri May 13, 2011 5:04 PM

View Postatari2600land, on Fri May 13, 2011 4:35 PM, said:

The only time I call the color $F2 is in the pfcolors table, which is actually the background. This is actually the wrong background since $F2 is on the top of the chart, you'd think the top background would be $F2, but it's not, it's the playfield block that is colored $F2.
OK, now I get it. If you don't use COLUPF, the first pfcolors: number changes the color of the foreground playfield pixels instead of the top background row. The second pfcolors: number in the list changes the color of the top background row.

I wonder if it was always like that or if it changed in one of the updates over the years?

#7 PAC-MAN-RED OFFLINE  

PAC-MAN-RED

    Moonsweeper

  • 304 posts

Posted Fri May 13, 2011 9:21 PM

View Postatari2600land, on Fri May 13, 2011 12:31 PM, said:

OK, I had no idea that this trick even existed, so if it did, my apologies. It looks like when you're using pfcolors, no blank lines and background, you can actually pick what color you want the playfield blocks to be by putting it first in the pfcolor table. Using this, I made a Pitfall!-type screen. How cool is that. You learn something every day.

I stumbled across this technique while trying to make a Simon Says like game, but I'm sad to say that it has fallen by the wayside. One difference is that I'm not using no_blank_lines.

Simon8.PNG

Attached File  simon_8.bas   7.71K   45 downloads

#8 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Fri May 13, 2011 9:29 PM

I tried to make a Simon Says, but I can't figure out how to make the program remember the sequence.

View PostPAC-MAN-RED, on Fri May 13, 2011 9:21 PM, said:

View Postatari2600land, on Fri May 13, 2011 12:31 PM, said:

OK, I had no idea that this trick even existed, so if it did, my apologies. It looks like when you're using pfcolors, no blank lines and background, you can actually pick what color you want the playfield blocks to be by putting it first in the pfcolor table. Using this, I made a Pitfall!-type screen. How cool is that. You learn something every day.

I stumbled across this technique while trying to make a Simon Says like game, but I'm sad to say that it has fallen by the wayside. One difference is that I'm not using no_blank_lines.

Simon8.PNG

Attached File  simon_8.bas   7.71K   45 downloads


#9 ScumSoft OFFLINE  

ScumSoft

    Moonsweeper

  • 331 posts
  • Location:Polysorbate 60

Posted Fri May 13, 2011 9:38 PM

I would just predefine sequences in a table and randomly select a starting position in that table.

Edited by ScumSoft, Fri May 13, 2011 9:38 PM.


#10 RevEng OFFLINE  

RevEng

    River Patroller

  • 2,010 posts
  • bit shoveler
  • Location:Canada

Posted Sat May 14, 2011 4:44 AM

yuppi, maybe with a forum search *cough* you could find an answer to your simon problem... just a hunch. :D

#11 ScumSoft OFFLINE  

ScumSoft

    Moonsweeper

  • 331 posts
  • Location:Polysorbate 60

Posted Sat May 14, 2011 4:49 AM

I didn't know bB could do that :) pretty cool and much better than repetitive tables.

#12 theloon OFFLINE  

theloon

    Stargunner

  • 1,015 posts

Posted Mon May 16, 2011 11:02 PM

View PostPAC-MAN-RED, on Fri May 13, 2011 9:21 PM, said:

View Postatari2600land, on Fri May 13, 2011 12:31 PM, said:

OK, I had no idea that this trick even existed, so if it did, my apologies. It looks like when you're using pfcolors, no blank lines and background, you can actually pick what color you want the playfield blocks to be by putting it first in the pfcolor table. Using this, I made a Pitfall!-type screen. How cool is that. You learn something every day.

I stumbled across this technique while trying to make a Simon Says like game, but I'm sad to say that it has fallen by the wayside. One difference is that I'm not using no_blank_lines.

Simon8.PNG

Attached File  simon_8.bas   7.71K   45 downloads

So, the pratfall image just looks like your regular 1 color for background and 1 color for pixels.. BUT, the Simon Says image has at times 4 *different* colors per row!! I just don't understand! :)

When I look at the simon_8 code I see just two sections with pfcolor commands.. How are we getting 4 colors per line? :?

#13 grafixbmp OFFLINE  

grafixbmp

    Dragonstomper

  • 659 posts
  • Location:South Central US

Posted Mon May 16, 2011 11:43 PM

View Posttheloon, on Mon May 16, 2011 11:02 PM, said:

View PostPAC-MAN-RED, on Fri May 13, 2011 9:21 PM, said:

View Postatari2600land, on Fri May 13, 2011 12:31 PM, said:

OK, I had no idea that this trick even existed, so if it did, my apologies. It looks like when you're using pfcolors, no blank lines and background, you can actually pick what color you want the playfield blocks to be by putting it first in the pfcolor table. Using this, I made a Pitfall!-type screen. How cool is that. You learn something every day.

I stumbled across this technique while trying to make a Simon Says like game, but I'm sad to say that it has fallen by the wayside. One difference is that I'm not using no_blank_lines.

Simon8.PNG

Attached File  simon_8.bas   7.71K   45 downloads

So, the pratfall image just looks like your regular 1 color for background and 1 color for pixels.. BUT, the Simon Says image has at times 4 *different* colors per row!! I just don't understand! :)

When I look at the simon_8 code I see just two sections with pfcolor commands.. How are we getting 4 colors per line? :?
There are after all 4 color registers in the TIA. background, playfield, player0 and player1. So as the image shows, the backbround changes purple colors while the playfield stays grey. One of the player graphics is green then chages to blue while the other player graphic is red and changes to yellow. And finally both players are set to quad size. easy peasy. ;)

Edited by grafixbmp, Mon May 16, 2011 11:45 PM.


#14 PAC-MAN-RED OFFLINE  

PAC-MAN-RED

    Moonsweeper

  • 304 posts

Posted Tue May 17, 2011 9:15 AM

In other words, I cheated... again. :grin:

But now that I look again at the picture, I can see green grass with a dark blue sky background, a gray Castle with Red and Green flags at the top, a Blue tapestry resting against the outer wall, and a Yellow gate at the entrance.

Illya

#15 grafixbmp OFFLINE  

grafixbmp

    Dragonstomper

  • 659 posts
  • Location:South Central US

Posted Tue May 17, 2011 9:49 AM

That what I LOVE so about atari as compared to modern systems. Its like reading a book compared to going to the movies. One has every part of the story done with high detail leaving nothing to the imagination. The other gives just enough so that it sparks the mind to fill in the gaps and immersion can take to the skies. :lust:

#16 pitfall_jerry OFFLINE  

pitfall_jerry

    Space Invader

  • 31 posts
  • Location:Atlanta, GA

Posted Tue May 17, 2011 12:54 PM

View Postgrafixbmp, on Tue May 17, 2011 9:49 AM, said:

That what I LOVE so about atari as compared to modern systems. Its like reading a book compared to going to the movies. One has every part of the story done with high detail leaving nothing to the imagination. The other gives just enough so that it sparks the mind to fill in the gaps and immersion can take to the skies. :lust:

I totally agree and have been showing my 23yo gaming neighbor some of the great games that we used to play.

#17 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • 6,495 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Mon Aug 22, 2011 3:18 PM

I was keeping this a secret, but I might as well let you in on it. Of course, this is subject to change and I could go in any other possible direction, but I just want to see if you guys like what I have so far.

Attached Files



#18 ScumSoft OFFLINE  

ScumSoft

    Moonsweeper

  • 331 posts
  • Location:Polysorbate 60

Posted Mon Aug 22, 2011 5:01 PM

I like it so far :) however I get to a screen with a black hole on the right and it doesn't change after that. Did I win? :D

#19 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • 6,495 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Fri Nov 18, 2011 8:16 AM

I ditched the old title screen and made a new one. Do you like it?

Attached Files



#20 atari2600land OFFLINE  

atari2600land

    Quadrunner

  • 6,495 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Sun Feb 5, 2012 10:33 PM

Hi. Is anyone who knows assembly interested in making the background look like the same as the original Pitfall? You can put in assembly code in a batari Basic program by adding an "asm" to make sure it knows it's assembly and not batarI Basic. I haven't altered the code in any way since the last post (yet), so you can just grab the code I've made so far above.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users