Jump to content

Lillapojkenpåön

Members
  • Content Count

    486
  • Joined

Everything posted by Lillapojkenpåön

  1. I still don't get it, and I don't think it makes any difference in this case why is it so chaotic looking ....0000.0000.0000.000000....0000................11111........000000........00000000000...0000.....000000000...............A.... who cares about row 12, it's not being displayed, Sprybug even wrote somewhere that he uses the remaining 5 bits for other things in his game, nothing special is being done to the first byte, so shouldn't be needed for the second, and the purpose of this thread is to make a program that handles all available resolutions, there can be different number of bits remaining on the last one, or none.
  2. fix it and if it could change row in the table after 64 numbers/commas so I can see that four rows is one page, that would make my life easier
  3. ok nu har jag startat php.exe interactive shell php > nu då?
  4. I tried 88 rows ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ................................................................................................................................ ......................................................XXXXXXXX.................................................................. .........................XXXX.......................................XXXXXXXX...................XXXX.............X............... ........X....X....X...........................................................................X................XX............... ...................................XX........XX........................................XXX....................XXX............... .XXX..............................XXX........XXX.......................................XXX...................XXXX............... .XXX.............................XXXX........XXXX......................................XXX..................XXXXX............... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,3758096384,14680064,57344,224,0,0,0,0,0,0,0,3758096384,14680064,57344,224,0,0,0,0,0,0,0,3758096384,14680064,57344,224,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2281701376,8912896,34816,136,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2281701376,8912896,34816,136,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2281701376,8912896,34816,136,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,3221225472,12582912,49152,192,0,0,0,0,0,0,0,3758096384,14680064,57344,224,0,0,0,0,0,0,0,4026531840,15728640,61440,240,0,0,0,0,0,0,0,4026531840,15728640,61440,240,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4026531840,15728640,61440,240,0,0,0,0,0,0,0,4026531840,15728640,61440,240,0,0,0,0,0,0,0,3758096384,14680064,57344,224,0,0,0,0,0,0,0,3221225472,12582912,49152,192,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2181038080,8519680,33280,130,0,0,0,0,0,0,0,2181038080,8519680,33280,130,0,0,0,0,0,0,0,2181038080,8519680,33280,130,0,0,0,0,0,0,0,2181038080,8519680,33280,130,0,0,0,0,0,0,0,2181038080,8519680,33280,130,0,0,0,0,0,0,0,2181038080,8519680,33280,130,0,0,0,0,0,0,0,2181038080,8519680,33280,130,0,0,0,0,0,0,0,2181038080,8519680,33280,130,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,4026531840,15728640,61440,240,0,0,0,0,0,0,0,4026531840,15728640,61440,240,0,0,0,0,0,0,0,4026531840,15728640,61440,240,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2281701376,8912896,34816,136,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2214592512,8650752,33792,132,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,3221225472,12582912,49152,192,0,0,0,0,0,0,0,3758096384,14680064,57344,224,0,0,0,0,0,0,0,4026531840,15728640,61440,240,0,0,0,0,0,0,0,4160749568,16252928,63488,248,0,0,0,0,0,0,0,4227858432,16515072,64512,252,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128,0,0,0,0,0,0,0,2147483648,8388608,32768,128 What's causing the super big numbers? and I believe it should start with ten zeros, and then 128
  5. Det finns ingen exe Carlsson!! det är kört!!!! 😄
  6. I'm trying to figure out which one to download?? https://windows.php.net/download#php-7.4
  7. Ok! 😛 Your code is amazing and I really appreciate it!!!! I will try it out extensively now
  8. I have made a left and right horizontal scrolling routine for the bB DPC+ kernel scrollleft DF0LOW = PFCOLSLOW + 210 ;point to unused ram on the pfcolor page DF0HI = PFCOLSHI fill2 asm ldy Index lda (DataPtr),y get first byte in table sta DF0PUSH ;210 end asm iny end asm lda (DataPtr),y ;get second byte in table sta DF0PUSH ;209 end asm cpy #255 ; compare y with 255 (Index=254) bne _nope ; branch if not equal inc Page ; increment Page if equal, _nope end asm inc Index inc Index end temp5 = temp5+16 if temp5 < playfield_resolution then goto fill2 right now I can only try with 11 row pf res, so it never loops at the end. I wouldn't call them msb and lsb, just two bytes holding the information for what pfpixels at the end columns should be turned on after a scroll I could have stored the data from the tables in temp2 and temp3 instead and done this if temp2{0} then pfpixel 31 0 on else pfpixel 31 0 off if temp2{1} then pfpixel 31 1 on else pfpixel 31 1 off if temp2{2} then pfpixel 31 2 on else pfpixel 31 2 off if temp2{3} then pfpixel 31 3 on else pfpixel 31 3 off if temp2{4} then pfpixel 31 4 on else pfpixel 31 4 off if temp2{5} then pfpixel 31 5 on else pfpixel 31 5 off if temp2{6} then pfpixel 31 6 on else pfpixel 31 6 off if temp2{7} then pfpixel 31 7 on else pfpixel 31 7 off if temp3{0} then pfpixel 31 8 on else pfpixel 31 8 off if temp3{1} then pfpixel 31 9 on else pfpixel 31 9 off if temp3{2} then pfpixel 31 10 on else pfpixel 31 10 off but that's very slow, so I did that part in C (with ALOT of help from Mr. Spiceware)
  9. I have no idea what the 12th row does or why??? How do I use your php script? Do I have to create environment variables, and wamp and stuff?
  10. your program seems to work when I reduced the playfield to eleven lines, which is incredible! 0,4,0,7,0,7,0,7,0,4,0,4,0,4,0,4,64,4,0,4,0,4,0,4,0,4,68,4,0,4,0,4,0,4,0,4,64,4,0,4,0,4,0,4,0,4,0,4,0,4,32,4,32,4,32,4,32,4,0,4,0,4,0,4,0,4,0,6,0,7,128,7,128,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,7,128,7,0,7,0,6,0,4,0,4,0,4,0,4,0,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,0,4,0,4,0,4,0,4,0,4,0,4,34,4,34,4,34,4,34,4,34,4,34,4,34,4,34,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,128,7,128,7,128,7,0,4,0,4,0,4,0,4,64,4,32,4,32,4,32,4,32,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,6,0,7,128,7,192,7,224,7,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4 but before that there where numbers like 512 in there, it can only be 8 bit numbers so if I make a playfield that's 88 rows, the first column would be . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . . . . no bits set = 0 . . . . . X X X sixth(32), seventh(64) and eight(128) bit set = 224 0,0,0,0,0,0,0,0,0,0,224 etc.
  11. Creepy youtube just recommended this to me, but I still need help with the logic I'm suppose to add
  12. Second column . . . . . . . . no bits set = 0 X X X first(1), second(2) and third(4) bit set = 7 so it does match until the first twelve in the table, that's when the garbage on the 12th row started
  13. I have every day for a week. Thanks!!! I'm not sure what the source and destination arguments are that I need to add? It's allready declared in the code in a way I don't get std::ifstream in(argv[1]); std::ofstream out(argv[2]); should I do something like argv[1] = LEVEL.txt argv[2] = LEVELDATA.txt if (argc < 3) { //std::cerr << "Source and desination arguments required\n"; std::ifstream in ("LEVEL.txt"); std::ofstream out ("LEVELDATA.txt"); return EXIT_FAILURE; } that says "Process returned 1 (0x1)" It creates the LEVELDATA text document but it's empty Sprybugs level that I made the data table with had a 12'th row with garbage, it's allways the last byte of the column that doesn't make sense right? It would still look the same as those bits are offscreen, or unused rather.
  14. Hello, Sprybug made a nice program called TXT2LEV, but it only supports 11 row playfield resolution, I need an identical program that supports more. The way it works is that you create your playfield in a textfile ................................................................................................................................ ....................................................................XXXXXXXX.................................................... .............X.................................................................................................................. ................................................................................................................................ ......................................................XXXXXXXX.................................................................. .........................XXXX.......................................XXXXXXXX...................XXXX.............X............... ........X....X....X...........................................................................X................XX............... ...................................XX........XX........................................XXX....................XXX............... .XXX..............................XXX........XXX.......................................XXX...................XXXX............... .XXX.............................XXXX........XXXX......................................XXX..................XXXXX............... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX and the program converts it to a data table 0,4,0,7,0,7,0,7,0,12,0,12,0,12,0,12,64,4,0,12,0,12,0,12,0,12,68,4,0,12,0,12,0,12,0,12,64,4,0,12,0,12,0,12,0,12,0,12,0,12,32,4,32,4,32,4,32,4,0,12,0,12,0,12 0,12,0,6,0,7,128,7,128,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,7,128,7,0,7,0,6,0,28,0,28,0,28,0,28,0,28,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,0,12,0,12 0,12,0,12,0,12,0,12,34,4,34,4,34,4,34,4,34,4,34,4,34,4,34,4,0,12,0,12,0,12,0,12,0,12,0,12,0,12,0,12,0,12,0,12,0,12,128,7,128,7,128,7,0,12,0,12,0,12,0,12,64,4,32,4 32,4,32,4,32,4,0,12,0,12,0,12,0,12,0,12,0,12,0,12,0,12,0,12,0,6,0,7,128,7,192,7,224,7,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,4,0,172,0,4,0,4,0,4,0,4 As you can see it reads the playfield in columns from top to bottom . . . . . . . . no bits set = 0 . . X third bit set = 4 then the next column.. I tried to make it myself in C++, but making a program that can open a textfile and copy it to another textfile was as far as I got before getting stuck #include <iostream> #include <fstream> #include <string> using namespace std; int main () { string line; ifstream input ("LEVEL.txt"); ofstream output ("LEVELDATA.txt"); if (input.is_open()) { while(input.good()) { getline (input,line); output << line << '\n'; } input.close(); output.close(); } return 0; } Any hint that would get me one step further is appreciated brave attempt.rar
  15. Does anybody know how I could make data like this for a higher definition playfield with more rows? TXT2LEV only works with 12 row text files. EDIT: I've also asked for help here
  16. there's four pfpixels missing at each side, and each pfpixel is four regular pixels right? so guess it starts drawing pf at the 17th for x and 0 for y? to get the pfpixel for an objects x and y I think it's (player0y)/8 (player0x - 17)/4 atleast if the resolution is 11 rows and y is at the top of the object EDIT: Oh, all of these numbers are on the previous page in much more detail
  17. Really? It appeared right to the right of the ball for me, but yeah, it's a good way to see when your calculation is in the right ballpark
  18. use pfpixels like this to find the pixel above, below, to the left of and to the right of temp5 = (ballx - 9)/4 temp6 = (bally + 14)/8 pfpixel temp5 temp6 on I also made some examples a while ago, but they are for the standard kernel, in the standard kernel playery is the bottom of the player, and the top would be playery - playerheight, so not like the DPC+ kernel, but left and right is probably the same, so it might be useful.
  19. If you make a new project with just your playfield and movable ball and post that it would be easier to help
  20. From what I understand the speech in Draconian is made by updating the sound every scanline, So I thought about just looping through the sound updates a couple times in bB, it wouldn't be every scanline, but atleast more complex sounds with several updates per frame, not sure if it works but this sounds very motory. If it works you could do phonemes. AUDV0 = 10 : AUDC0 = 8 for temp5 = 0 to 31 AUDF0= temp5 AUDC0 = temp5 next
  21. colors the different words, and most important the zeros and ones in the graphics differently so you can see the graphics clearly, it's like a theme kinda. I've searched for vs code themes and found xml files before but I don't know what to do with them?
  22. Do you know how to use xml files in VS code? I don't know if this is the latest one, I remember a small bugfix but I can't find it. Would be nice with an option to turn this on, if not than I would like to atleast try it if it's possible?
  23. You're not accounting for what I said, that the Brazilians was made aware that the packaging voting count discrepancy had been noted while you could still vote, and probably tried to fix it by voting for the others to, and since you have to log in and out, saved the links in a document but forgot wip.. Dave Dries sabotaged for himself by making two equally awesome boxes it distributes the votes so no one wins, very common political tactic by the keystone kapers, I mean capstone keepers.
×
×
  • Create New...