Search found 135 matches

by danibus
Wed Apr 15, 2020 10:35 pm
Forum: SGDK
Topic: What map editors are you using that can be easily integrated in SGDK?
Replies: 2
Views: 3861

Re: What map editors are you using that can be easily integrated in SGDK?

That would be a big step! Nice feature, hope you get it
by danibus
Sat Apr 11, 2020 1:34 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 852
Views: 1182331

Re: Sega Genesis Dev Kit (SGDK)

Yes.

You can delete these posts if u want, as they are not SGDK related
by danibus
Fri Apr 10, 2020 9:27 pm
Forum: SGDK
Topic: My SGDK Tutorials (Spanish & English)
Replies: 17
Views: 24719

Re: My SGDK Tutorials (Spanish)

Thanks to you of course


Regarding Patreon, no I haven't. I even don't know how Patreon works.
by danibus
Fri Apr 10, 2020 6:12 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 852
Views: 1182331

Re: Sega Genesis Dev Kit (SGDK)

I'm in trouble. Just have 2 un-used s16 vars. I used them but not now. But if I delete one of them ( or both ), main player animation fails! This is what I get in GensKmod message window: "SPR_setAnim: error - trying to use non existing animation #1 - num animation = 0" All msgs similar to this one...
by danibus
Sun Apr 05, 2020 8:10 pm
Forum: SGDK
Topic: s16/s32 and sprintf/VDP_drawText
Replies: 2
Views: 3670

Re: s16/s32 and sprintf/VDP_drawText

Thanks Stef :D
by danibus
Sun Apr 05, 2020 5:15 pm
Forum: SGDK
Topic: s16/s32 and sprintf/VDP_drawText
Replies: 2
Views: 3670

s16/s32 and sprintf/VDP_drawText

Good day folks Very stupid question. This is working well: u16 var_a = 65000; char my_string[32]; sprintf(my_string, "%u", var_a); VDP_drawText(my_string, x, y); //x,y position in tiles I can see 65000 on TV. Also works with s16 with i.e. a = 32000 (as we need space for negative numbers). Why this i...
by danibus
Sat Apr 04, 2020 5:03 pm
Forum: SGDK
Topic: My SGDK Tutorials (Spanish & English)
Replies: 17
Views: 24719

Re: My SGDK Tutorials (Spanish)

New lesson - Interactive Scenarios

<<NEW>>
Lesson 11 - Interactive Scenarios

Image



PD: Thanks for your comments
by danibus
Mon Mar 16, 2020 7:18 pm
Forum: SGDK
Topic: (my) Problems with VDP_setMapEx()
Replies: 2
Views: 3930

Re: Problems with VDP_setMapEx()

But see up part of tower (battlements). Also fucsia (color 0) between then but no transparency. I recheck in GraphicsGale and see no problem in PNGs. Will try another graphics. edit: Same problem with another graphics. So I recheck and recheck and problem seems to be in PRIORITY, not in graphics. //...
by danibus
Sun Mar 15, 2020 5:40 pm
Forum: SGDK
Topic: (my) Problems with VDP_setMapEx()
Replies: 2
Views: 3930

(my) Problems with VDP_setMapEx()

Good day I was using VDP_setMapEx() with h.scroll with success, but actually I'm trying to do a different thing and not sure what's happening. I use VDP_drawImageEx() to draw a background image in PLAN_B (from a PNG file). This one with castle: fase01_01.png This is ok. Now I want to draw 2 towers i...
by danibus
Thu Feb 27, 2020 3:14 pm
Forum: SGDK
Topic: My SGDK Tutorials (Spanish & English)
Replies: 17
Views: 24719

Re: My SGDK Tutorials (Spanish)

New lesson:

Lesson 9 - Scrolling planes (3) Beyond 512px

Thanks all the people in this post that help me so much
( cloudstrifer, Sik, hotrodx, Chilly Willy ).

Image
by danibus
Wed Jan 29, 2020 12:46 pm
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 20
Views: 21621

Re: Horizontal Scroll not showing all background image

Hi again folks Finally it's working! I just change the code a bit and works perfectly, only scrolling in one direction, that means pressing DPAD right it's ok, scroll works and the image is showing complete :D Remember, I'm working with a 1024x224px PNG file. But not sure why moving in the other dir...
by danibus
Mon Jan 27, 2020 10:24 pm
Forum: SGDK
Topic: My SGDK Tutorials (Spanish & English)
Replies: 17
Views: 24719

Re: My SGDK Tutorials (Spanish)

by danibus
Fri Jan 17, 2020 9:18 am
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 20
Views: 21621

Re: Horizontal Scroll not showing all background image

This is working but not for column-tile 127, not sure why but tile 127 are being painted with column-tile 63. Just wait for moving 8 pixels to update tile, so it's painted out of "TV zone" [...] s16 offset=512; s16 offsetTILES = 0; s16 offset_old = offset; while(TRUE) { offsetTILES = (offset>>3) & 1...
by danibus
Wed Jan 15, 2020 10:51 pm
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 20
Views: 21621

Re: Horizontal Scroll not showing all background image

Thanks again Chilly Willy Now it's like this [...] VDP_drawImageEx(PLAN_B, &bgd_image, TILE_ATTR_FULL(PAL2, FALSE, FALSE, FALSE, ind), 0, 0, FALSE, TRUE); ind += bgd_image.tileset->numTile; VDP_setScrollingMode(HSCROLL_PLANE ,VSCROLL_PLANE); s16 offset=512; //PIXELS from 0 to 1023px s16 offsetTILES ...
by danibus
Wed Jan 15, 2020 3:23 pm
Forum: SGDK
Topic: Horizontal Scroll not showing all background image
Replies: 20
Views: 21621

Re: Horizontal Scroll not showing all background image

Thanks Chilly Willy, changed with offsetTILES = (offset>>3) % 128; //offset=0..1023 then offsetTILES=0..127 Anyway, I can see 1st tile-column (left part of visible tiles) updating. I think I have to update in another place but not sure why, as 1st column dissapearing at left part (tile column 0 i.e....