Search found 118 matches
- Wed May 18, 2022 5:55 pm
- Forum: SGDK
- Topic: Dynamically modify a Map
- Replies: 7
- Views: 11007
Re: Dynamically modify a Map
Thank you!
- Mon Apr 18, 2022 2:53 pm
- Forum: SGDK
- Topic: Dynamically modify a Map
- Replies: 7
- Views: 11007
Re: Dynamically modify a Map
MAP_xxx methods aren't made for dynamic maps. If you need to modify map then indeed you will need to handle it by yourself and use lower level methods as VDP_setTileMapEx(..) :) Please. Can you give me a litle help? I don't know if I am on correct way. Works baddly, as it loads 2x2 tile, its pops u...
- Tue Apr 05, 2022 1:43 pm
- Forum: SGDK
- Topic: Dynamically modify a Map
- Replies: 7
- Views: 11007
Re: Dynamically modify a Map
Nice, I'm trying but without success. Now using VDP_setTileMapEx, VDP_setTileMapColumnEx and VDP_setTileMapRowEx methods, from Sonic old demos. Loading tileMap to RAM, but I don't know how to change bga TileMap. bga = unpackTileMap(bga_image.tilemap, NULL); // init scrolling updateCameraPosition(); ...
- Sun Apr 03, 2022 12:52 pm
- Forum: SGDK
- Topic: SRAM to tackle lack of RAM?
- Replies: 4
- Views: 6321
Re: SRAM to tackle lack of RAM?
I want to use sram as ram too.
- Sat Apr 02, 2022 2:49 am
- Forum: SGDK
- Topic: Dynamically modify a Map
- Replies: 7
- Views: 11007
Re: Dynamically modify a Map
Trying VDP_setMapEx
- Thu Mar 31, 2022 1:06 pm
- Forum: SGDK
- Topic: Dynamically modify a Map
- Replies: 7
- Views: 11007
Dynamically modify a Map
Hi. How can modify a Map? I want to add tiles on plan A and scroll it, but when I add a tile it disapear after scroll. I need to modify bga Map. Map *bgb; Map *bga; ind = TILE_USERINDEX; KLog_S1("ind", ind); bgBaseTileIndex[BG_A] = ind; VDP_loadTileSet(&bga_tileset, ind, CPU); ind += bga_tileset.num...
- Mon Feb 07, 2022 9:40 pm
- Forum: SGDK
- Topic: SGDK memory allocation
- Replies: 1
- Views: 5835
SGDK memory allocation
Hi!
I want to learn more about SGDK, when it loads some gfx it consumes VRAM and almost same RAM?
Thanks!
I want to learn more about SGDK, when it loads some gfx it consumes VRAM and almost same RAM?
Thanks!
- Thu Feb 03, 2022 2:44 pm
- Forum: SGDK
- Topic: Best way to access nibbles
- Replies: 2
- Views: 6622
Best way to access nibbles
Hi!
I want to read or write a nibble in U16 variable, for example, nible 0 = 12 or nible 3 = 1.
Can I access 4 bits individualy with good a performance?
__3___2____1___0
0000-1111-0000-1111
I want to read or write a nibble in U16 variable, for example, nible 0 = 12 or nible 3 = 1.
Can I access 4 bits individualy with good a performance?
__3___2____1___0
0000-1111-0000-1111
- Fri Dec 03, 2021 7:50 pm
- Forum: SGDK
- Topic: help with black screen
- Replies: 8
- Views: 12192
Re: help with black screen
Its not easy.
I'm using Gens Kmod for debugging.
I can try to help you using Teamviewer or AnyDesk.
I'm using Gens Kmod for debugging.
I can try to help you using Teamviewer or AnyDesk.
- Mon Nov 01, 2021 1:57 pm
- Forum: SGDK
- Topic: Tiles in wrong locations in some parts of the map
- Replies: 2
- Views: 5069
Re: Tiles in wrong locations in some parts of the map
Try to change OPT ALL to NONE or 0.
TILESET debug_tileset_B "Maps/Debug Map/debugMap_B1.png" 0 0
I sugest you to create a copy of Sonic sample and modify it as you wish, maybe it helps.
SGDK folder > sample > sonic
TILESET debug_tileset_B "Maps/Debug Map/debugMap_B1.png" 0 0
I sugest you to create a copy of Sonic sample and modify it as you wish, maybe it helps.
SGDK folder > sample > sonic
- Mon Nov 01, 2021 1:26 pm
- Forum: SGDK
- Topic: How to detect collision between Sprite and Plane A low??
- Replies: 1
- Views: 5154
Re: How to detect collision between Sprite and Plane A low??
Hi.
You can use sprite position X and Y and compare with PLANE A or B, considering it as a 16 x 16 grid or 8 x 8.
I recomend this article.
https://jonathanwhiting.com/tutorial/collision/
Never give up.
You can use sprite position X and Y and compare with PLANE A or B, considering it as a 16 x 16 grid or 8 x 8.
I recomend this article.
https://jonathanwhiting.com/tutorial/collision/
Never give up.
- Wed Sep 22, 2021 2:41 pm
- Forum: Cartridge
- Topic: Change RAM, CRAM from addon
- Replies: 2
- Views: 13439
Change RAM, CRAM from addon
Hi, I like to know if there is some way to change RAM, CRAM and execute complex functions through addon on Sega Genesis.
My initial project will be a cheat device, someone can help me?
My initial project will be a cheat device, someone can help me?
- Mon Mar 29, 2021 4:21 pm
- Forum: SGDK
- Topic: Circular Transparency
- Replies: 6
- Views: 11423
Re: Circular Transparency
Not solved yet.
Somebody have more ideas?
Thank you!
Somebody have more ideas?
Thank you!
- Wed Feb 10, 2021 1:50 pm
- Forum: SGDK
- Topic: Get Tile Index of background specific position (X, Y)
- Replies: 6
- Views: 13281
- Thu Feb 04, 2021 12:00 am
- Forum: SGDK
- Topic: Get Tile Index of background specific position (X, Y)
- Replies: 6
- Views: 13281
Re: Get Tile Index of background specific position (X, Y)
Very Nice.
Thank you!
Thank you!