Search found 8 matches

by matasiete
Mon Jun 03, 2019 5:10 pm
Forum: SGDK
Topic: typewriter effect
Replies: 6
Views: 1134

Re: typewriter effect

I do a similar effect in my jetpac port for printing the game info. Really basic stuff.

Here the code.
https://github.com/diegomtassis/md-jetp ... /printer.c

You can see the effect right after running the rom.
https://github.com/diegomtassis/md-jetp ... ut/rom.bin
by matasiete
Wed May 15, 2019 10:46 am
Forum: SGDK
Topic: Weird problem with sprites
Replies: 5
Views: 2061

Re: Weird problem with sprites

Ok, I'll go back to FAST compression, which works if I add the extra VDP_waitVSync().

I haven't tried debug mode yet. I'll give it a try and I will come with the result.
by matasiete
Wed May 15, 2019 8:55 am
Forum: SGDK
Topic: Weird problem with sprites
Replies: 5
Views: 2061

Re: Weird problem with sprites

Not a full-on fix, but I removed the FAST compression in your sprite.res so that it loads the sprite data linearly. On my test, the rockets now appear correctly in MD mode on first run. Thanks for the effort hotrodx. True, removing the compression definition of the sprites in sprite.res solves the ...
by matasiete
Tue May 14, 2019 6:33 pm
Forum: SGDK
Topic: Weird problem with sprites
Replies: 5
Views: 2061

Re: Weird problem with sprites

Some more info. The differences between the modes are 3 right now: * Position and size of the platforms. * Position of the parts of the rocket. * Initial position of the jetman. If I keep everything equal then no problem with the sprites. If I change only one of the 3 differences, then the sprites o...
by matasiete
Tue May 14, 2019 5:01 pm
Forum: SGDK
Topic: Weird problem with sprites
Replies: 5
Views: 2061

Weird problem with sprites

Hi, Just for learning how to work with the SGDK and before facing more complex projects, I'm coding a port of Jetpac from ZX Spectrum. I have no previous experience coding games at all and it's quite some years since I touch C for the last time, so I'm starting from scratch almost in every aspect. I...
by matasiete
Sun Apr 07, 2019 8:20 pm
Forum: SGDK
Topic: Dummy question on button handling
Replies: 9
Views: 1564

Re: Dummy question on button handling

Thanks for the answers.

15 years that I've been exclusively working with JVM languages. I'm really enjoying to be back using C :D

I think the best will be to read some C manual in parallel with my SGDK go-through.
by matasiete
Sat Apr 06, 2019 11:06 pm
Forum: SGDK
Topic: Dummy question on button handling
Replies: 9
Views: 1564

Re: Dummy question on button handling

Ok, I've seen that joy.h JOY_waitPress function implements the exact same behavior, yet still I would like to understand why my implementation is not working (I mean without the workaround).
by matasiete
Sat Apr 06, 2019 9:08 pm
Forum: SGDK
Topic: Dummy question on button handling
Replies: 9
Views: 1564

Dummy question on button handling

This is my first message here in the community so first and foremost: Hi all! I'm a total newbie with the SGDK and in addition it's more than 15 years I had not used C, so expect really dummy questions. I'm at the beginning of the learning process, going through the tutorials and the included sample...