wanax
Burger Head
Posts: 10
|
Post by wanax on Oct 25, 2018 4:03:04 GMT -5
Hello, I'm newbie I know that I can use two palettes in the same plane A in my case, but I've seen that the trasparency there is not, see image below... The solution is to use plane B for tower? Or there is some trick? Thanks in advance :-)
|
|
wanax
Burger Head
Posts: 10
|
Post by wanax on Oct 25, 2018 4:57:27 GMT -5
Solved, I have optimized the palette now I use only one plane! Sorry guys... :-)
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 25, 2018 8:44:33 GMT -5
You can use multiple palettes on the same plane. Just use the palette() function when identifying the tile number. For example:
DrawTile 1+Palette(2),x,y
|
|
wanax
Burger Head
Posts: 10
|
Post by wanax on Oct 25, 2018 10:17:02 GMT -5
Thanks elusive for your answer, this is the result...
|
|
|
Post by tiberiyltim on Oct 25, 2018 16:44:36 GMT -5
Hello, I'm newbie I know that I can use two palettes in the same plane A in my case, but I've seen that the trasparency there is not, see image below... The solution is to use plane B for tower? Or there is some trick? Thanks in advance :-) 4 palettes on any plans (A/B/Window). 1 palette on 1 tile. ink 0 DRAWTILESINC 172,0,10,4,1 ink 1 DRAWTILESINC 172,0,11,4,1 ink 2 DRAWTILESINC 172,0,12,4,1 ink 3 DRAWTILESINC 172,0,13,4,1
|
|
wanax
Burger Head
Posts: 10
|
Post by wanax on Oct 28, 2018 12:54:18 GMT -5
Thanks to you tiberiyltim for the suggestion. I've created a parallax scrolling for the intro of MAGOT, this is the video of parallax scrolling:
For me is to fast, is possible to slow down the scrolling without losing fluidity of movement? I would like to do something similar to Sword of Vermillion.
Thanks :-)
|
|
|
Post by tiberiyltim on Oct 28, 2018 14:56:52 GMT -5
Good work!
Slow on frame:
'''''''TIMER'''''''''
if Frame1=60 then
Frame1=0
Sec++
endif
if Sec=60 then
Sec=0
Min++
endif
if Min=60 then
Min=0
Min=++
endif
Frame1++
''''''TIMER END''''''
if Frame1=8 [or] Frame1=38 then
Scroll Left,1,3
Scroll Left,1,4
EndIf
if Frame1=7 [or] Frame1=22 [or] Frame1=37 [or] Frame1=52 then
Scroll Left,1,5
Scroll Left,1,6
EndIf
if Frame1=13 [or] Frame1=33 [or] Frame1=53 then
Scroll Left,1,7
Scroll Left,1,8
EndIf
if Frame1=5 [or] Frame1=17 [or] Frame1=29 [or] Frame1=41 [or] Frame1=53 then
Scroll Left,1,9
Scroll Left,1,10
EndIf
if Frame1=53 then
Scroll Left,1,11
Scroll Left,1,12
Scroll Left,1,13
EndIf
|
|
wanax
Burger Head
Posts: 10
|
Post by wanax on Oct 28, 2018 15:27:10 GMT -5
Thanks! I really appreciate your help! I'm working hard for coding Magot :-)
I think I know what to do with your code...this is my actual code:
SetScrollPlane Scroll_B
SetScrollMode HScroll_Cell, VScroll_OverAll
py=128+16+8
On InterruptVBlank GoSub ScrollRight
Enable InterruptVBlank
End
ScrollRight:
Scroll Right,1,py
Scroll Right,2,py+8
Scroll Right,3,py+16
Scroll Right,4,py+24
Scroll Right,5,py+32
Scroll Right,6,py+40
Scroll Right,6,py+48
Scroll Right,7,py+56
Scroll Right,7,py+64
Sleep 2,TvBlank
Return
Now update my code whit your code :-)
|
|
wanax
Burger Head
Posts: 10
|
Post by wanax on Nov 16, 2018 5:06:52 GMT -5
Hey there, I've made some update to my code, now is more better :-)
|
|
wanax
Burger Head
Posts: 10
|
Post by wanax on Dec 1, 2018 2:18:03 GMT -5
Hello...It's sprite time :-)
|
|