:) so i found how to deal with tile and sprite collision :)
Based on sprite sample
typedef struct {
u16 col_x;
u16 col_y;
u16 tile;
} collision_info_t;
static u16 checkTileXCollision(u16 x, u16 y0, u16 y1, collision_info_t * coll) {
u16 tile = 0;
u16 y;
for(y = y0; y <= y1; y++) {
tile ...
Search found 5 matches
- Wed Dec 30, 2015 12:08 pm
- Forum: SGDK
- Topic: Tiles and sprites question
- Replies: 21
- Views: 16471
- Mon Dec 28, 2015 9:44 am
- Forum: SGDK
- Topic: Tiles and sprites question
- Replies: 21
- Views: 16471
Tiles and sprites question
Hi, i have some questions about tiles and sprites collision.
What is the best way to handle tile drawing ?
Use the PLAN_A and draw all the tiles on it ?
Or draw all tiles like a sprite ?
How do you detect player and tiles collision ?
Are you looking for all tiles in the screen ?
Are you looking ...
What is the best way to handle tile drawing ?
Use the PLAN_A and draw all the tiles on it ?
Or draw all tiles like a sprite ?
How do you detect player and tiles collision ?
Are you looking for all tiles in the screen ?
Are you looking ...
- Fri Dec 25, 2015 7:59 am
- Forum: SGDK
- Topic: Couldn't Allocate Heap, win32 error ...
- Replies: 22
- Views: 20085
Re: Couldn't Allocate Heap, win32 error ...
Same error for me (windows 10 64) also libmd.a isn't up to date (currentZ80Driver missing refernces issues) 

BIOS
Hi I'm new on the genny community.
I would like to know if someone have looked at the bios(tmss?), and tried to replace it ?
I have read on smspower.org that some people made did some hack for the master system, is it possible to do the same in the megadrive ?
In the documents i've found none of ...
I would like to know if someone have looked at the bios(tmss?), and tried to replace it ?
I have read on smspower.org that some people made did some hack for the master system, is it possible to do the same in the megadrive ?
In the documents i've found none of ...