|
Post by alexmega on Sept 2, 2018 12:47:54 GMT -5
I have observed and tested that these codes are not accepted by SECOND BASIC.
|
|
|
Post by alexmega on Sept 1, 2018 22:12:05 GMT -5
Who could send a sample with code to draw a image bigger when 512 pixels, some with 1024 or 2048 for a big stage!? Good night, I have a model here but it only works on bex. wanted to adapt to use in second basic. If anyone in the forum can thank you! Shadow_dancer_arcade.rar (26.41 KB)
|
|
|
Post by alexmega on Sept 1, 2018 22:07:28 GMT -5
so for example if there are three sequences of fire, then do I have to make a variable for each? right?
|
|
|
Post by alexmega on Aug 30, 2018 17:11:14 GMT -5
good evening. I have a question, I want to implement this code that I observed in the forum in my project, the problem is that in bex it works but in the second basic, no. I do not know how to adapt. if anyone gets it will be of great help. tiro lateralrar.rar (7.39 KB)
|
|
|
Post by alexmega on Aug 26, 2018 11:56:44 GMT -5
Good morning, follow a code for those who are in need of energy bars, this is the advantage and they are in pixel and not in tiles. if you want to increase and replicate the drantiles.
bar_life:
DataLong $66666666 ' Tile: 0
DataLong $33333333
DataLong $44444444
DataLong $44444444
DataLong $44444444
DataLong $55555555
DataLong $55555555
DataLong $55555555
DataLong $55555555 ' Tile: 1
DataLong $44444444
DataLong $44444444
DataLong $44444444
DataLong $44444444
DataLong $33333333
DataLong $33333333
DataLong $66666666
DataLong $66666666 ' Tile: 2
DataLong $23333333
DataLong $24444444
DataLong $24444444
DataLong $24444444
DataLong $25555555
DataLong $25555555
DataLong $25555555
DataLong $25555555 ' Tile: 3
DataLong $24444444
DataLong $24444444
DataLong $24444444
DataLong $24444444
DataLong $23333333
DataLong $23333333
DataLong $66666666
DataLong $66666666 ' Tile: 4
DataLong $22333333
DataLong $22444444
DataLong $22444444
DataLong $22444444
DataLong $22555555
DataLong $22555555
DataLong $22555555
DataLong $22555555 ' Tile: 5
DataLong $22444444
DataLong $22444444
DataLong $22444444
DataLong $22444444
DataLong $22333333
DataLong $22333333
DataLong $66666666
DataLong $66666666 ' Tile: 6
DataLong $22333333
DataLong $22444444
DataLong $22444444
DataLong $22444444
DataLong $22555555
DataLong $22555555
DataLong $22555555
DataLong $22555555 ' Tile: 7
DataLong $22444444
DataLong $22444444
DataLong $22444444
DataLong $22444444
DataLong $22333333
DataLong $22333333
DataLong $66666666
DataLong $66666666 ' Tile: 8
DataLong $22233333
DataLong $22244444
DataLong $22244444
DataLong $22244444
DataLong $22255555
DataLong $22255555
DataLong $22255555
DataLong $22255555 ' Tile: 9
DataLong $22244444
DataLong $22244444
DataLong $22244444
DataLong $22244444
DataLong $22233333
DataLong $22233333
DataLong $66666666
DataLong $66666666 ' Tile: 10
DataLong $22223333
DataLong $22224444
DataLong $22224444
DataLong $22224444
DataLong $22225555
DataLong $22225555
DataLong $22225555
DataLong $22225555 ' Tile: 11
DataLong $22224444
DataLong $22224444
DataLong $22224444
DataLong $22224444
DataLong $22223333
DataLong $22223333
DataLong $66666666
DataLong $66666666 ' Tile: 12
DataLong $22222333
DataLong $22222444
DataLong $22222444
DataLong $22222444
DataLong $22222555
DataLong $22222555
DataLong $22222555
DataLong $22222555 ' Tile: 13
DataLong $22222444
DataLong $22222444
DataLong $22222444
DataLong $22222444
DataLong $22222333
DataLong $22222333
DataLong $66666666
DataLong $66666666 ' Tile: 14
DataLong $22222223
DataLong $22222224
DataLong $22222224
DataLong $22222224
DataLong $22222225
DataLong $22222225
DataLong $22222225
DataLong $22222225 ' Tile: 15
DataLong $22222224
DataLong $22222224
DataLong $22222224
DataLong $22222224
DataLong $22222223
DataLong $22222223
DataLong $66666666
DataLong $66666666 ' Tile: 16
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $22222222 ' Tile: 17
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $22222222
DataLong $66666666
cor_bar:
DataInt $0000,$00E0,$00A0,$0006,$000A,$000E,$0EEE,$0888 ' Pallette: 0
DataInt $0CCC,$0088,$0808,$0008,$0880,$0080,$0800,$0000
LoadTiles bar_life,18,256
Palettes cor_bar,1,0,16
b1=32
Do
WaitRaster 1
Sleep 5
Locate 1,12
Print b1
Locate 2,12
Print "press D/E +/-1 "
Locate 3,12
Print "press U/D +/-8 "
c=j
j=JoyPad(0)
'LEFT'
If c.2 Then
b1-=2
End If
'RIGHT'
If c.3 Then
b1+=2
End If
' up'
If c.0 Then
b1-=8
End If
'down'
If c.1 Then
b1+=8
End If
If b1>65000 Then
b1=0
End If
If b1>70 Then
b1=70
End If
If b1<17 Then
DrawTilesInc 256+b1+Palette(1),2,2,1,2
DrawTilesInc 256+Palette(1),3,2,1,2
DrawTilesInc 256+Palette(1),4,2,1,2
DrawTilesInc 256+Palette(1),5,2,1,2
ElseIf b1<36 Then
DrawTilesInc 272+Palette(1),2,2,1,2
DrawTilesInc 256+b1-18+Palette(1),3,2,1,2
DrawTilesInc 256+Palette(1),4,2,1,2
DrawTilesInc 256+Palette(1),5,2,1,2
ElseIf b1<54 Then
DrawTilesInc 272+Palette(1),2,2,1,2
DrawTilesInc 272+Palette(1),3,2,1,2
DrawTilesInc 256+b1-36+Palette(1),4,2,1,2
DrawTilesInc 256+Palette(1),5,2,1,2
ElseIf b1<71 Then
DrawTilesInc 272+Palette(1),2,2,1,2
DrawTilesInc 272+Palette(1),3,2,1,2
DrawTilesInc 272+Palette(1),4,2,1,2
DrawTilesInc 256+b1-54+Palette(1),5,2,1,2
End If
Loop
|
|
|
Post by alexmega on Aug 20, 2018 10:37:09 GMT -5
Good evening. I also do programming in second basic for mega drive. I wanted to ask you for help in this code, I see that you are very advanced. I'm trying to reproduce the floor of the game toy story for my project, and I can not make it work so that it works right, because I'm trying to adapt this code that I believe is yours but I'm not getting it. If you can help, thank you very much. follows attachments. www.dropbox.com/s/17gs0lszrdtc77e/projeto%20shadow.rar?dl=0
|
|
|
Post by alexmega on Aug 20, 2018 10:34:51 GMT -5
as well? I did not understand?
|
|
|
Post by alexmega on Aug 14, 2018 9:01:01 GMT -5
thank's.
|
|
|
Post by alexmega on Aug 10, 2018 13:49:01 GMT -5
Thanks for the help, I want to load the original again without having to reload a new image, because I do not have other font models. so I wanted to take advantage of the system itself.
|
|
|
Post by alexmega on Aug 7, 2018 5:51:52 GMT -5
Good morning, I want to know how to reload the ascii table of the second basic, poi has step I use the first 256 tiles and when it goes to another screen, I wanted to know how to reload these tiles of characters?
|
|
|
Post by alexmega on Jul 21, 2018 23:15:18 GMT -5
Congratulations on your commitment, I'm following
|
|
|
Post by alexmega on Jul 16, 2018 11:54:30 GMT -5
Good afternoon, can someone tell me if they already have a system in basic or similar on electronic protection against piracy? A cod that prevents that if the project gets to turn cartridge it can be copied and posted on the internet? both for bex and second basic.
|
|
|
Post by alexmega on Jul 6, 2018 18:04:18 GMT -5
Good afternoon, someone can tell me if there is any command to clean video ram (vram) from second basic? For in some cases the CLS in the setscrollmode, but it does not resolve and the image is left with traces of the previous scenario. Thanks for helping.
|
|
|
Post by alexmega on Jul 3, 2018 23:01:27 GMT -5
thanks
|
|
|
Post by alexmega on Jul 2, 2018 19:00:10 GMT -5
thank you, I got it for drawtiles, but for sprites? How to apply?
|
|