Search found 118 matches

by cloudstrifer
Thu Sep 05, 2019 6:10 pm
Forum: SGDK
Topic: KGens Debug
Replies: 5
Views: 8528

KGens Debug

Hi! I don't know what ' Spy:00200 Reg. 15 : an auto increment data of 0 is a bad idea! ' means. Is it critical? Lines 2, 3 and 4. Thank you! gens_KMod.log *******************rom Spy:00200 Reg. 0 : bit 2 must be 1 Spy:00001 Reg. 7432640 : bit 2 must be 1 Spy:00200 Reg. 15 : an auto increment data of ...
by cloudstrifer
Wed Sep 04, 2019 1:14 am
Forum: SGDK
Topic: Need Remove All Sprites from VDP
Replies: 9
Views: 10943

Re: Need Remove All Sprites from VDP

Thank you.
by cloudstrifer
Mon Sep 02, 2019 7:56 pm
Forum: SGDK
Topic: Need Remove All Sprites from VDP
Replies: 9
Views: 10943

Re: Need Remove All Sprites from VDP

What is shown on screen? I don't see it at screen, I see on Gens VDP sprites list (Gens > CPU > Debug > Genesis > VDP Sprites). Thank you. Errrr that's exactly what the function is supposed to do then. It doesn't matter if the table is fully cleared as long as the player doesn't see any sprites on ...
by cloudstrifer
Mon Sep 02, 2019 5:08 pm
Forum: SGDK
Topic: Need Remove All Sprites from VDP
Replies: 9
Views: 10943

Re: Need Remove All Sprites from VDP

I want do release a sprite and replace it with another sprite. Please, tell me if the code bellow is a good pratice. SPR_releaseSprite(arrRope[lastIndex]); arrRope[lastIndex] = SPR_addSpriteSafe(&rope_2_32, shootStartX_p1 + 1, shootStartY_p1 - 2 - (lastIndex * 32) - 32, TILE_ATTR(PAL1, FALSE, FALSE,...
by cloudstrifer
Mon Sep 02, 2019 5:00 pm
Forum: SGDK
Topic: Need Remove All Sprites from VDP
Replies: 9
Views: 10943

Re: Need Remove All Sprites from VDP

Sik wrote:
Sun Sep 01, 2019 6:07 pm
What is shown on screen?
I don't see it at screen, I see on Gens VDP sprites list (Gens > CPU > Debug > Genesis > VDP Sprites).

Thank you.
by cloudstrifer
Sun Sep 01, 2019 1:27 pm
Forum: SGDK
Topic: Need Remove All Sprites from VDP
Replies: 9
Views: 10943

Need Remove All Sprites from VDP

I want to remove all sprites from VDP, but i still see them.

My code:

Code: Select all

	//SPR_reset();
	//SPR_clear();
	VDP_resetSprites();
	VDP_updateSprites(0, FALSE);
	//SPR_defragVRAM();
	VDP_clearPlan(PLAN_A, TRUE);
	VDP_clearPlan(PLAN_B, TRUE);	
Can someone help me?
sprites.png
sprites.png (10.69 KiB) Viewed 10943 times
Thank you!
by cloudstrifer
Thu Aug 29, 2019 6:58 pm
Forum: SGDK
Topic: NM2WCH error / crash
Replies: 2
Views: 8276

NM2WCH error / crash

Not working anymore :(

Code: Select all

D:/SGDK/bin/nm2wch D:/Genesis/ProjetoVS/out/rom.nm D:/Genesis/ProjetoVS/out/rom.wch
NM File
nm.rar
(23.73 KiB) Downloaded 316 times
Thank you!
by cloudstrifer
Fri Aug 23, 2019 5:33 pm
Forum: SGDK
Topic: I Need tips with animations
Replies: 6
Views: 5973

Re: I Need tips with animations

Thank you!
by cloudstrifer
Fri Aug 23, 2019 12:29 pm
Forum: SGDK
Topic: I Need tips with animations
Replies: 6
Views: 5973

Re: I Need tips with animations

I want to show the defeat animation (6 frames) one time and hide the sprite.
by cloudstrifer
Thu Aug 22, 2019 8:39 pm
Forum: SGDK
Topic: I Need tips with animations
Replies: 6
Views: 5973

Re: I Need tips with animations

I found this way to make it works, i don't know if this is the best. Thanks Stef. if(arrEnemyFrame[enemyIndex] == 0) { arrEnemies[enemyIndex]->timer = 0; SPR_setAnimAndFrame(arrEnemies[enemyIndex], ANIM_PIRATE_DIE, 0); arrEnemyFrame[enemyIndex] ++; } else { if (arrEnemyFrame[enemyIndex] == (arrEnemi...
by cloudstrifer
Thu Aug 22, 2019 4:18 pm
Forum: SGDK
Topic: I Need tips with animations
Replies: 6
Views: 5973

I Need tips with animations

Hi, i need to improve my code. I need to know two things. 1 - Show an animation just one time, without loop. if(arrEnemyFrame[enemyIndex] == 0) { arrEnemies[enemyIndex]->timer = 0; SPR_setAnimAndFrame(arrEnemies[enemyIndex], ANIM_PIRATE_DIE, 0); arrEnemyFrame[enemyIndex] ++; } else { if (arrEnemyFra...
by cloudstrifer
Mon May 27, 2019 4:58 pm
Forum: Demos
Topic: Mega Goof Troop
Replies: 10
Views: 17114

Re: Goof Troop UNNOFICIAL v0.16 (Demo) - SGDK - Sega Genesis / Mega Drive

High resolution.
by cloudstrifer
Sat May 25, 2019 10:13 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 852
Views: 1181601

Re: Sega Genesis Dev Kit (SGDK)

Thank you for a new SGDK version.
Stef wrote:
Thu May 23, 2019 11:44 am
That was 2 features really important to add :D
Stef, is there an option to keep duplicated frames or other alternative to show 2 or 3 identical frames in a row?

frame 1 = 2 frames
frame 2 = 5 frames

Thank you!
by cloudstrifer
Sat May 25, 2019 12:24 am
Forum: Demos
Topic: Mega Goof Troop
Replies: 10
Views: 17114

Re: Goof Troop UNNOFICIAL v0.16 (Demo) - SGDK - Sega Genesis / Mega Drive

Thank you.
Link fixed.
by cloudstrifer
Fri May 24, 2019 7:14 pm
Forum: Demos
Topic: Mega Goof Troop
Replies: 10
Views: 17114

Mega Goof Troop

VIDEO and Download
https://www.youtube.com/watch?v=3pDaD4EVMpk

Image

2 Players
Need improve color paletes

Please report bugs.

Music by
Edson Leal Jr. (elj_)