Search found 57 matches

by Staffan
Sat Jun 24, 2017 9:16 am
Forum: SGDK
Topic: SPRITES
Replies: 15
Views: 11194

Re: SPRITES

Thanx, The documentation works fine, but theres just a list of fuctions and what they do. Thats good, but its the same information I have in Visual Code itself. As soon as I start typing visualcode suggest a function and I can se a list of all available, so thats pretty good. :) I can also click "go...
by Staffan
Fri Jun 23, 2017 10:34 pm
Forum: SGDK
Topic: SPRITES
Replies: 15
Views: 11194

Re: SPRITES

Would appreciate this. The sprite loads in the middle of sprite and in wrong order... I think I do exactly as the sprite tutorial now. Its a 24*24 pixel bitmap. SPRITE LoloFront "sprite/lolo.bmp" 3 3 -1 1 --------------------------------- SPR_init(16, 256, 256); sprites[0] = SPR_addSprite(&LoloFront...
by Staffan
Fri Jun 23, 2017 9:27 pm
Forum: SGDK
Topic: SPRITES
Replies: 15
Views: 11194

Re: SPRITES

Thank you!
It almost worked...
He now loads image but with the wrong offset.

I now see that the tutorial is still worth to look at. I used VDP functions I saw on some other site even for sprite and not just for background,
but now I use SDR for sprite.
by Staffan
Fri Jun 23, 2017 12:38 pm
Forum: SGDK
Topic: SPRITES
Replies: 15
Views: 11194

Re: SPRITES

Aha so there was a C compiler back in thoose days. I thought that this community had written the compiler all by themself. Still impressive do! :) ********************************************************************************* I tried to compile this: VDP_loadTileData( &LoloFront, 1, 1, 0); With t...
by Staffan
Thu Jun 22, 2017 1:55 pm
Forum: SGDK
Topic: SPRITES
Replies: 15
Views: 11194

Re: SPRITES

A res file! That explains why the bitmap name wasnt mentioned in the source code of the example! :)

The examples looks awesome! No limitations I guess. 3D I can live without...
by Staffan
Thu Jun 22, 2017 10:48 am
Forum: SGDK
Topic: SPRITES
Replies: 15
Views: 11194

SPRITES

Hello again! I've been messing around with SGDK now for a few hours now and so far Im really impressed. Already have a sprite moving over a surface. In c64 assembler this took like a week :) I was wondering if there is a way load bmp into a sprite? So far I have only managed to do the sprites "by co...
by Staffan
Tue Jun 20, 2017 8:37 am
Forum: Demos
Topic: Papi Commando Tennis - SgdK
Replies: 2
Views: 3281

Re: Papi Commando Tennis - SgdK

This looks extremly cool. :) Hope to se a finished product!
by Staffan
Mon Jun 19, 2017 3:41 pm
Forum: SGDK
Topic: SGDK and Visual Studio Code template
Replies: 13
Views: 11881

Re: SGDK and Visual Studio Code template

I commented out the include "libres.h" in font.h and it works.
Hope it doesnt do anything important!

Wow, I have Hello World on Megadrive :)

Thank you so much elefas! and thank you for trying Stef. :)
by Staffan
Mon Jun 19, 2017 1:43 pm
Forum: SGDK
Topic: Hellop Everyone!
Replies: 3
Views: 3151

Re: Hellop Everyone!

Well Congratioulations :)
by Staffan
Mon Jun 19, 2017 1:38 pm
Forum: SGDK
Topic: SGDK and Visual Studio Code template
Replies: 13
Views: 11881

Re: SGDK and Visual Studio Code template

where?
not here at least:
https://github.com/Stephane-D/SGDK/tree/master/inc

Im afraid the "rebuild myself" thing is above my head at the moment. :oops:
by Staffan
Mon Jun 19, 2017 1:13 pm
Forum: SGDK
Topic: SGDK and Visual Studio Code template
Replies: 13
Views: 11881

Re: SGDK and Visual Studio Code template

Im on my way to getting this to work :)
But where is libres.h thats font.h refers?
by Staffan
Mon Jun 19, 2017 6:28 am
Forum: SGDK
Topic: Hellop Everyone!
Replies: 3
Views: 3151

Hellop Everyone!

Hello Everyone! My name is Staffan Mattsson and Im a father of two and also a megadrive/nes/snes/atari/amiga/c64 fan. My earlier contributions involves a lolo clone for c64: http://csdb.dk/release/?id=133918 Program in assembler takes forever, but now the word has spread that there is a C compiler f...