Search found 5 matches

by faeldaniel
Fri Oct 17, 2014 7:20 pm
Forum: SGDK
Topic: Background collision?
Replies: 0
Views: 10146

Background collision?

Exist some native function for this? I have an image like this, separated by grid of 8px, need to know which color is in a certain position, for example:

Collum 4 and Line 0 is red or position X=36 and Y=6 is red because is same position.
Image
by faeldaniel
Fri Oct 10, 2014 2:58 pm
Forum: SGDK
Topic: Send SpriteDefinition in function
Replies: 5
Views: 4785

I go try, thank your help brother, this sdk is fantastic, I ported my engine for rpg writing to snes perfectly with this sgdk
by faeldaniel
Wed Oct 08, 2014 11:47 pm
Forum: SGDK
Topic: Send SpriteDefinition in function
Replies: 5
Views: 4785

Moon-Watcher wrote:You forgot SPR_update();
Yes, in the funcion movingInLevel(...); i set SPR_update(sprites, 1);
by faeldaniel
Wed Oct 08, 2014 7:37 pm
Forum: SGDK
Topic: Send SpriteDefinition in function
Replies: 5
Views: 4785

Send SpriteDefinition in function

Hello brothers,

I create one function for start my routine, I pass my variables in the function:

void initVarsAndGraphicsForLevel(fix32 initX, fix32 initY, Image imageBg0, Image imageBg1, SpriteDefinition spriteDef){

////////////////////////////////////////
// initialize my vars here ...
by faeldaniel
Wed Oct 01, 2014 2:17 pm
Forum: SGDK
Topic: Maximum size of the Game
Replies: 8
Views: 11613

Maximum size of the Game

What is the maximum limit in MB that the lib supports the creation of a game to run on real console? I am developing on game for Snes in C too and I will port it for Sega Genesis becouse this lib is fantastic.