+atari2600land Posted June 20, 2017 Author Share Posted June 20, 2017 Bee is now in the game. http://www.atari2600land.com/antsjag/ants20170619v3romonly.zip Discovery: Having a value <16 of sprite scaling either X or Y makes Virtual Jaguar crash for some reason. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 20, 2017 Author Share Posted June 20, 2017 I made the bee's y position and which side of the screen he starts out on and when all random. I had a little trouble because apparently there's more than one way to move a sprite. But I found a correct way which doesn't make Virtual Jaguar crash and stop working. I also made a website where you can get the latest version so I don't have to post links to all of them here. http://www.atari2600land.com/antsjag/ 1 Quote Link to comment Share on other sites More sharing options...
+Sauron Posted June 20, 2017 Share Posted June 20, 2017 Good work! It's a fun little game. Quote Link to comment Share on other sites More sharing options...
MayDay Posted June 20, 2017 Share Posted June 20, 2017 (edited) Maybe introduce other "pests" as the game goes- such as round one black ants only, then round two add the red ants, then the bees, and whatever else to increase the difficulty as you go. Spiders and mosquitos also come to mind. The spiders could jump at the hand if it is too close, and the mosquitos could be faster than the bees. Edited June 20, 2017 by MayDay Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted June 20, 2017 Share Posted June 20, 2017 Discovery: Having a value <16 of sprite scaling either X or Y makes Virtual Jaguar crash for some reason. Could you paste the few lines of code for that, because it shouldn't happen Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 21, 2017 Author Share Posted June 21, 2017 Could you paste the few lines of code for that, because it shouldn't happen All I did was change the 32s in the rapinit file. While we're talking about this, it appears the X one doesn't seem to work, I put it at 16 and it still appears to be 32. I don't know why. The Y one appears to be working, though. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 21, 2017 Author Share Posted June 21, 2017 I think I figured out a way to play the squishing sound effect from earlier. It even stops itself and starts over when you hit another ant while it was playing. My code is about 700 lines now. The link to the website is now in my signature. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 21, 2017 Author Share Posted June 21, 2017 I got rid of the slowdown of the raising of the arm after a squish and added a game over screen, but it's only obtainable if you turn the bee mode off in the options screen. Witness it in all its lovely glory. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 21, 2017 Author Share Posted June 21, 2017 Added in the death sequence with the bee. To do this, I had to separate the finger and the arm and then glue them back together, so to speak, since they have different widths. One of the things to watch out for is when the game ends and you press Pause and the music doesn't start up and the game freezes on the title screen and the ants still move around randomly. This isn't supposed to happen, so if it does, please tell me. What should happen is the title screen music plays and the ants move around randomly and pressing options gets you to the options screen. Quote Link to comment Share on other sites More sharing options...
Felyx Posted June 21, 2017 Share Posted June 21, 2017 So this game consists of crushing ants...who finds that only funny? Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted June 22, 2017 Author Share Posted June 22, 2017 I think I'm having an issue with sound. I don't know whether it's Virtual Jaguar being flaky and stupid, whether it's my computer being flaky and stupid, or whether it's my code. Sometimes when you die, it plays a scratchy icky computer sound instead of the death .mod I put in there. You can get the code and stuff on the website in my signature. Quote Link to comment Share on other sites More sharing options...
CrazyChris Posted June 22, 2017 Share Posted June 22, 2017 Maybe introduce other "pests" as the game goes- such as round one black ants only, then round two add the red ants, then the bees, and whatever else to increase the difficulty as you go. Spiders and mosquitos also come to mind. The spiders could jump at the hand if it is too close, and the mosquitos could be faster than the bees. You have a gift for making spites! 1 Quote Link to comment Share on other sites More sharing options...
WAVE 1 GAMES Posted July 4, 2017 Share Posted July 4, 2017 Any news on this, atari2600land? Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted July 4, 2017 Share Posted July 4, 2017 Any news on this, atari2600land? From reading his posts, he was asking for feedback, fixing bugs and improving it..... Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 4, 2017 Author Share Posted July 4, 2017 I'm trying to solve bugs but I can't. Most of the time it involves freezing at the game over screen (pressing Pause not having go back to the title screen.) There was this really interesting one though that had the MOD player play various, random lowsounding sounds from its package. I don't know if this is the fault of Virtual Jaguar being stupid or if it's my code. I need a code guru to look through this and see what to do with this. ants.bas Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted July 4, 2017 Share Posted July 4, 2017 I'd say it's probably this: if silencemodtimer<240 then MODVOL(7) MODPLAY((int)strptr(MOD_DEATHMUSIC)) silencemodtimer++ endif Which is restarting the mod player each time around the loop try: if silencemodtimer=1 then modvol(7) modplay((int)strptr(MOD_DEATHMUSIC)) endif if silencemodtimer<240 then silencemodtimer++ endif 1 Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 4, 2017 Author Share Posted July 4, 2017 That worked most of the time. It only froze once. I am however having troubles with sound if the squish sound is playing when you die. Sometimes it keeps having the sound of a rocket launching. I think also that might be the one time it froze. Here is an updated code. ants.bas Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 5, 2017 Author Share Posted July 5, 2017 (edited) I think my problem may very well be the computer I'm using doesn't want to run Virtual Jaguar very well. It seems to work okay multiple times and then all of a sudden it makes a wrong thing happen. I wonder when the SD cart will be coming out. I'm curious to know how stupid my computer is. Edited July 5, 2017 by atari2600land Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted July 5, 2017 Share Posted July 5, 2017 Which version of VJ are you using? The 'bleeding edge' versions are not as stable (specifically - the DSP emulation) as 2.1.2 (which is what I use mainly for development) Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 5, 2017 Author Share Posted July 5, 2017 It says 2.1.2 in the virtualjaguar.txt file. Quote Link to comment Share on other sites More sharing options...
+CyranoJ Posted July 5, 2017 Share Posted July 5, 2017 All your problems seem to revolve around the U235 SE and switching modules. I'd suggest moving to the ZeroPlayer. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 5, 2017 Author Share Posted July 5, 2017 What file type does the Zero Player use for music? Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 5, 2017 Author Share Posted July 5, 2017 I tried ZeroPlayer and it gives me this: Compiling C code... Linking things...Error reading file C:\Users\Chris\DOCUME~1\jaguar\BCX-BA~1\BCX-BA~1\PROJECTS\ants\build\basic.oBuild error! Quote Link to comment Share on other sites More sharing options...
Shamus Posted July 5, 2017 Share Posted July 5, 2017 It doesn't matter what it says in the .txt file, it matters what it says on the title bar. If it says "Virtual Jaguar GIT 201xxxxx" (where xxxxx are numbers), then you don't have an official release. CJ is right about the latest bleeding edge version of VJ--the DSP is undergoing some experiments and is a bit unstable ATM. Best to use 2.1.2 for now. Quote Link to comment Share on other sites More sharing options...
+atari2600land Posted July 5, 2017 Author Share Posted July 5, 2017 (edited) And it says 2.1.2 in the bar. Edited July 5, 2017 by atari2600land Quote Link to comment 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.