Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 6, 2018 9:39:43 GMT -5
Looking back, it looks like you're using Scroll correctly with the scroll mode set, so apologies for that Here's an example to fill a portion of the screen using DrawTiles (and also with Scroll, which is working): For y = 0 To 27 For x = 0 To 39 ' 1 = VRAM Location. This can be 0 (which by default is blank and is also the ' default screen pattern) to 1344 ' x = screen x location (in tiles) ' y = screen y location (in tiles) DrawTile 1,x,y Next Next Sleep 100 SetScrollMode HScroll_Line,VScroll_OverAll Do For i = 50 To 114 Scroll Left,1,i Next For i = 115 To 149 Scroll Right,1,i Next Sleep 1 Loop
Does your scroll not work similar?
|
|
|
Post by Oruam on May 6, 2018 9:45:44 GMT -5
Thank you mister Adam! Do not need apologies, Inam gratfull for your creation the Second Dimension, by it I am realizing the olds and impossible dream, to create games for Mega Drive! ^_^
I hope you can make each time a better version!
|
|
|
Post by Oruam on May 6, 2018 9:49:47 GMT -5
Looking back, it looks like you're using Scroll correctly with the scroll mode set, so apologies for that Here's an example to fill a portion of the screen using DrawTiles (and also with Scroll, which is working): Does your scroll not work similar? Yes they works, at Fusion, Gens, RedKid chip based Mega Drives, but when I try on old Mega Drive using Mega Everdrive X5 it glitchs.
|
|
|
Post by Oruam on May 6, 2018 9:55:22 GMT -5
I was imagining how do you make the Second Dimension, does it create an Assembly code from our Basic text right? Maybe the Assembly text that Second are creating is optimized to GENS? If it is true it could be the problem, because the GENS works similar to RedKid chip based Mega drive, but Fusion works similar original Mega Drive. Sorry for say it, remember that it are just things on my mind, I really don't know anything about how do you make your compiler. and... I love Second Dimension! °_°
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 6, 2018 12:20:50 GMT -5
Can you share a rom? I'll try it on my flash board (it's a dedicated board, not like an everdrive) if you'd like.
|
|
|
Post by Oruam on May 6, 2018 13:12:03 GMT -5
Off course! The 4.0 uses scroll at stage 6, you can chose this by pressing X at selecion char screen. The 4.3 is optimized to works widouth the scolls effects to avoid this glitchs on original Mega Drive. How can we deal to an official future release of this engine otimized for your compiler? And some future fight games!
|
|
|
Post by Oruam on May 6, 2018 13:28:37 GMT -5
I still didn't fix the correct use of window plane, it look likes use 2 lines each time. Example when I chose windowprop,left,up,0,3 it open 3 lines from up to bellow, it is ok, but when I try drawtile at zero line inside window it works fine, but when I try write at line 1 it jumps to line 2, seems that the variable of line are getting douple value or add +1 after zero line inside window plane. If you could help me with this I will be gratefull! °-°
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 6, 2018 14:19:17 GMT -5
' Fill the background For y = 0 To 27 For x = 0 To 39 DrawTile 1,x,y Next Next ' draw tiles to the window plane SetGfxPlane Window DrawTile 3,0,0 DrawTile 3,39,1 DrawTile 3,0,2
WindowProp Left,Up,0,3
Is this what you're trying to do?
|
|
|
Post by Oruam on May 6, 2018 15:08:09 GMT -5
I am trying to draw at Y line one and at Y line 2 one invisible tile to make them transparency, and at Y line 3 the lifebars, I also draw at first tile and last tile the Y line 3 the same invisible tile. The invisible tile uses the first color of palette 3 the same I use to Plane A! I use this way:
Invisible: Datalong $00000000 $00000000 $00000000 $00000000 $00000000 $00000000 $00000000 $00000000
This trick to mak window plane transparency works fine.
|
|
|
Post by Oruam on May 6, 2018 16:27:14 GMT -5
I found a strange way to fix the window transparency! ^,...,^Tested Tes working at old Mega Drive 3 VA0!
|
|