Dark Bit Factory & Gravity

PROGRAMMING => Purebasic => Topic started by: Den on February 22, 2014

Title: GNU Rocket for PureBasic
Post by: Den on February 22, 2014
Hello, long time no see :)

I've been working on a PureBasic port of GNU Rocket and I thought I'd share it with you, even though the PB forum isn't one of the most popular forums on DBF :P

In case you don't know what the original Rocket is, it's a tool to help you synchronize your demo effects/scenes with the audio. It comes as a C file you include in your demo, and a tracker-like editor used to input your variables values.

I made a git repo (my first one!) to host PBRocket at https://github.com/Dartcode/pbrocket (https://github.com/Dartcode/pbrocket)

I also included a remake of the original sync editor which, while it misses select/copy-paste features, should be compilable on OS X and linux.

The examples (one with native audio and one with BASS lib) should get you going, and I hope you'll find a use for it (it can be used for demos of course, but also for slideshows, subtitles and whatnot)
Title: Re: GNU Rocket for PureBasic
Post by: Hotshot on February 26, 2014
Do you have picture on showing what it does :)
Title: Re: GNU Rocket for PureBasic
Post by: Den on February 26, 2014
Hello!

There isn't much to show about rocket itself as the heart of it is an include file  that manages variables and their values.

Still, I made a video of the demo and the editor running side by side:
http://www.youtube.com/watch?v=Sb34lU7c4KU (http://www.youtube.com/watch?v=Sb34lU7c4KU)

And a snapshot of the video in case you can't play videos:
(https://dl.dropboxusercontent.com/u/24704148/pbrocket_demo.jpg)

I also made a "demo pack" (for Windows) with the demo and the editor executables so you can have a go even if you don't use PureBasic:
https://dl.dropboxusercontent.com/u/24704148/pbrocketdemo_win.zip (https://dl.dropboxusercontent.com/u/24704148/pbrocketdemo_win.zip)

To use the "demo pack":

1) Run pbrocketeditor.exe
2) Load stars.rocket in the editor (Ctrl+O)
3) Run demo.exe
4) You can change the values in the editor and press space to play/pause the demo

Hope it helps :)
Title: Re: GNU Rocket for PureBasic
Post by: Raizor on February 27, 2014
That should be really useful for the PB guys, Den. Great work! :) K++
Title: Re: GNU Rocket for PureBasic
Post by: Den on February 27, 2014
Thanks Raizor :)

Also, I'd like to find somebody who can compile the editor on mac and/or linux (I only use Windows)

It should allow C/C++ coders to use the original GNU Rocket on those platforms too (the C include file should be x-platform but the original editor is Windows only)
Title: Re: GNU Rocket for PureBasic
Post by: emook on March 12, 2014
This looks excellent! Thanks!

:) K+
Title: Re: GNU Rocket for PureBasic
Post by: Den on March 12, 2014
Thank you emook! :)