TIX Posted August 21, 2019 Share Posted August 21, 2019 you know better Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4333692 Share on other sites More sharing options...
+atari2600land Posted August 21, 2019 Author Share Posted August 21, 2019 I added directional torpedos. I have 304 bytes left for other graphics, which isn't very much. Seeing has how one 8x8 .png file is around 200 bytes! gosub2019august21.zip Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4333754 Share on other sites More sharing options...
+SmittyB Posted August 21, 2019 Share Posted August 21, 2019 2 hours ago, atari2600land said: I added directional torpedos. I have 304 bytes left for other graphics, which isn't very much. Seeing has how one 8x8 .png file is around 200 bytes! You have more space than you think, a PNG file contains a lot of information that gets thrown out when you compile your game. 160A mode is 2bpp (bits per pixel) so as there are 8 bits to a byte a byte defines 4 pixels. That means an 8*8 image will be just 16 bytes in your game if you're using an 8 pixel high zone size. The zone size is important because for the 7800 to draw things properly the graphics need to be padded to a multiple of the zone size. 7800BASIC takes care of that for you but it means if you used a 16 pixel high zone your 8*8 image would be stored as an 8*16 image in the game and take 32 bytes instead of 16. With that being said, where did you get the 304 number from? If it's from the compiler where it says something like (304*8) then you actually have 2432 bytes left so go crazy with it. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4333874 Share on other sites More sharing options...
+atari2600land Posted August 21, 2019 Author Share Posted August 21, 2019 It says: INFO, GFX block #1 has 304 bytes left (38 x 8 bytes) Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4333878 Share on other sites More sharing options...
+SmittyB Posted August 21, 2019 Share Posted August 21, 2019 Then you can have 19 8*8 images in that bank, but you should have a couple more graphics banks to play around with depending on your ROM size. You can draw graphics from any graphics bank if you're not bankswitching. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4333900 Share on other sites More sharing options...
p0ke Posted August 21, 2019 Share Posted August 21, 2019 (edited) . Edited August 22, 2019 by p0ke like wrong place to post Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4334038 Share on other sites More sharing options...
TIX Posted August 21, 2019 Share Posted August 21, 2019 (edited) So if we have room and planning to "go crazy" with it.. how about: animated directional torpedoes (2 frames in each direction) ? crab enemy from level 11 to 20 plus boss crab (currently 3 frames) ? jellyfish enemy from level 21 to 30 plus boss jellyfish (currently 3 frames) ? octo boss (any boss) "getting hit" individual frames ? Explosions for sub and enemies ? Edited August 21, 2019 by TIX Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4334063 Share on other sites More sharing options...
+atari2600land Posted August 22, 2019 Author Share Posted August 22, 2019 I want the game to have 30 levels and and ending. For that to be possible, here's what needs to happen: Right now, I have 4,164 bytes left. The data for ten more mazes would take up 3,800 more bytes, leaving only 300 or so for an ending. So let's not go crazy. I added some space for an explosion graphic, though. gosub2019august22.zip 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4334424 Share on other sites More sharing options...
TIX Posted August 22, 2019 Share Posted August 22, 2019 (edited) 14 hours ago, atari2600land said: I want the game to have 30 levels and and ending. For that to be possible, here's what needs to happen: Right now, I have 4,164 bytes left. The data for ten more mazes would take up 3,800 more bytes, leaving only 300 or so for an ending. So let's not go crazy. I added some space for an explosion graphic, though. Cool ! Here is a animated explosion (3 frames), if you can't fit it in, choose an individual frame: I understand that the animated torpedo is out of the question, but would you consider a more uniform size to get rid if the ultra fat vertical ones ? Edited August 22, 2019 by TIX Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4334479 Share on other sites More sharing options...
TIX Posted August 22, 2019 Share Posted August 22, 2019 a much better explosion: in only two frames Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4334892 Share on other sites More sharing options...
NostAlgae37 Posted August 23, 2019 Share Posted August 23, 2019 On 8/22/2019 at 8:02 AM, TIX said: I understand that the animated torpedo is out of the question, but would you consider a more uniform size to get rid if the ultra fat vertical ones ? Personally, I'd rather have animated non-directional torpedoes than non-animated directional ones. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335390 Share on other sites More sharing options...
+atari2600land Posted August 23, 2019 Author Share Posted August 23, 2019 I found and fixed a few bugs. I also changed the missile shape. gosub2019august23.zip 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335410 Share on other sites More sharing options...
TIX Posted August 23, 2019 Share Posted August 23, 2019 (edited) 2 hours ago, atari2600land said: I found and fixed a few bugs. I also changed the missile shape. It plays great, torpedoes look great, also the explosion kills you ! I love it It only needs a "wirrrrrr" sound for the engine and it's perfect !! oh and a fire torpedo "whooosh" effect.. Edited August 23, 2019 by TIX Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335447 Share on other sites More sharing options...
Trebor Posted August 23, 2019 Share Posted August 23, 2019 Cute and quick pick me up game. This has shaped up rather nicely. 1 hour ago, TIX said: It only needs a "wirrrrrr" sound for the engine and it's perfect !! oh and a fire torpedo "whooosh" effect.. Biggest 'issue' with the title. It is too quite. A simple background melody or engine sound effect would definitely help. Also, launching a torpedo in a vertical direction goes right through the shark. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335480 Share on other sites More sharing options...
TIX Posted August 24, 2019 Share Posted August 24, 2019 1 hour ago, Trebor said: Also, launching a torpedo in a vertical direction goes right through the shark. the shark is just a randomly moving hazard, and he is invincible as far as I can tell ! 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335532 Share on other sites More sharing options...
+atari2600land Posted August 24, 2019 Author Share Posted August 24, 2019 I'm trying to add a song but when I compile it, under the unresolved symbol list there's a value called 'setsongchannels'. Why does EVERYTHING I DO have to be so HARD?! All I want to do is play the song I made during the game but noooooo... here's my code in case anyone cares. gosub.bas 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335706 Share on other sites More sharing options...
+SmittyB Posted August 24, 2019 Share Posted August 24, 2019 1 hour ago, atari2600land said: under the unresolved symbol list there's a value called 'setsongchannels'. I remember having problems with that, add the line 'set trackersupport basic' somewhere at the start of your code. By default 7800BASIC doesn't include the tracker code because not everybody will want it and it takes up ROM space that could be used on other things. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335735 Share on other sites More sharing options...
+atari2600land Posted August 24, 2019 Author Share Posted August 24, 2019 Thanks! Could someone add that bit of missing info on the 7800 BASIC guide? I wrote a little song to play during the game. It just keeps playing as a test to see what the song making part of 7800 BASIC can handle. gosub36.zip 3 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335767 Share on other sites More sharing options...
RevEng Posted August 24, 2019 Share Posted August 24, 2019 1 hour ago, atari2600land said: Thanks! Could someone add that bit of missing info on the 7800 BASIC guide? Thanks for the heads-up. I've added this oversight to my local copy of the guide. I have a few more things I need to update before I push out a new 7800basic release, but no doubt RT will update the web-based copy of the guide when I do release it. 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335798 Share on other sites More sharing options...
TIX Posted August 24, 2019 Share Posted August 24, 2019 7 hours ago, atari2600land said: Thanks! Could someone add that bit of missing info on the 7800 BASIC guide? I wrote a little song to play during the game. It just keeps playing as a test to see what the song making part of 7800 BASIC can handle. I'm more in sound effects, but music is fine too ! Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4335966 Share on other sites More sharing options...
Trebor Posted August 25, 2019 Share Posted August 25, 2019 Nice job. That little melody indeed helps. Thoughts on difficulty - just throwing it out there. Game is a little too unforgiving as is and think perhaps instead of one hit against the seaweed walls, it take two to destroy the sub as the normal/default setting. With a greater open space (I.E. Berzerk) one touch death is fair, but much of the sub's path is relatively very narrow, which becomes only that much more difficult once you throw Jaws in the midst of it. Maybe then, first hit, it turns it to a yellow-ish color as seen in this post. It resets back to the default color, allowing two hits again, at the start of a new level or life. Completely flushed out, game's difficulty perhaps could be this: 1. Hard - Current settings. One hit against the seaweed and sub lost. 2. Normal - Two hits to the seaweed and sub lost with a color change after one hit. 3. Easy - No damage seaweed walls. Touch as much as you like/need. It's safe. 3 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4336046 Share on other sites More sharing options...
+atari2600land Posted August 25, 2019 Author Share Posted August 25, 2019 The shark will only appear in levels 21-30. I forgot to remove him when I was done testing him. Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4336222 Share on other sites More sharing options...
+atari2600land Posted August 25, 2019 Author Share Posted August 25, 2019 Got rid of a few bugs. Added level 21. You start at level 20 to see what it's like without the shark. gosub37.zip 1 Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4336257 Share on other sites More sharing options...
TIX Posted August 26, 2019 Share Posted August 26, 2019 On 8/25/2019 at 3:17 AM, Trebor said: Maybe then, first hit, it turns it to a yellow-ish color as seen in this post. It resets back to the default color, allowing two hits again, at the start of a new level or life. I like the idea of having a second chance with a change in color ! Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4336653 Share on other sites More sharing options...
+atari2600land Posted August 27, 2019 Author Share Posted August 27, 2019 I don't. How would I program that in anyway? Quote Link to comment https://forums.atariage.com/topic/291619-gosub-wip/page/6/#findComment-4337704 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.