Jump to content

Photo

Killer Heads of Lettuce (Channel F)


20 replies to this topic

#1 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • 11,403 posts
  • Location:Salem, Oregon

Posted Tue Feb 6, 2018 2:56 PM

I'm making a second game for the Channel F called "Killer Heads of Lettuce." It's sort of like a cross between Asteroids and Space Jockey. In the game, you shoot heads of lettuce in your spaceship. You can move the spaceship up and down, and I made a variable for lettuce speed and it seems to be working okay now. It's set to 1, but if I set it to 2, it goes faster. The object of the game is to keep the lettuce from reaching the far right of the screen. I'm still working on this game. You can shoot with the fire button, but the missiles can't shoot the lettuce because I haven't gotten that far yet. So, what do you think?

chan0006.png

Attached Files



#2 MemberAtarian OFFLINE  

MemberAtarian

    Chopper Commander

  • 198 posts

Posted Tue Feb 6, 2018 4:04 PM

I don't have any multicart for my Channel F, can you post a video about it?



#3 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 7,535 posts
  • Location:Västerås, Sweden

Posted Tue Feb 6, 2018 4:25 PM

As far as I know, there is so far no cartridge that lets you load own ROMs. The multicart is great, but preprogrammed so emulation would be the primary way to test.

#4 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 7,535 posts
  • Location:Västerås, Sweden

Posted Tue Feb 6, 2018 5:22 PM

Anyway, it is a good start. Will the lettuce blast into smaller pieces once the shooting is implemented, or be eliminated in its entirety? I wonder about the possibility of scrolling landscape with varying height, but then again you might need to find a way to detect on screen graphics that seemingly doesn't exist, or at least is not so easy to obtain. If you place the spaceship in the middle of the screen, you could allow it to change direction with some inertia like Defender. Hey, why not have little .. uh, cherry-men on the ground which you try to protect from the lettuce without killing the cherries, so it actually becomes a Defender inspired game?



#5 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Wed Feb 7, 2018 4:04 AM

I was planning on making the lettuce be fully eliminated but then having a new one pop into place once that happened. I also have some code into place to speed up the lettuce, I just have to put code in to make it happen, which will be done at some point. I could do a video of what I have so far, but it would be of emulation, like the Kevin Vs. Tomatoes video I made.



#6 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 7,535 posts
  • Location:Västerås, Sweden

Posted Wed Feb 7, 2018 4:45 AM

Sounds good. Consider ways to avoid the game getting too repetitive. For example the various waves in TSGWP added a lot to that game. Lettuce might appear at different speeds, different attack waves if possible. Perhaps lettuce that escapes to the right would consume part of the ground, until there is no land left? It would be fairly easy to keep track of how many lettuce have passed by and accordingly draw less land.



#7 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Thu Feb 8, 2018 12:33 PM

I am busy adding some stuff to the game. For example, I added a way to make the lettuce heads move in a sinus wave. A variable determines whether it does or just moves in a straight line. The only trouble with this approach is that if the lettuce isn't shot and the player stands still, all it does is just go back and forth between sinus wave and straight. But what's the fun in that? And you're not supposed to do that anyway. I was going to have one life anyway (It would be easier to program.)



#8 TPR ONLINE  

TPR

    Stargunner

  • 1,973 posts
  • Location:Orlando, FL

Posted Sat Feb 10, 2018 8:31 AM

Yay!  More love for the Fairchild! 



#9 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Sat Feb 17, 2018 3:52 PM

Back working on this again.

chan0012.png



#10 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Thu Mar 1, 2018 5:20 PM

I simplified the code. The game should (hopefully) work the same, but now with less code.



#11 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Thu Mar 1, 2018 10:21 PM

Major update.

I added in lives, a life counter, and a song that plays when you lose a life. I also discovered that the game was not speeding up once 50 points was reached, so I fixed that. I wanted the life counter to be 1 digit, but it has to be 2 for some reason. Oh well.

Attached Files



#12 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Sat Mar 3, 2018 7:31 PM

Another major update. Added a lot of stuff to the game. Let me know what you think.

 

Attached Files



#13 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 7,535 posts
  • Location:Västerås, Sweden

Posted Mon Mar 5, 2018 3:13 AM

