+Random Terrain Posted December 3, 2023 Share Posted December 3, 2023 Have you played around with the various sound example programs on the bB page? https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#expro_sound 1 Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5359540 Share on other sites More sharing options...
Rafa78 Posted December 4, 2023 Share Posted December 4, 2023 I really liked! Is there a possibility (in future) for 2 simultaneous players? 1 Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5360398 Share on other sites More sharing options...
8bitPoet Posted December 4, 2023 Author Share Posted December 4, 2023 2 hours ago, Rafa78 said: I really liked! Thanks for letting me know! 2 hours ago, Rafa78 said: Is there a possibility (in future) for 2 simultaneous players? I'm a big fan of 2-player game modes. It's definitely possible if I remove the inchworm in that mode. (There's a 2 sprite limit when using the standard kernel) Maybe I could use a time limit to end the game without an inchworm to knock them off. This is my first bB game, so I'm learning a lot in this process. My initial goals for this project was to just make a game that works. I'm almost there! So I'll seriously consider adding a 2-player mode if there's a demand for it ... or I feel like taking it on as another challenge. Here's the latest .bin. spidergame_2023y_12m_04d_0308t.bas.bin It's got a title screen and sound effects now! Controls are the same; press button to go down, release button to go up. Joystick left or right when on the platform. Scoring has been changed to reset if you miss a fly, so the goal is to catch as many flies in a row as possible. I'm currently working a way to track your highest streak and a Game Over screen that will show the current High Score. If anyone reading this knows if @Karl G's bBsplash splash screen kernel can also display the score, I'd love to use that for my Game Over screen. 1 Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5360518 Share on other sites More sharing options...
+Karl G Posted December 4, 2023 Share Posted December 4, 2023 2 hours ago, 8bitPoet said: If anyone reading this knows if @Karl G's bBsplash splash screen kernel can also display the score, I'd love to use that for my Game Over screen. I'm afraid not. It's a simple module that can only display a single bitmap; nothing fancy. Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5360606 Share on other sites More sharing options...
8bitPoet Posted December 5, 2023 Author Share Posted December 5, 2023 58 minutes ago, Karl G said: I'm afraid not. It's a simple module that can only display a single bitmap; nothing fancy. Hey @Karl G! That's okay. It's still a great module that I plan on using in the future. My fall back is to just redefine the p0 and p1 sprites for a game over message and switch the score to show the highest streak. Then the fire button will take them back to the title screen. Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5360633 Share on other sites More sharing options...
8bitPoet Posted December 5, 2023 Author Share Posted December 5, 2023 It's starting to feel like a real game! ✅ Title Screen (I might add music since I've had to move up to 8k) ✅ Playable Game where the player can collect points and lose ✅ Sound effects! ⬜ Game Over screen - Almost there, but needs debugging Not sure what's happening yet, but when the game over screen is drawn, it's almost like all the colors have been inverted. Which is totally weird since I don't reassign COLUBK or COLUPF, only COLUP0 and COLUP1. It also seems to be ignoring my NUSIZ calls to stretch the player sprites. And finally, It's supposed to display the highest streak (high score) on the game over screen, but it just shows 000000. Here's my latest .bin and .bas if anyone wants to take a look and point out the obvious thing I've probably missed or done completely wrong. spidergame_2023y_12m_04d_2153t.bas.binspidergame_2023y_12m_04d_2153t.bas 3 Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5360712 Share on other sites More sharing options...
8bitPoet Posted December 5, 2023 Author Share Posted December 5, 2023 (edited) Yay! I figured out the color and sprite issues! (Still need to figure out why the High Score script isn't working. It might have something to do with having the Check High Score routine outside of the main loop and being called with a gosub) I'm noticing that the Title Screen kernel display and the standard bB kernel display don't align. Notice how the Title Screen kernel has black bars on top and bottom, while the standard bB kernel only has black on the bottom? Also notice that the score shifts to the right by about 5 pixels. Is there anything that can be done about that? I think I like the black bars on top and bottom. It makes the screen feel more centered vertically. Edited December 5, 2023 by 8bitPoet Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5360785 Share on other sites More sharing options...
8bitPoet Posted December 5, 2023 Author Share Posted December 5, 2023 UPDATE Got the High Score working, but what I need now is to display the Best Streak on the Game Over screen. The issue is that I'm running out of variables. If I'm using the standard kernel with no kernel options, so does that mean I have access to playfield variables like var44, var45, var46, and var47? https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#playfield 1 Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5360946 Share on other sites More sharing options...
LatchKeyKid Posted December 5, 2023 Share Posted December 5, 2023 Row 11 is important for vertical scrolling from my prior reading. I didn't see that in prior versions of your game but I haven't played the one you posted yesterday so I don't know if you added that in the meantime. If you're not doing that, you should be able to use them according to this. https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#variables Quote If you're using the standard kernel and run out of variables, you can use four bytes from the playfield if you're not scrolling it (var44 through var47). You can also use temporary variables temp1 through temp6 as temporary storage, but these are obliteratedDestroyed, erased. when drawscreen is called, and some are used for playfield operations as well, so use these at your own risk. If you're not using the Life Counter or Status Bar minikernels, you can use the variable statusbarlength and if you're also not using pfscore bars, you can use the variables lives and lifecolor. As with the regular 26 variables, aliases can be assigned to the playfield variables, statusbarlength, lives, and lifecolor. 1 Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5360979 Share on other sites More sharing options...
8bitPoet Posted December 6, 2023 Author Share Posted December 6, 2023 Thank goodness for those extra variables! High Score and Best Streak is working! Has anybody used the animation feature on the Title Screen Kernel? I've followed the example in the documentation, but my sprite isn't animating on the title screen. Here's my graphic that I ran through the image to code generator(A), a GIF of the animation(B), and my static title screen(C). A. B. C. In the titlescreen folder that I copied into my game folder, the 48x1_2_image.asm file defines the display height and the graphic height, bmp_48x1_2_window = 56 bmp_48x1_2_height = 224 And my program uses the code from the example, only slightly modified for the variables I'm using and the display height (56 pixels) /* TITLE SCREEN SETUP */ __Title_Screen_Setup _bmp_48x1_2_index = 0 _Counter_I = 0 _sc1 = _High_Score1 : _sc2 = _High_Score2 : _sc3 = _High_Score3 ; set score to display high streak /* TITLE SCREEN */ __Titlepage gosub titledrawscreen bank2 _Counter_I=_Counter_I+1 temp1=_Counter_I&%00000111 if temp1=0 then _bmp_48x1_2_index=_bmp_48x1_2_index+56:if _bmp_48x1_2_index=168 then _bmp_48x1_2_index=0 if joy0fire || switchreset then goto __Game_Setup goto __Titlepage The example provided with the titlescreen kernel 1.8 download works perfectly. Not sure what I'm missing. Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5361988 Share on other sites More sharing options...
LatchKeyKid Posted December 7, 2023 Share Posted December 7, 2023 I can't give advice on the code specifically but figured I'd chime in and say that I like the title screen and the animation. Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5362378 Share on other sites More sharing options...
8bitPoet Posted December 7, 2023 Author Share Posted December 7, 2023 1 hour ago, LatchKeyKid said: I can't give advice on the code specifically but figured I'd chime in and say that I like the title screen and the animation. Thanks @LatchKeyKid! I appreciate your feedback. First impressions matter, so I want the title screen to look good. I'd like it to sound good too, but I haven't gotten into writing the music yet. A quick note about the code... I found that I had inverted the bitmask, but even after correcting it I couldn't get my animation to play on the title screen. I'm sure there's a simple solution and I just haven't found it yet. Quote Link to comment https://forums.atariage.com/topic/357435-first-time-programming-an-atari-2600-game-and-i-need-your-help/page/2/#findComment-5362449 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.