+atari2600land Posted November 29, 2013 Share Posted November 29, 2013 (edited) I finally got this stupid thing working after spending all of last night on it and no success. I tried again today and after a few hours I finally got the thing up and working. Inspired by one of the status updates, this is a game about a guy going shopping. When the game is complete, presents will appear and your job is to get to them and not run into the enemy (which I haven't decided what it is quite yet. I think another shopper would be too confusing.) I doubt I can fit this in 2k, so it will probably be 4k when it's done. Right now, though, you control the shopper with the joystick. The movement is like Pac-Man, which I don't know why it took so long to do! bf1.bas.bin bf1.bas Edited July 3, 2014 by atari2600land Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/ Share on other sites More sharing options...
Yoshiatom Posted November 30, 2013 Share Posted November 30, 2013 A Pac-man clone? Look like you are jummpinng on the bandwagon of most other 2600 developers... Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2876759 Share on other sites More sharing options...
+atari2600land Posted December 1, 2013 Author Share Posted December 1, 2013 I was able to make it 2k, with an enemy that follows you. I did however have to modify default.inc in order to fit it in. Press fire to start a new game. Any suggestions? I have 0 bytes left, but I may rearrange the code if someone comes up with one. bf4.bas.bin bf4.bas Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877229 Share on other sites More sharing options...
+Random Terrain Posted December 1, 2013 Share Posted December 1, 2013 Any suggestions? How about making it 1k or ½k? Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877251 Share on other sites More sharing options...
+atari2600land Posted December 1, 2013 Author Share Posted December 1, 2013 Because I barely fit it in 2k. I tried the game on my Harmony cart. There's the sound of semi-quiet, but notable static. I tried another quiet game on the same cart but there wasn't any. I tried putting in a game with a quiet title screen (Mario bros.) and it was quiet, too, so it's just my game. What can be causing this? Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877273 Share on other sites More sharing options...
+Random Terrain Posted December 1, 2013 Share Posted December 1, 2013 I wonder if fixing this might change anything: player1color: $f2 $f2 6 6 6 $c6 $c6 $2a $2a $22 end Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877275 Share on other sites More sharing options...
+atari2600land Posted December 1, 2013 Author Share Posted December 1, 2013 No, that didn't help with the sound. Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877278 Share on other sites More sharing options...
+Random Terrain Posted December 1, 2013 Share Posted December 1, 2013 If you remove "set romsize 2k" does that change anything? If that doesn't work, try only removing no_blank_lines. If that doesn't work, see if anything changes by only removing player1colors and fixing it so the game will work without it. If none of that works, do you think your modification of default.inc could have screwed up anything? Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877280 Share on other sites More sharing options...
+atari2600land Posted December 1, 2013 Author Share Posted December 1, 2013 I tried everything. The only thing I changed was I put a semicolon after pfscrolling.asm. That's all I did in the default.inc file. I removed the semicolon and had the normal default.inc file and it still has a static-y noise. Do you have a Harmony cart? Can you put my program on it and see what happens? Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877281 Share on other sites More sharing options...
+Random Terrain Posted December 1, 2013 Share Posted December 1, 2013 I tried everything. The only thing I changed was I put a semicolon after pfscrolling.asm. That's all I did in the default.inc file. I removed the semicolon and had the normal default.inc file and it still has a static-y noise. Do you have a Harmony cart? Can you put my program on it and see what happens? The way mine is hooked up, everything has static and looks like crap. Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877292 Share on other sites More sharing options...
+atari2600land Posted December 1, 2013 Author Share Posted December 1, 2013 I found out what was the problem. Apparently it didn't like the background color being $EE. So I changed it to $0E and now it doesn't have the sound any more. bf5.bas.bin bf5.bas Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877588 Share on other sites More sharing options...
+Random Terrain Posted December 2, 2013 Share Posted December 2, 2013 I found out what was the problem. Apparently it didn't like the background color being $EE. So I changed it to $0E and now it doesn't have the sound any more. That's something to remember. I wonder if background color causing a static sound should be mentioned on the bB page? Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877648 Share on other sites More sharing options...
+atari2600land Posted December 2, 2013 Author Share Posted December 2, 2013 That's something to remember. I wonder if background color causing a static sound should be mentioned on the bB page? Well, the first thing to do is have someone with a Harmony cart besides me and you to test it out. Anyway, while the game WORKED, it wasn't very fun to play. So I changed some stuff around to make Larry the Lemon. Your job as Larry is to get rid of the black peas. Every black pea you touch gets you a point. But beware of Barry the Banana, who is a friend of the peas and wants to protect them. If Larry runs into Barry, precious time is deducted from the clock. Yes, this is a timed game, but I don't know how many seconds you get initially. I do know that x (timer variable) starts out at 0 and is added to every 4th frame and the game ends once x reaches 60. Hopefully this will be fun to PLAY as well as work. bf7.bas.bin bf7.bas Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877665 Share on other sites More sharing options...
+atari2600land Posted December 2, 2013 Author Share Posted December 2, 2013 "In the Black Forest, Larry was assigned by the king of Germany to get rid of the black ants that have been chewing on the black trees, turning them into black tree stumps. But the evil Barry banana, friend to all ant-kind, wasn't too happy with Larry trying to get rid of the ants, so he was sent by the ants to try and stop Larry. Your job is to see how many ants you can get rid of before the world ends." So anyway, I made the timer visible. It ends at 20. And I made the background green. I want to have a cool-looking banana sprite for Barry the banana. Here's how it looks now: bf8.bas.bin bf8.bas Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2877784 Share on other sites More sharing options...
+atari2600land Posted January 25, 2014 Author Share Posted January 25, 2014 I changed things around a bit to try and make the game more exciting. Tell me what you think. bf10.bas bf10.bas.bin Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2913367 Share on other sites More sharing options...
+atari2600land Posted January 25, 2014 Author Share Posted January 25, 2014 Made Barry the Banana try to get after you more. In order to do this though, I had to change the playfield color back to 0 in order to fit it in 2k. bf11.bas.bin Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2913495 Share on other sites More sharing options...
bogax Posted January 25, 2014 Share Posted January 25, 2014 Made Barry the Banana try to get after you more. In order to do this though, I had to change the playfield color back to 0 in order to fit it in 2k. There's a number of things you could do to lose a few bytes get rid of unneeded gotos for one looks like there's redundant stuff you could put in functions or subroutines too Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2913683 Share on other sites More sharing options...
+atari2600land Posted January 26, 2014 Author Share Posted January 26, 2014 Changed a few things:+Added sound for Barry hit. +Added color/b&w switch support. bf12.bas.bin bf12.bas Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2914076 Share on other sites More sharing options...
+atari2600land Posted January 27, 2014 Author Share Posted January 27, 2014 Changed a few more things. + SFX. No longer sound like robot farts. + Playfield color is no longer black. Amazingly, I did all these changes and I still have 2 bytes left! bf13.bas bf13.bas.bin Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2914557 Share on other sites More sharing options...
bogax Posted January 27, 2014 Share Posted January 27, 2014 (edited) this is untestedso take it with a grain of salt(I can't get your code to assemblecompletely, lots of unresolvedsymbols, you must be using a differentversion of something)here I tried to remove the redundancyin the movement code by parameterizing itand putting it in a subroutinebf13_mod.basI may very well have goofed somethingbut maybe it will give you some ideas Edited January 27, 2014 by bogax Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2914869 Share on other sites More sharing options...
+atari2600land Posted January 28, 2014 Author Share Posted January 28, 2014 I can't move the lemon. Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2915145 Share on other sites More sharing options...
bogax Posted January 28, 2014 Share Posted January 28, 2014 (edited) I forgot to invert SWCHA dir = SWCHA / 16 should be dir = SWCHA / 16 ^ $0F bf13_mod.bas Edited January 28, 2014 by bogax Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2915168 Share on other sites More sharing options...
+atari2600land Posted January 28, 2014 Author Share Posted January 28, 2014 In the original code, if a player hit a wall, he didn't stop, but he kept on moving in the direction he was going. Is there any way to change this? I wonder if it involves this part of code: ud scol = (player0x[pn] - 17) / 4 srow = (offset[dir] + player0y[pn]) / 8 if pfread(scol, srow) then ud_0 scol = scol + 1 if pfread(scol, srow) then ud_0 scol = (scol * 4) + 13 if player0x[pn] = scol then skip_ud_0 ud_0 dir = 0 skip_ud_0 player0y[pn] = player0y[pn] + mov[dir] return Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2915186 Share on other sites More sharing options...
bogax Posted January 28, 2014 Share Posted January 28, 2014 The way I read your code if you startit moving (in some direction) it continuesto do the same until you change it, so that'swhat I meant to do(since I can't test it I can't be sure ifit's working. Is it working? )I'm not sure what you want it to doIn the movement code dir (direction)get's set to zero in the event of a collisionwith the play field (zero is no movement)If eg you wanted the player movement to stopwhen there's a collision with the playfieldyou could set f = dir when the subroutine returns Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2915214 Share on other sites More sharing options...
+atari2600land Posted January 28, 2014 Author Share Posted January 28, 2014 I wanted the player to keep moving in the direction it was previously going if there was a collision with the playfield, like Pac-Man. Quote Link to comment https://forums.atariage.com/topic/219174-larry-the-lemon-was-black-friday/#findComment-2915227 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.