+atari2600land Posted April 4 Share Posted April 4 So I decided to play some Wolfenstein 3D for the Jaguar tonight. This led to four hours trying to make a title screen for a new game for the Jaguar. It will be a port of my 7800 game I made of the same name. After getting it perfect, I then thought that I should probably convert it to JagStudio. But what I want to do is have the pineapple be really small (and at the center of the screen) at first and then scale it up to 32. But I can't do it because the image keeps moving when I try to change its scale. So I made it so it starts out small in the lower left corner and then make it grow to here: So now that I'm using JagStudio, is there a way to do what I want to do with the pineapple at the title screen? 1 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/ Share on other sites More sharing options...
+CyranoJ Posted April 4 Share Posted April 4 6 minutes ago, atari2600land said: So now that I'm using JagStudio, is there a way to do what I want to do with the pineapple at the title screen? Yes, change it's position as you scale it so its in the correct place ..... Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5442959 Share on other sites More sharing options...
+atari2600land Posted April 4 Author Share Posted April 4 It took about an hour longer, but I did it. 2 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5443003 Share on other sites More sharing options...
+atari2600land Posted April 5 Author Share Posted April 5 I can't add sounds. It compiles, but when it goes to play the game it just freezes. assets.txt pineapple.bas Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5443361 Share on other sites More sharing options...
+atari2600land Posted April 5 Author Share Posted April 5 I did it! I don't know how though. 2 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5443403 Share on other sites More sharing options...
+Gemintronic Posted April 5 Share Posted April 5 2 minutes ago, atari2600land said: I did it! I don't know how though. Spoken like a true BASIC user. Welcome to the club! 1 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5443407 Share on other sites More sharing options...
+atari2600land Posted April 5 Author Share Posted April 5 I guess the way I make .raw files is wrong. I can only play .wav files. Here you can "play" my ROM. 1 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5443408 Share on other sites More sharing options...
+CyranoJ Posted April 5 Share Posted April 5 42 minutes ago, atari2600land said: I guess the way I make .raw files is wrong. I can only play .wav files. Here you can "play" my ROM. JagStudio/Raptor cannot play "wav" files, it only plays the converted files that are done by the builder tools. Suggest you read the manual, it usually works out quicker than bumbling around and complaining Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5443438 Share on other sites More sharing options...
+atari2600land Posted April 5 Author Share Posted April 5 I got a .raw file to play! It's with Zero's player but not u235. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5443473 Share on other sites More sharing options...
+atari2600land Posted April 6 Author Share Posted April 6 I'm having trouble with random numbers. Yes, I did read the manual. It says value = rapRND() will generate a random 32-bit variable. But I don't want it to be 32 bits. I want it to be 3 bits (0-3). How can I shrink the random number I get? Or is there a way to get a random number that's smaller, like 8-bits or so? 1 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5444093 Share on other sites More sharing options...
saboteur Posted April 6 Share Posted April 6 In the BCX help file checkout RANDOMIZE and the RND function if i remember correctly. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5444102 Share on other sites More sharing options...
+CyranoJ Posted April 6 Share Posted April 6 39 minutes ago, atari2600land said: I'm having trouble with random numbers. Yes, I did read the manual. It says value = rapRND() will generate a random 32-bit variable. But I don't want it to be 32 bits. I want it to be 3 bits (0-3). How can I shrink the random number I get? Or is there a way to get a random number that's smaller, like 8-bits or so? This isn't a JS question, its a math question. Divide and take the remainder, or bitwise AND with %11. 1 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5444109 Share on other sites More sharing options...
+atari2600land Posted April 6 Author Share Posted April 6 Got a banana to bounce around the screen starting at a random position offscreen and then going into the box and bouncing around the box. Now what I need to do is design a better banana and box. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5444116 Share on other sites More sharing options...
Sporadic Posted April 6 Share Posted April 6 3 hours ago, atari2600land said: I'm having trouble with random numbers. Yes, I did read the manual. It says value = rapRND() will generate a random 32-bit variable. But I don't want it to be 32 bits. I want it to be 3 bits (0-3). How can I shrink the random number I get? Or is there a way to get a random number that's smaller, like 8-bits or so? The manual actually has some examples right there and it's 24 bit. value = rapRND() Get a random 24bit number. This is more efficient than the BCX Basic RND. However, if used in critical code points it could impact performance. Examples: rapRND() & 255 (get a number between 0 and 255) rapRND() & 63 (get a number between 0 and 63) rapRND() & 1 (get a 0 or 1) See example project 'rndtest'. 1 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5444134 Share on other sites More sharing options...
+atari2600land Posted August 9 Author Share Posted August 9 Back to work on this. I got up to 8 bananas and a pineapple to control. The object of the game is to not let the pineapple hit a banana. I can't test it fully because I can't get past banana #4 or 5. Partly due to VirtualJag's weird control keys function I can't seem to change. I tried moving the buttons to the arrow keys but it never worked. If you'd like to test it, you can download it off my website. (I didn't figure it would be ok posting a game so large to AtariAge forums, so I did it this way.) Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5513334 Share on other sites More sharing options...
42bs Posted August 10 Share Posted August 10 13 hours ago, atari2600land said: Back to work on this. I got up to 8 bananas and a pineapple to control. The object of the game is to not let the pineapple hit a banana. I can't test it fully because I can't get past banana #4 or 5. Partly due to VirtualJag's weird control keys function I can't seem to change. I tried moving the buttons to the arrow keys but it never worked. If you'd like to test it, you can download it off my website. (I didn't figure it would be ok posting a game so large to AtariAge forums, so I did it this way.) Collision detection is not yet perfect due to the nature of the pineapple. Sometime it detects a hit, but there are clearly still white pixels between banana and pineapple. And the movement could be a bit quicker IMHO. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5513630 Share on other sites More sharing options...
+atari2600land Posted August 10 Author Share Posted August 10 Thanks for the feedback. I worked on the collision detection some more and I sped the pineapple up. You can get today's version here. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5513698 Share on other sites More sharing options...
gambler172 Posted August 12 Share Posted August 12 Hi Chris cannot get the file.... Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5514746 Share on other sites More sharing options...
+atari2600land Posted August 12 Author Share Posted August 12 try here: pineapple jaguar website 1 Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5514753 Share on other sites More sharing options...
+atari2600land Posted August 12 Author Share Posted August 12 OK. Why can't I use this picture in my game? What's wrong with it? It just shows up as a square of garbage. f.bmp Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5514840 Share on other sites More sharing options...
+CyranoJ Posted August 12 Share Posted August 12 And we're back to "help me, but I'm not giving any information" We talked about this last time. Post your other files please. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5514972 Share on other sites More sharing options...
+atari2600land Posted August 13 Author Share Posted August 13 OK, here is everything I'm using. I just thought that you'd be able to diagnose it with just the picture. I guess not. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5515240 Share on other sites More sharing options...
lwdallas Posted August 14 Share Posted August 14 On 4/4/2024 at 10:15 PM, atari2600land said: I did it! I don't know how though. You are one of us! Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5515961 Share on other sites More sharing options...
lwdallas Posted August 14 Share Posted August 14 On 8/12/2024 at 2:40 PM, atari2600land said: OK. Why can't I use this picture in my game? What's wrong with it? It just shows up as a square of garbage. I can't say for sure but it looks like the format doesn't match your assets file. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5515964 Share on other sites More sharing options...
+atari2600land Posted August 15 Author Share Posted August 15 What do you mean? It's a 4-bit BMP, just like I said in my assets file. I tried multiple attempts at this, but I can't get any of them to come up as not a square of garbage. Quote Link to comment https://forums.atariage.com/topic/364388-pineapple/#findComment-5516459 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.