Search found 43 matches

by cloudstrifer
Sat Apr 13, 2019 9:56 pm
Forum: SGDK
Topic: ROM Bugs after delete 1 line [SOLVED]
Replies: 9
Views: 265

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

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

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

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

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

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

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...
by cloudstrifer
Fri Mar 15, 2019 5:56 pm
Forum: SGDK
Topic: SGDK and MD details, limitations...
Replies: 11
Views: 495

Re: SGDK and MD details, limitations...

Thank you.
by cloudstrifer
Fri Mar 15, 2019 2:33 pm
Forum: SGDK
Topic: SGDK and MD details, limitations...
Replies: 11
Views: 495

SGDK and MD details, limitations...

Hi, I want to do some tutorials. My first tutorial in Portuguese (PT-BR). https://www.youtube.com/watch?v=6z97ZcWWGpU&lc=z23rizkwkrezzhcnpacdp430eoe1qjqohggk1l35rttw03c010c.1552577267296029 I need to ask some questions to improve my knowledge. 1) How many addresses do we have for variables? So can w...
by cloudstrifer
Fri Mar 15, 2019 2:11 pm
Forum: SGDK
Topic: SPR_setDepth not working?
Replies: 3
Views: 209

Re: SPR_setDepth not working?

Thank you Stef, I am your fan. SGDK is so good! That solved the problem, but I don't know if it is a good pratice. ... SPR_setDepth(arrBridge[0], SPR_MAX_DEPTH); SPR_setDepth(arrBridge[1], SPR_MAX_DEPTH); SPR_setDepth(arrRope[0], SPR_MIN_DEPTH + 50); SPR_setDepth(arrRope[1], SPR_MIN_DEPTH + 49); SPR...
by cloudstrifer
Wed Mar 13, 2019 8:56 pm
Forum: SGDK
Topic: SPR_setDepth not working?
Replies: 3
Views: 209

SPR_setDepth not working?

Hi. I have noticed a strange behavior with SPR_setDepth method, it not working with SPR_setDepth(arrObjects[carryIndex_p1], SPR_MIN_DEPTH); . Why the barrel is not over Goofy? Video on Youtube https://youtu.be/G1yp5I6KRA0 Thank you! Sprite *arrObjects[20]; Sprite *arrBridge[2]; Sprite *arrRope[4]; S...
by cloudstrifer
Sun Feb 17, 2019 6:25 pm
Forum: SGDK
Topic: VDP_loadTileSet, problems in console.
Replies: 4
Views: 388

Re: VDP_loadTileSet, problems in console.

Hi, using disableInts and enableInts problem not happens, but music freezes for a 1 or 2 / 10 of second. I dont know how to use XGM_pause or XGM_resume, because when music freezes it holds the current note, and some notes is anoying when it happens. If someone could help me with some ideas to preven...
by cloudstrifer
Sat Feb 16, 2019 5:12 pm
Forum: SGDK
Topic: VDP_loadTileSet, problems in console.
Replies: 4
Views: 388

Re: VDP_loadTileSet, problems in console.

I will check that.

Thank you Stef.
by cloudstrifer
Fri Feb 15, 2019 2:54 pm
Forum: SGDK
Topic: VDP_loadTileSet, problems in console.
Replies: 4
Views: 388

VDP_loadTileSet, problems in console.

Hi! I have a problem, I want to change tiles in specific positions. But randomly (~1 in 30), only on Mega Drive shows wrong tile, the last in PLAN_B. Tests using Mega Drive model 1 and Mega Everdrive v2. Thank you! Load full background ind = TILE_USERINDEX; VDP_loadTileSet(bgb_image.tileset, ind, TR...
by cloudstrifer
Wed Feb 06, 2019 9:48 pm
Forum: SGDK
Topic: Circular Transparency
Replies: 5
Views: 451

Re: Circular Transparency

Nice, good ideas.

Thank you!