-
Content Count
367 -
Joined
-
Last visited
Posts posted by Retro Lord
-
-
I'm just gonna stick to my old version of VBB, I can't get any of the newer working.
Back to the saltmines. I've scratched my head for days and I just don't get it...Why does it work when you are left or right of the dragon, but not when you are above or below it? It don't make any sense to me.
if player0x > player1x then _dragon_pos = player0x - player1x : if _dragon_pos < 8 && player0y = player1y then COLUPF=$DA : goto __Skip_X_Check if player1x > player0x then _dragon_pos = player1x - player0x : if _dragon_pos < 4 && player0y = player1y then COLUPF=$DA __Skip_X_Check if player0y > player1y then _dragon_pos = player0y - player1y : if _dragon_pos < 8 && player0x = player1x then COLUPF=$DA : goto __Skip_Proximity if player1y > player0y then _dragon_pos = player1y - player0y : if _dragon_pos < 16 && player0x = player1x then COLUPF=$DA __Skip_Proximity
-
I've hit a snag since I can't configure the latest VBB. I'm trying too find an alternative way too discover the dragon, but in the meantime it works if you are next to the dragon either left or right of him the playfield will turn green, just not if he's above or below you. Everything else works as it should. Just that final detail that stops me.
Enjoy the latest version, and I hope it helps someone out there!
Download - d_and_d_0.4.2.bas
-
Great start. I really like the main character, very well animate and cute!
-
It'll be interesting too see how you guys will react to this one. =)
-
#Russian announcer#
"Presenting to you, the many greatness of Vasili Alexeev's many winning of 1976 in capitalist backwaters of Montreal. Push button, show greatness! Crush your opponents in this great simulation. Experience many exciting color by showing great stamina! But careful! Do not get exhausted or you will drop heavy weights!"
Only for Atari


Have you played Atari today?
Release date: 2015-1-26
-
Anyone know how to convert sheets of music too Batari? I'm doing a little game based on Super Squat Simulator and I thought it would be neat if it was set in Russia so I wanted the Russian national anthem as music >_>

-
Ahh. I'll see if I can get the latest version going. I've stuck too my favorite version a long time now, mostly becouse I can almost never get the newer versions work. Wish me luck =)
-
Though I get a ton of warnings from your code. If I assemble and run it the screen is completely black with a few white lines.
-
Thank you so much, that was exactly what I was going for =)
-
Thank you so much. I don't know how I'm gonna repay all the help I've gotten =)
-
Good that you asked. I've made a bunch of changes. I worked on everything else since this was the only part I couildn't figure out.
Source - d_and_d_0.4.1.bas
-
Well, the issue is that I just can't get the code to do what I want. The 2 first lines are working.(I think) The bottom part not really. What I'm after is, if player1 is either directly left, right, above or below the color change initiates. As it is now the color changes if player0 is left, right, above or below without regard for how close they are too each other.
if player0x > player1x then _dragon_xpos = player0x - player1x : if _dragon_xpos < 8 then COLUPF=$DA : goto __Skip_Proximity if player1x > player0x then _dragon_xpos = player1x - player0x : if _dragon_xpos < 5 then COLUPF=$DA : goto __Skip_Proximity if player0y > player1y then _dragon_ypos = player0y - player1y : if _dragon_ypos < 3 then COLUPF=$DA : goto __Skip_Proximity if player1y > player0y then _dragon_ypos = player1y - player0y : if _dragon_ypos < 3 then COLUPF=$DA : goto __Skip_Proximity __Skip_Proximity
-
I dunno, it seems like nothing I do quite works with that code.
-
Okay, I've almost fixed it.
This parts now works:
if player0x > player1x then _dragon_xpos = player0x - player1x : if _dragon_xpos < 8 then COLUPF=$DA : goto __Skip_X_Check if player1x > player0x then _dragon_xpos = player1x - player0x : if _dragon_xpos < 5 then COLUPF=$DA __Skip_X_Check
Now I just have to find the right numbers for the y position
-
Ahh, good to know, thanks!
-
Hm, I still get the same problem. I'm thinking it's a math thing. I've fiddled with the numbers and almost got it working once. I'm sure it's this part that needs figuring out what number it needs:
if _dragon_xpos < 4
If I only was better at understanding math
-
Neat changes =) I have been adding some new stuff. Like the dragon being randomly placed with a rand counter so it is always placed along the grid. It's very memory heavy but works like a dream! =)
-
A question about this code again. It appears that it works when player0 is next to the dragon, which is great. But even if player1 is all the way across the playfield and player0 is at the bottom it registers as long as they are nex ´t to each other. How would I fix it so it takes the y value into account aswell?
if player0x > player1x then _dragon_xpos = player0x - player1x : if _dragon_xpos < 5 then COLUPF=$DA : goto __Skip_Proximity if player1x > player0x then _dragon_xpos = player1x - player0x : if _dragon_xpos < 5 then COLUPF=$DA : goto __Skip_Proximity if player0y > player1y then _dragon_ypos = player0y - player1y : if _dragon_ypos < 5 then COLUPF=$DA : goto __Skip_Proximity if player1y > player0y then _dragon_ypos = player1y - player0y : if _dragon_ypos < 5 then COLUPF=$DA __Skip_Proximity
-
Cheers! Got it working perfectly now. Man, I'm so glad everything is getting together now.
-
Major update thanks too the help of Random Terrain and bogax.
The dragon is now placed in the dungeon according too the grid. And I've almost got the visual clue working for when you get near the dragon the playfield is supposed to go green but I don't got it down just yet.
DOWNLOAD - DnD04.bas
-
Yeah I got it working with a random counter. But I suck at math. Player1 is 7 pixels tall and 4 wide. I calculated the x placement perfectly. But I'm having problem wit the y placements. If I want it to go down it's own length 1 time would that be +8 or +9? +7 wasn't quite right it turned out.
-
Another question: I want player1 to be randomly placed on the playfield, but only in the pfpixel "grid". of pfpixels12-21 across and 3-9 vertical.
Would it be easiest to do this with a t=rand&15) event?
-
Haha, thanks Random Terrain! I did not see that. That just goes to show how easy it is to make mistakes =)
-
1
-
-
Thank you bogax, that was awesome of you =)

pfpixel on question
in batari Basic
Posted
I set it up just the way I did with the old version. It starts and I can load up my projects but not compile them, I always get a syntax error on everything. Even if it worked in the old version.
Yeah, it's just that I can't compile it. I am trying too figure out and see if I can do something similar that works on my old version of VBB and I've gotten it half-working.