Search found 28 matches

by astrofra
Wed Nov 16, 2016 8:01 pm
Forum: SGDK
Topic: What do you use for sorting?
Replies: 15
Views: 10635

Re: What do you use for sorting?

Here is the Quicksort I'm using on my vectorball part of " Malabars Bumper " : #include "genesis.h" // Sorting generic structure struct QSORT_ENTRY { fix16 value; u16 index; }; static struct QSORT_ENTRY t; //------------------------------------------------------ inline void QSwap (struct QSORT_ENTRY...
by astrofra
Thu Jul 28, 2016 1:02 pm
Forum: Demos
Topic: Malabars Bumper (demo by Resistance)
Replies: 6
Views: 6317

Re: Malabars Bumper (demo by Resistance)

ehaliewicz wrote: I wish you hadn't revealed the physics was pre-calc'd...
Haha :)
People would have noticed sooner or later, as I released the source anyway...
by astrofra
Tue Jul 26, 2016 2:56 am
Forum: SGDK
Topic: Troubles with sprites (new version SGDK)
Replies: 17
Views: 10774

Re: Troubles with sprites (new version SGDK)

Hi Alko,
Nice to see another demoscene dude around here :)
SPR_update(sprites, 80);
Can you check if this function is still asking parameters this way ?

Maybe you could share the whole archive of your demo (even privately).
It's not like someone is going to steal your source code :)
by astrofra
Sun Jul 24, 2016 7:16 am
Forum: Demos
Topic: Malabars Bumper (demo by Resistance)
Replies: 6
Views: 6317

Re: Malabars Bumper (demo by Resistance)

Yup, sorry about Gens :( As said in the http://www.pouet.net/prod_nfo.php?which=67778 , http://www.astrofra.com/posts/misc/2016-07-24_091413.jpg we stumbled on several issues with Gens, especially regarding the audio that could not replay the PCM tracks at the proper speed :/ Kega Fusion, Exodus and...
by astrofra
Sat Jul 23, 2016 2:38 pm
Forum: Demos
Topic: mario style platformer early demo
Replies: 2
Views: 3355

Re: mario style platformer early demo

Looks promising.
Still some slight performance issues, but the most important is to have something that works, at that point.

I guess you did this in C, not C++ :)
by astrofra
Fri Jul 22, 2016 6:07 am
Forum: Demos
Topic: Zsenilia (256Kb intro by Resistance)
Replies: 12
Views: 11542

Re: Zsenilia (256Kb intro by Resistance)

The source code was pushed on Github :
https://github.com/ResistanceVault/demo-Zsenilia
by astrofra
Fri Jul 22, 2016 6:05 am
Forum: Demos
Topic: Malabars Bumper (demo by Resistance)
Replies: 6
Views: 6317

Malabars Bumper (demo by Resistance)

Hi guys! With the boys of Resistance we spend several months working on a demo for the beloved Megadrive . Here is the result : http://www.pouet.net/prod.php?which=67778 If you are curious about how it works, you will find the complete source with assets & python helper scripts. It is based on the S...
by astrofra
Thu Jan 07, 2016 7:31 am
Forum: SGDK
Topic: Synchronizing events on a music / XGM question
Replies: 3
Views: 2734

Re: Synchronizing events on a music / XGM question

With a clock, be it in ms, ticks or wathever unit is available, it could be quite easy to get precomputed levels from such a table : https://code.google.com/p/within-the-mesh-demoscene-project/source/browse/trunk/gs_project/scripts/synchro-track_beeps.nut and then, in the code, decide what event to ...
by astrofra
Wed Jan 06, 2016 10:36 pm
Forum: SGDK
Topic: Synchronizing events on a music / XGM question
Replies: 3
Views: 2734

Synchronizing events on a music / XGM question

Hi! working on a demoscene project with the amazing SGDK, I would like to know if there's a way to synchronize my visual events with the music. I'm currently using the XGM Driver, and I was looking for a function that would either give me the current clock/position of the VGM file being replayed, or...
by astrofra
Wed Jan 06, 2016 6:51 am
Forum: Demos
Topic: Zsenilia (256Kb intro by Resistance)
Replies: 12
Views: 11542

Re: Zsenilia (256Kb intro by Resistance)

It was one of the courses I enjoyed the most at college :')
Back then I wouldn't have imagined it will help me 25 years later!

It was more or less like this :
Image
by astrofra
Mon Jan 04, 2016 11:23 am
Forum: Demos
Topic: Zsenilia (256Kb intro by Resistance)
Replies: 12
Views: 11542

Re: Zsenilia (256Kb intro by Resistance)

There's no such thing as a "stupid guy". It seems complicated once turned into Python, but all you need to know is the basics of parametric equations : The most basic figure you want to draw using a parametric equation is a circle : http://mathworld.wolfram.com/ParametricEquations.html Then, you can...
by astrofra
Sun Jan 03, 2016 8:32 am
Forum: Demos
Topic: Zsenilia (256Kb intro by Resistance)
Replies: 12
Views: 11542

Re: Zsenilia (256Kb intro by Resistance)

Thanks for your feedbacks, guys. As Sik mentionned, this intro is mainly made using a table of sprites, with a separate table of attributes to tell them, individually, when to remain behind the logo's layer. The sin/cos was the fun part indeed. You might find interesting (or not at all) that the cos...
by astrofra
Tue Dec 29, 2015 7:23 am
Forum: Demos
Topic: Zsenilia (256Kb intro by Resistance)
Replies: 12
Views: 11542

Zsenilia (256Kb intro by Resistance)

Hello, it turns out this is my first post on Sprites Mind, but I've been lurking around and playing with the (amazing) SGDK for quite a while :) Working with the demoscene groupe called " Resistance ", we released a couple of days after Christmas a small demoscene intro for the Megadrive. It is enti...