Search found 98 matches

by danibus
Sat Jun 06, 2020 12:05 pm
Forum: SGDK
Topic: My SGDK Tutorials (Spanish & English)
Replies: 17
Views: 7106

Re: My SGDK Tutorials (Spanish)

NEW POST! Now in English and Spanish language! Lesson 13 - Window Plane / El plano Window https://danibus.wordpress.com/2020/06/06/leccion-13-el-plano-window/ video38.gif Not sure if everything is ok, feel free to add your ideas and bugfixes :D Just basic use of Window Plane. J ust remember all thes...
by danibus
Sun May 17, 2020 9:36 am
Forum: Megadrive/Genesis
Topic: VDP 8x16 Interlace Mode
Replies: 7
Views: 831

Re: VDP 8x16 Interlace Mode

It is good for still images, you see markedly higher detail. When things begin to move there will be various interlacing related artifacts appearing. Here's couple experiments I made a while ago : http://www.tmeeco.eu/SMD/HIRES.BIN http://www.tmeeco.eu/SMD/INTERLAC.BIN Very nice. Is there any post ...
by danibus
Mon May 11, 2020 9:37 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 819
Views: 438587

Re: Sega Genesis Dev Kit (SGDK)

Hi there! First cheers to Stef for new update. But my question is about old version :mrgreen: Not really about old version, as I think I'm doing somethig wrong but I don't know where. ... Edit: I think these "non-used" sprites are really being used, I saw when some sprites changed they are used, wh...
by danibus
Sun May 10, 2020 2:15 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 819
Views: 438587

Re: Sega Genesis Dev Kit (SGDK)

Hi there! First cheers to Stef for new update. But my question is about old version :mrgreen: Not really about old version, as I think I'm doing somethig wrong but I don't know where. If I use SPR_getNumActiveSprite () I get a low number, i.e. 28 But if I check VDP-Sprites in GensKmod, is almost ful...
by danibus
Wed Apr 22, 2020 1:29 pm
Forum: SGDK
Topic: Fast question about HUD and strings
Replies: 7
Views: 645

Re: Fast question about HUD and strings

vnsbr wrote:
Wed Apr 22, 2020 10:53 am
Do you need to update string every frame? Maybe only when score and values change?
That's a very good idea. I will try it
by danibus
Sun Apr 19, 2020 5:23 pm
Forum: SGDK
Topic: Fast question about HUD and strings
Replies: 7
Views: 645

Re: Fast question about HUD and strings

So I'm doing this right now: uintToStr(Game.score, s1, 0); uintToStr(Game.high_score, s2, 0); uintToStr(Player.lives, s3, 0); uintToStr(Player.money, s4, 0); uintToStr(Player.magic, s5, 0); SYS_disableInts(); VDP_drawText(s1, 06, 0); VDP_drawText(s2, 18, 0); VDP_drawText(s3, 26, 26); VDP_drawText(s4...
by danibus
Thu Apr 16, 2020 12:38 pm
Forum: SGDK
Topic: Fast question about HUD and strings
Replies: 7
Views: 645

Re: Fast question about HUD and strings

Thanks Stef. Is there any other way to show score than use VDP_drawText(your string here)?
by danibus
Wed Apr 15, 2020 10:50 pm
Forum: SGDK
Topic: Fast question about HUD and strings
Replies: 7
Views: 645

Fast question about HUD and strings

Actually made a HUD using tiles in PLAN A, and using sprintf+VDP_drawText() to draw numbers(lives, energy, etc). I'm using 5 different sprintf+VDP_drawText(...),10 fps less than not use them. I'm not using a "big" sprintf( %d1 %d2 %d3 etc), then sprintf will delete HUD tiles when printing "space" ch...
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: 440

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: 819
Views: 438587

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: 7106

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: 819
Views: 438587

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: 383

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: 383

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: 7106

Re: My SGDK Tutorials (Spanish)

New lesson - Interactive Scenarios

<<NEW>>
Lesson 11 - Interactive Scenarios

Image



PD: Thanks for your comments