Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 2, 2018 22:36:23 GMT -5
As most of you know, I had updated the documentation within SecondBASIC to be easier to read, navigate, and provide examples where they seemed appropriate. Well, after the last release, the source help files became corrupt. I could restore them from backup, and copy everything over again, but it's quite a pain. I wanted to find an alternative help file maker, but the free ones aren't intuitive and cumbersome to use, so I looked to a knowledge base/wiki type of generator for HTML pages (basically I was looking to do it quick and not have to create a solution myself). I stumbled upon what I think is a good, free tool and I've started copying over the contents of the help file over to it. Here's the link: secondbasic.helpsite.io/If you take a peek at the changelog, you'll see what fixes are already done for the next release and/or patch update.
|
|
|
Post by kuatroporkuatro on May 4, 2018 12:43:26 GMT -5
hi, i checked the new doc link and saw there is a new 2.6.x announced but i couldnt find it in the download section, isnt available yet?, btw new look on SD site its cool . and now that i remember i cant log in to SD Forum, it says something about my account hasnt been authorized, can u help me?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 5, 2018 6:19:00 GMT -5
hi, i checked the new doc link and saw there is a new 2.6.x announced but i couldnt find it in the download section, isnt available yet?, btw new look on SD site its cool . and now that i remember i cant log in to SD Forum, it says something about my account hasnt been authorized, can u help me? 2.6.x isn't out yet I'm working on it currently, though I hope for it to be released by June. When I put Xgm v2 in SecondBASIC, it ended up breaking a few things. I've sorted most of that out (and fixed a few other issues in the process), so once that and a few other things are fixed, and the documentation is updated in the new format, I'll be releasing it. Accounts shouldn't require authorization, but since you're the 2nd person to tell me this in 24 hours, I'll check it out for sure today.
|
|
|
Post by Oruam on May 5, 2018 7:35:28 GMT -5
Mister Elusive, are you Adam? The creator of Second Dimension? I notice a problem with windows plane, the comand open 2 lines of Y scroll each time, not just one, and it also uses for defaut the pallete 0, its no problem, but the transparency look likes does not works for defaut. Could you help with this? I need the window plane to use the time counter and life bars from the Fight Engine. Attachments:
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 5, 2018 10:25:02 GMT -5
Mister Elusive, are you Adam? The creator of Second Dimension? I notice a problem with windows plane, the comand open 2 lines of Y scroll each time, not just one, and it also uses for defaut the pallete 0, its no problem, but the transparency look likes does not works for defaut. Could you help with this? I need the window plane to use the time counter and life bars from the Fight Engine. The Window plane overwrites plane a, but will show transparency to plane b. I updated the information on the new documentation, but need to add an example (which I'll do after this post). The Height and Width are how many rows and columns you want to take up. You can select 0 to however wide the screen is in tiles. Example: ' Fill the background For y = 0 To 27 For x = 0 To 39 DrawTile 1,x,y Next Next Sleep 100 ' draw tiles to the window plane SetGfxPlane Window DrawTile 3,0,0 DrawTile 3,39,1 DrawTile 3,0,27 ' display the window in a vertical manner WindowProp Left,Up,2,0 Sleep 100 ' display the window in a horizontal manner WindowProp Left,Up,0,2
Hope this helps!
|
|
|
Post by Oruam on May 5, 2018 10:53:15 GMT -5
Thank you mister! I would like help you as I can too. I notice that if I try use Window on the only X zero line horizontal it works, but when I chose the X line 1 the window get line 1 and line 2 at same time, and the same happens until line 28. Another little problem happens with on old Mega Drives and comand Scroll, it works fine at Emulators and RedKid chip based Mega Drives, the Scroll2 works fine, just the Scroll doesnt. And I cant login anymore at Second Basic fóruns. :/ Perhaps I was too stuborn asking too much, I am sorry for that.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 5, 2018 12:01:48 GMT -5
You should be able to login now. I forgot to set all the previous users to already authenticated when I updated the site.
What's your WindowProp command look like?
Also what do you mean scroll doesn't work? Scroll works fine. Please post code that isn't working so we can try to figure out where the problem is.
|
|
|
Post by Oruam on May 5, 2018 12:35:38 GMT -5
The scroll comand works, but when I test the ROM at old Mega Drive it make glitchs on grafics, I dunno why, but the same doesnt happens with the same code at Basiegarox, I will send to you samples. I add the rom with the problem o the scroll at Sky cenario, to chose this cenario you need press botom X at select character screen, before the Fight.
|
|
|
Post by Oruam on May 5, 2018 12:54:06 GMT -5
Here I am posting the ROM sample adapted to works 99% at old Mega Drives, on it I can only use the Plane B withdout Scrolling efects but I can use Scroll2 mode to câmera and to floor moves, the plane A is using one tile with transparency color to fill and clean it and also uses the lifebars amd the timerclock with priority(1) mode, if I use a cenario at plane A withdout priority to make a paralax with plane B it works, but with old Mega Drive and Krikzz X5 Megaeverdrive it glitch with plane A.
|
|
|
Post by Oruam on May 5, 2018 12:59:07 GMT -5
Resuming the situation, if I use RedKid chip Mega Drive I don't need window plane because I can use priority(1) at plane A and also can use SCROLL effects, but if I use old Mega Drives I can use only plane B to cenario withdout make paralax with plane A because I need plane A to draw the lifebars and timerclock and I cant use SCROLL effects like that on Sky stage that make clouds move to left and right :/
|
|
|
Post by Oruam on May 5, 2018 13:21:58 GMT -5
After I enable the windowprop when I use the Drawtile at Y line 0 it works, but when I try use Y line 1 to drawtile it jumps to Y line 2. Attachments:
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 5, 2018 20:11:35 GMT -5
I don't know why you posted pictures rather than just copying and pasting the code, but anyway...
First
for x = 0 to 0
Get rid of these loops. They aren't doing anything but adding extra code. Just fill in the y variable with 0 (or x, in those instances) in the DrawTile commands.
Also, you have your X (width) set to 0. Change the width to 40 if you're going to draw across the top.
As for your scroll issue, you're jumping at large intervals. The way you have it, you're going scroll_x_position + n, where n starts at 50, then it'll go to 51, etc.
Use smaller numbers (i.e., try starting at 1).
Please quit calling these bugs. These "bugs" are happening because you're using the commands incorrectly and expecting different results.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 5, 2018 20:14:31 GMT -5
Mister Elusive, are you Adam? The creator of Second Dimension? Sometimes my friend posts under this handle to help me out from time to time, so about 80% it's me, the other 20% it's him.
|
|
|
Post by Oruam on May 5, 2018 20:24:25 GMT -5
Sorry for pictures, I post them because I only use this forum by smartphone. Thank you for tips, I will try fill the line using 40 for X in the place of that extra code, the problem is that I am not a programer, so I don't know much how to ise the codes correctly.
|
|
|
Post by Oruam on May 5, 2018 21:28:31 GMT -5
Mister Elusive, are you Adam? The creator of Second Dimension? Sometimes my friend posts under this handle to help me out from time to time, so about 80% it's me, the other 20% it's him. Thank you a lot! I accept samples of the correct way to use Drawtile and Scroll comand, II als need for Drawtiles comand!
|
|