It plays well. I like that the lettuce has random speed and movement patterns. I don't know if there is are levels or objectives to the game just yet. Perhaps every 5 points or so, the red ship could advance to the left, making it harder to hit the lettuce but also increasing the score per hit. Or perhaps there could be something on top of the screen, like a cloud raining to stop your shots. I'm trying to not ask too much from this hardware, just variations to make the game a bit more complex.

 

Basically you now have four lives (3, 2, 1, 0) and you lose a life when the lettuce escapes. I still wonder if part of the ground could get removed each time a lettuce escapes, and the lifes are lost only in case you actually collide with the lettuce. It would make the game last a bit longer. Perhaps instead of moving the player to the left as I suggested above, every 10 times the lettuce is stopped, ground could reemerge up to the starting level. Anything to make it more complex and increase playability value.



#14 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Mon Mar 5, 2018 6:54 PM

I have been having trouble determining when the lettuce collides with the ship. I need to check out two ISARS, and I need to know if one is greater than its value minus 3 and if the same one is less than the same value.plus 3. Then I would know the lettuce has collided with the ship. No levels yet.



#15 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Fri Mar 9, 2018 4:49 AM

Well, I did it. It isn't pretty and it takes a lot of space to do, but the collision detection between ship and lettuce head is in the game now. The collision code sorely needs to be optimized, but I can't do it.

 

Attached Files



#16 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 7,535 posts
  • Location:Västerås, Sweden

Posted Fri Mar 9, 2018 7:22 AM

Nice! A very good improvement and something players would expect, that collision is detected. Too bad I can't help you with the code you posted in the other thread, at least not without spending a bit of time trying to understand the instruction set.



#17 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Tue Mar 13, 2018 5:03 PM

I don't know if this will be able to play on a real Channel F since it's 3k, but here's the latest version. Someone really needs to make a Harmony cart for the Channel F.

 

Attached Files



#18 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Tue Mar 13, 2018 5:52 PM

Here's a version that SHOULD work. It is exactly 2,048 bytes. I had to change the songs a little bit to make it all fit.

Attached File  moving23a.bin   2KB   37 downloads



#19 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 7,535 posts
  • Location:Västerås, Sweden

Posted Tue Mar 13, 2018 6:41 PM

As I just commented in your blog, it appears to me that Channel F games may be up to 8K in size. Perhaps the larger ones require a different cartridge board with more complex chips, which only a true Channel F expert would be able to answer. So if you don't mind, for the moment being you probably can bloat a little instead of starting to trim features you want.



#20 atari2600land OFFLINE  

atari2600land

    Channel F Viewer

  • Topic Starter
  • 11,403 posts
  • Location:Salem, Oregon

Posted Wed Mar 14, 2018 6:31 AM

As it turned out, and I noticed it, the game isn't 3k but it's 2.09k. The assembler always spat out binary files of exactly 2k (2,048 bytes). That is, until yesterday. I trimmed it down. Some had 2,045 bytes, some had 2,046 bytes. But you'd think anything below 2,048 bytes the game would automatically make it 2k. I just thought of something just now. I unremarked the org $ff0 part of the following code and it turned out to give me an exactly 2,048 byte ROM.

    org $ff0

signature:
    .byte    ".chris read 2018"

So I guess it's that org $ff0 statement that tells it to round up to 2,048 bytes. And as such, since it's 2k, I can't really add more to the game, so I guess unless someone spots a bug, I'll call it done? Unless in the meantime I figure out how to make an exactly 3k game or above. I've always noticed binary files to be exactly 2k or 4k or whatever, so I figured this needs to be the case for Channel F binaries as well, which is why I was concerned.



#21 carlsson OFFLINE  

carlsson

    Metagalactic Mule

  • 7,535 posts
  • Location:Västerås, Sweden

Posted Wed Mar 14, 2018 7:28 AM

I've gott 55 BIN files in my Channel F folder, divided as following:

  • 41 files which are 2048 bytes each
  • 4 files which are 3072 bytes each
  • 1 file which is 3583 bytes (just shy of 3.5 kilobytes)
  • 3 files which are 4096 bytes each
  • 1 file which is 6144 bytes
  • 5 files which are 8192 bytes each

Perhaps MESS doesn't mind BIN files of an odd length, but you are correct that in practise you want to pad files to a multiple of 1K or so.

 

I'll try your latest version later, though unless you get instructions you must not exceed 2048 bytes for it being practical to release in physical form if that is your long term goal, I still think adding is better than pruning if you're up for it.






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users