Search found 51 matches

by cloudstrifer
Fri Aug 23, 2019 5:33 pm
Forum: SGDK
Topic: I Need tips with animations
Replies: 6
Views: 78

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

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

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

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
Sat May 25, 2019 10:13 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 789
Views: 353313

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 Apr 13, 2019 9:56 pm
Forum: SGDK
Topic: ROM Bugs after delete 1 line [SOLVED]
Replies: 9
Views: 1042

Re: ROM Bugs after delete 1 line [SOLVED]

I found another error, index out of bounds.
S8 array [6];
...
Array [6] = 0;

Thank you!
by cloudstrifer
Fri Apr 05, 2019 3:52 pm
Forum: SGDK
Topic: ROM Bugs after delete 1 line [SOLVED]
Replies: 9
Views: 1042

Re: ROM Bugs after delete 1 line [SOLVED]

Confirmed, variable initialization, now enemies only allowed to move after screen creation is complete.

Thank you!
by cloudstrifer
Fri Apr 05, 2019 11:53 am
Forum: SGDK
Topic: ROM Bugs after delete 1 line [SOLVED]
Replies: 9
Views: 1042

Re: ROM Bugs after delete 1 line

I don't understand what you expect from us.. I tested both ROM, and both appears to work. You didn't tell us what is not working anymore in the new ROM. Also you only provide the ROM so we cannot do anything from just : Hi, please help me, my rom not works correctly after I remove or comment 1 line...
by cloudstrifer
Thu Apr 04, 2019 7:06 pm
Forum: SGDK
Topic: ROM Bugs after delete 1 line [SOLVED]
Replies: 9
Views: 1042

Re: ROM Bugs after delete 1 line [SOLVED]

(Running on an emulator) I just noticed that when you first load up "Goof NEW.bin", the two sprites do not move. If you do a soft reset, they'd move. If you do a hard reset, they won't move again. So I'm guessing it has something to do with variable initialization failing to account soft resets. ED...
by cloudstrifer
Thu Apr 04, 2019 5:22 pm
Forum: SGDK
Topic: ROM Bugs after delete 1 line [SOLVED]
Replies: 9
Views: 1042

Re: ROM Bugs after delete 1 line

Sorry about wasting your time, but now it don't crashes anymore.

Maybe Im crazy :shock:

For now, I will investigate that issue.

Thank you!
by cloudstrifer
Thu Apr 04, 2019 5:14 pm
Forum: SGDK
Topic: ROM Bugs after delete 1 line [SOLVED]
Replies: 9
Views: 1042

Re: ROM Bugs after delete 1 line

Thank you for reply.

Using "New rom" 2 enemies don't move, and after 1 minute game crashes.

I will solve the problem with my code, splitting and cleaning, I'm just writing code, but it became too big.
by cloudstrifer
Thu Apr 04, 2019 4:11 pm
Forum: SGDK
Topic: ROM Bugs after delete 1 line [SOLVED]
Replies: 9
Views: 1042

ROM Bugs after delete 1 line [SOLVED]

Hi, please help me, my rom not works correctly after I remove or comment 1 line. My main.c have 7447 lines. //SPR_setVisibility(lifes_p1, VISIBLE); Works Goof OLD - Working.rar After remove line not works Goof New - Not working.zip Using "New rom" 2 enemies don't move, and after 1 minute game crashe...