Do you need tutorials ?
Moderator: Stef
Well you give no definition of what "large" is. You can actually configure how large of a plane the VDP can hold. I googled this real quick and found http://md.squee.co/wiki/VDP#.2410_-_Plane_Size
So if your dimensions exceed the size you specified you will need reload parts of the tilemap as the player moves around. Note this also allows you to make vram tradeoffs, using a smaller plane size allows you to store more tiles, but you will need to do more reloading.
So if your dimensions exceed the size you specified you will need reload parts of the tilemap as the player moves around. Note this also allows you to make vram tradeoffs, using a smaller plane size allows you to store more tiles, but you will need to do more reloading.
Admittedly I have not personally made an example however pretty much any side scrolller on the sega genesis/mega drive features scrolling. You may want to check out viewtopic.php?t=1373 it contains an sgdk example of scrolling.
Re: Do you need tutorials ?
Hi, guys! Thank you all, who is working on SGDK, so much - i love what you do.
I got only one question, is it possible to make SGDK output assembly code? I know, GCC can do it if we used -s command, but i have no idea where to put this flag here (if its even possible). Thank you <3
Why this...
Im working on Mortal Kombat 1 hack and i would like to code new menus with C language, output it to asm and paste it into my hack with few editions instead of fully asm-programmed function.
btw, someday i would like to remake MK1 with SGDK, cuz original engine port as awful as my english (well, maybe better a bit ).
I got only one question, is it possible to make SGDK output assembly code? I know, GCC can do it if we used -s command, but i have no idea where to put this flag here (if its even possible). Thank you <3
Why this...
Im working on Mortal Kombat 1 hack and i would like to code new menus with C language, output it to asm and paste it into my hack with few editions instead of fully asm-programmed function.
btw, someday i would like to remake MK1 with SGDK, cuz original engine port as awful as my english (well, maybe better a bit ).
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Do you need tutorials ?
Hi,
Thanks for your nice comment about SGDK
What i usually do to get assembly output is just adding the '-S' switch to the makefile.
In makefile.gen, replace the following line :
by
and the .o generated files will contains assembly listing instead of binary.
Thanks for your nice comment about SGDK
What i usually do to get assembly output is just adding the '-S' switch to the makefile.
In makefile.gen, replace the following line :
Code: Select all
DEFAULT_FLAGS= -m68000 -Wall -fno-builtin $(INCS) -B$(BIN)
Code: Select all
DEFAULT_FLAGS= -m68000 -Wall -fno-builtin $(INCS) -B$(BIN) -S
Re: Do you need tutorials ?
thank you, Stef
Last edited by ronin68k on Mon Nov 02, 2015 11:16 pm, edited 1 time in total.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Do you need tutorials ?
Hi bestien,
The method you need is VDP_setMapEx(..), you can have a look on these topic to see how to use it :
viewtopic.php?f=19&t=2158
viewtopic.php?f=19&t=2028
The method you need is VDP_setMapEx(..), you can have a look on these topic to see how to use it :
viewtopic.php?f=19&t=2158
viewtopic.php?f=19&t=2028
Re: Do you need tutorials ?
I want to ask a question about mirroring plane or sprites.
and vertical\horisontal scaling planes.
as well about per-pixel parallax-scrolling:
https://youtu.be/CR0MWpOK1RU?t=1062
https://youtu.be/qZM5Mk0-Ehc?t=230
https://youtu.be/b9dX_QcqSf8?t=1928
and vertical\horisontal scaling planes.
as well about per-pixel parallax-scrolling:
https://youtu.be/CR0MWpOK1RU?t=1062
https://youtu.be/qZM5Mk0-Ehc?t=230
https://youtu.be/b9dX_QcqSf8?t=1928
Re: Do you need tutorials ?
Hi All, I'm newbie with this great Tools SGDK..
It is possible to get status of FM or PSG channel like PCM functions with channel mask when you play a song with a music driver like XGM
thx
It is possible to get status of FM or PSG channel like PCM functions with channel mask when you play a song with a music driver like XGM
thx
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Do you need tutorials ?
I already replied on the other forum but to make it short no, you can only get PCM play state or eventually PSG play state but you cannot really get that from FM channel.troudki wrote:Hi All, I'm newbie with this great Tools SGDK..
It is possible to get status of FM or PSG channel like PCM functions with channel mask when you play a song with a music driver like XGM
thx
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Do you need tutorials ?
These games mainly use the line horizontal scrolling, sometime coupled to vertical scroll reprogramming on H int (raster effect).alko wrote:I want to ask a question about mirroring plane or sprites.
and vertical\horisontal scaling planes.
as well about per-pixel parallax-scrolling:
https://youtu.be/CR0MWpOK1RU?t=1062
https://youtu.be/qZM5Mk0-Ehc?t=230
https://youtu.be/b9dX_QcqSf8?t=1928
Re: Do you need tutorials ?
I have learned to do this effect (and I can already do rotation).
But question about zoom still valid.
But question about zoom still valid.
Re: Do you need tutorials ?
The documentation could have some exaple snippets for each function.
Just because some lesser used functions are not properly described and could use some more explanation.
Just because some lesser used functions are not properly described and could use some more explanation.
Re: Do you need tutorials ?
I saw this thread ; viewtopic.php?f=19&t=2525
And thought it might help new users to have a walkthrough setup guide for SGDK with pics.
I found a guide like that when I was staring out but later on it was removed so I took some screens
and made it into a pic since it might help others get into it. This guide ,written by db Electronics
certainly helped me. I'll just link it from dropbox for now;
https://www.dropbox.com/s/mrj8s1wppu0s8 ... K.png?dl=1
And thought it might help new users to have a walkthrough setup guide for SGDK with pics.
I found a guide like that when I was staring out but later on it was removed so I took some screens
and made it into a pic since it might help others get into it. This guide ,written by db Electronics
certainly helped me. I'll just link it from dropbox for now;
https://www.dropbox.com/s/mrj8s1wppu0s8 ... K.png?dl=1
Re: Do you need tutorials ?
The sprite section of this tutorial says "Warning: This tutorial is outdated and mat not be 100% accurate regarding the recent changes in SGDK. It will be updated soon...", but it seems that it never was, thus it's left with example code that doesn't work.
I'm wondering what it is that needs to be altered is all.
I'm wondering what it is that needs to be altered is all.