Search found 69 matches

by nemezes
Thu Aug 09, 2018 11:26 am
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

And what has to do disabling render with palettes? Probably you have found a bug that appears and disappears depending on the code around. Anyway try to do a fade in since is much better visually. I may add a fade in. ;) It is a really small visual problem.. some garbage tiles keeps randomly appear...
by nemezes
Thu Aug 09, 2018 12:35 am
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

Thanks again!

It works in part, but sometime the screen freezes at black screen.. I solved the problem when setting all the palettes black. :)

Everything is working fine.

I will upload the rom of the game soon.. just making more levels. Wait for it. :D
by nemezes
Tue Aug 07, 2018 1:54 am
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

Hello again. :) Maybe I did not search very well, my doubt is: Is there any code to enable/disable screen? In BEX there is a simple code to do it. I am trying to hide some glitches when drawing on plane A and B, when changing between screen, for example: start screen to first stage. On emulator it i...
by nemezes
Tue Jul 24, 2018 2:02 pm
Forum: Demos
Topic: Mangangá
Replies: 9
Views: 9209

Re: Mangangá

Here is an early version of the Mangangá. This is the last version made with BEX. As said before, now we are redoing everything in SGDK. Download ROM (google drive): https://drive.google.com/file/d/1kGSbQCT3S-qJsdyLsu_e4vLGcjNj16NY/view https://pbs.twimg.com/media/DiuFSQ_WAAAfRp6.jpg https://pbs.twi...
by nemezes
Sat Jul 21, 2018 12:53 pm
Forum: Demos
Topic: two cyclops
Replies: 7
Views: 8615

Re: two cyclops

Just to inform that I added a link to the description of the trailer of the game containing all the code of Two Cyclops.

Two Cyclops was made using BEX.

There are two BEX files, one to compile the game with sound and the other without sound.

https://www.youtube.com/watch?v=T1Nr0RAuKzM
by nemezes
Thu Jul 19, 2018 10:27 am
Forum: Demos
Topic: Mangangá
Replies: 9
Views: 9209

Re: Mangangá

Look really nice and colorful (similar to C64 color style) :) The BEX version was already quite advanced, why did you changed to SGDK ? Make bigger maps and to add new kinds of enemies. We are still changing sprites, it is easier to do it in sgdk than in BEX. Could be my code, but as I said in othe...
by nemezes
Wed Jul 18, 2018 8:38 pm
Forum: Demos
Topic: Mangangá
Replies: 9
Views: 9209

Re: Mangangá

I was making the game using the BasiEgaXorz, now I am changing everything to SGDK.

here is the preview with SGDK: http://www.youtube.com/watch?v=saabmNyScPw
by nemezes
Thu Jul 12, 2018 1:37 pm
Forum: SGDK
Topic: Sega Genesis Dev Kit (SGDK)
Replies: 852
Views: 1166646

Re: Sega Genesis Dev Kit (SGDK)

To release some VRAM in the tilemap allocation. Megadrive allow 32x32, 32x64, 64x32 (default since SGDK 1.31), 64x64 (defaut in SGDK < 1.31), 128x32, 32x128 tilemap size But almost time 64x32 is enough to do whatever you want and allow to store more tile data in VRAM =) Of course you can change the...
by nemezes
Tue Jul 10, 2018 2:23 am
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

my problem was so simple to solve, it was the way I was using rescomp, I setted everything to BEST, when I changed to FAST, I get out of problems. :D

now the game runs ok, even better: 8 enemies + bullet + player; I will see how many enemies I can add with just one loop to control everything. 8)
by nemezes
Mon Jul 09, 2018 3:43 pm
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

Oh 16 sprites, indeed you were probably quickly reaching the limit then ;) Glad you fixed it =) Thanks. I was just testing the sprite engine. Now I am trying to move enemies over the screen. My code needs lots of improvements. When I used BEX, I could control 6 enemies + player + 1 bullet that play...
by nemezes
Sat Jul 07, 2018 2:41 pm
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

Well done ! To delete / remove a sprite you need to use SPR_releaseSprite(..) method :) Here you were just hiding it, it was always allocated internally (still that doesn't really explain the crash). as it is just hiding the sprite, maybe the crash (game stop and hide all sprites) is that it passes...
by nemezes
Sat Jul 07, 2018 1:53 am
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

I get some trouble when adding some music to the game, I copy + paste the code from sprite example, also copy + paste same vgm music etc. then my game only runs on fusion emulator with music and stops to work on gens (black screen). when I comment the code from the music "//SND_startPlay_XGM(musica)...
by nemezes
Fri Jul 06, 2018 12:03 am
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

thanks for your advices, stef. I read a little about C, now I know how to make a variable global. :wink: also, I can do what I want to do at this part: two levels and a way to add more levels. thanks again. here is my small contribution so far, a small platformer example with a simple big map scroll...
by nemezes
Wed Jul 04, 2018 3:02 pm
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

That looks already quite nice for a beginning :) Don't hesitate to use the "sprite" sample provided in SGDK, it really helps understanding all basic methods =) as I said, I have some small experience working with BEX, so I know the limitations of mega drive and a little about the coding logic, also...
by nemezes
Wed Jul 04, 2018 2:21 pm
Forum: SGDK
Topic: dealing with matrices (arrays)
Replies: 52
Views: 35512

Re: dealing with matrices (arrays)

thank you so much, stef. I will stop on "coding" and start to study the basics of C, it is better than everytime keeping asking. :roll: I still did not try what you said, but here is what I get with just one level and a map with 128 tiles width: https://www.youtube.com/watch?v=ySt0omsbZXE when I use...