Search found 2744 matches

by Stef
Thu Jun 21, 2018 8:35 am
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

In fact the sort method play a lot with the sprite linked list so i think the issue comes form using the SPR_setDepth(..) method but i couldn't see anything wrong with it for now :-/
by Stef
Wed Jun 20, 2018 2:52 pm
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

Hmm i looked into the code and couldn't find anything problematic :? I added some security here and there but it shouldn't change anything in the end :-/
by Stef
Wed Jun 20, 2018 10:15 am
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

Ok, the bug seems to come from an incorrect 'prev' field in one of the Sprite structure from the sort routine : // find position forward first s = next; while(s && (s->depth < sdepth)) s = s->next; ... else { // try to find position backward then s = prev; while(s && (s->depth > sdepth)) s = s->prev...
by Stef
Tue Jun 19, 2018 9:08 pm
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

At least in my case i often do it in the vint callback but that should not really make any difference. I think that sometime you fall in some race condition which make that weird behavior to happen. You said that when it happen, the music don't stop immediately and play very fast for a short amount ...
by Stef
Mon Jun 18, 2018 8:41 am
Forum: Demos
Topic: wolfenstein demo for sega genesis
Replies: 357
Views: 101452

Re: wolfenstein demo for sega genesis

I think what Gasega meant is that 128 KB would act more like movep instruction (and so all source data is used) but with 128 KB mode, you throw away half of the data so you lost the benefit from it. With movep instruction Gasega can process 2 bytes in 16 cycles, with 128 KB mode you do need 2 move.w...
by Stef
Sun Jun 17, 2018 8:21 pm
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

Your support makes me want to find issues, as well. :D I have one more, related to sound that I've been meaning to ask about. Sometimes when stopping the music, XGM_stopPlay(), the sound goes crazy (like it's playing the music REALLY fast) for about a second before stopping. Heard anything like tha...
by Stef
Sun Jun 17, 2018 8:02 pm
Forum: SGDK
Topic: SGDK and tilemap-editors
Replies: 4
Views: 127

Re: SGDK and tilemap-editors

Boyfinn wrote:
Sun Jun 17, 2018 2:30 am
Wasn't rescomp built into SGDK?
In my experience it doesn't handle duplicate-tiles very well.
rescomp is inded built-in into SGDK, it's just the resource compiler.
And i can confirm you that now duplicated tiles are perfectly handled (hopefully) ;)
by Stef
Sat Jun 16, 2018 8:51 pm
Forum: Demos
Topic: wolfenstein demo for sega genesis
Replies: 357
Views: 101452

Re: wolfenstein demo for sega genesis

Hello everyone, I'm back! :) It's been a little over a year since the last version I posted, but I wanted to post a new version of wolf3d. Some of the changes are: ... Glad to see you back gasega :D Well done with this almost final version compatible with NTSC/PAL system now =) Always impress by ho...
by Stef
Sat Jun 16, 2018 7:55 pm
Forum: SGDK
Topic: SGDK and tilemap-editors
Replies: 4
Views: 127

Re: SGDK and tilemap-editors

Myself i'm using Tiled to edit the map then just use the PNG export and feed rescomp with it, it will automatically rebuilt the tilemap out of it :)
You may need to convert the PNG to indexed format.
by Stef
Sat Jun 16, 2018 5:41 pm
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

Glad to hear it fixed your issue :D It's good to have feedback from real user / game developer (as i don't really do it myself :P ) so i can fix that kind of bug not always easy to track ;)
by Stef
Sat Jun 16, 2018 10:20 am
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

Ok, i just pushed a new spr_eng.c file on github repository, can you test with it to see if it fix these issues ? Thanks :D

(and yeah, 256 tiles is *a lot*, basically it's more that what you can send to VDP in a single VBlank !)
by Stef
Sat Jun 16, 2018 9:48 am
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

Oh got it ! I can see that SPR_defragVram() is allocating the last sprite which couldn't be allocated ! Let me fix that :p
by Stef
Thu Jun 14, 2018 10:37 am
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

Can you try to use the library in debug mode ? it will thrown message in KMod output window when error occurs, that might be easier to spot the issue :)
by Stef
Wed Jun 13, 2018 8:39 am
Forum: Demos
Topic: Tänzer, a "ninja" game (Dev Diary thread)
Replies: 168
Views: 8352

Re: Tänzer, a "ninja" game (Dev Diary thread)

Nice to have some news =) At the moment I'm struggling with a sprite limit thing. It seems that when a SPR_addSprite() returns NULL, there is no way to recover from it. Will need to investigate that a bit more and try the new SPR_defragVRAM() that Stef implemented. Oh really ? you mean that when SPR...
by Stef
Mon Jun 11, 2018 8:40 am
Forum: Megadrive/Genesis
Topic: Windows 10 SGDK Setup with Eclipse Help
Replies: 4
Views: 303

Re: Windows 10 SGDK Setup with Eclipse Help

Then now you just need a main() method in your project :)