Author Topic: GNU Rocket for PureBasic  (Read 5338 times)

0 Members and 1 Guest are viewing this topic.

Offline Den

  • ZX 81
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
GNU Rocket for PureBasic
« 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

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)

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: GNU Rocket for PureBasic
« Reply #1 on: February 26, 2014 »
Do you have picture on showing what it does :)

Offline Den

  • ZX 81
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
Re: GNU Rocket for PureBasic
« Reply #2 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

And a snapshot of the video in case you can't play videos:


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

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 :)

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: GNU Rocket for PureBasic
« Reply #3 on: February 27, 2014 »
That should be really useful for the PB guys, Den. Great work! :) K++
raizor

Challenge Trophies Won:

Offline Den

  • ZX 81
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
Re: GNU Rocket for PureBasic
« Reply #4 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)

Offline emook

  • C= 64
  • **
  • Posts: 94
  • Karma: 12
    • View Profile
Re: GNU Rocket for PureBasic
« Reply #5 on: March 12, 2014 »
This looks excellent! Thanks!

:) K+
----

R Tape loading error, 0:1

Offline Den

  • ZX 81
  • *
  • Posts: 5
  • Karma: 2
    • View Profile
Re: GNU Rocket for PureBasic
« Reply #6 on: March 12, 2014 »
Thank you emook! :)