The Game Creators
The Game Creators Home Online Shop Click to Login
  Hot: Christmas CompetitionNovember NewsletterModel Pack 36DB Pro Pack 2009DGS BonanzaCharacter PackFPS Creator Bonanza;
The Game Creators
Program Announcements / New MAKE AVI Plugin (beta) - make your own AVI files from DBPro!

Go to the first page of this board Return to the Forum Menu Post Message
29 Messages - Page   of 1   
Bookmark and Share Search the Forum

Author Message
CJB

User


Joined: Tue Feb 10th 2004
Location: Essex, UK
Posted: 24th Mar 2006 14:48           | link | toggle

Here is the FIRST release of the imaginatively named DBProAVI.dll.

Summary of what you get (so far):

New Commands:

EXTRACT AVI FRAME "Avi Filename",frame number
(Will extract a single frame from an AVI file of your choice and save it as a BMP).

MAKE AVI "New AVI filename",Frame Rate, Width, Height
(Will create a new AVI file)

ADD IMAGE TO AVI image number
(Will add an image to your AVI animation)

CLOSE AVI *no params*
(Closes your AVI file).

Please take into account that this is a VERY early release and as such has a few bugs, but it IS useable in it's current state.

Just copy the .dll into the plugins-user folder, and copy the .ini into your keywords folder.

At present, the dll makes use of some memblock functions from the DB-Pro exe, so you need to make sure the memblock dll gets linked in (in other words, you need to make sure you make a memblock or something early on in your program).

Here's a little example code for you to play with:


+ Code Snippet
sync on
sync rate 60

make memblock 1,10
delete memblock 1

make avi "myavi.avi",25,320,200

count#=0.0

for t=1 to 100
   box 1,1,100,100,rgb(200-(t*2),0,0),rgb(0,0,0),rgb(t*2,0,0),rgb(0,0,0)
   text (sin(count#)*20)+30,(sin(count#/3.0)*30)+50,"Conrad"
   count#=count#+2.0
   get image 1,1,1,100,100,1
   sync
   add image to avi 1
next t
for t=1 to 100
   box 1,1,100,100,rgb(0,0,0),rgb(0,0,0),rgb(200-(t*2),0,0),rgb(t*2,0,0)
   text (sin(count#)*20)+30,(sin(count#/3.0)*30)+50,"Conrad"
   count#=count#+2.0
   get image 1,1,1,100,100,1
   sync
   add image to avi 1
next t
for t=1 to 100
   box 1,1,100,100,rgb(0,0,0),rgb(t*2,0,0),rgb(0,0,0),rgb(200-(t*2),0,0)
   text (sin(count#)*20)+30,(sin(count#/3.0)*30)+50,"Conrad"
   count#=count#+2.0
   get image 1,1,1,100,100,1
   sync
   add image to avi 1
next t
for t=1 to 100
   box 1,1,100,100,rgb(t*2,0,0),rgb(200-(t*2),0,0),rgb(0,0,0),rgb(0,0,0)
   text (sin(count#)*20)+30,(sin(count#/3.0)*30)+50,"Conrad"
   count#=count#+2.0
   get image 1,1,1,100,100,1
   sync
   add image to avi 1
next t
close avi


WARNING: No codec compress yet, so outputs are LARGE (but non-lossy, so good for proper video work!).

Let me know of bugs.

Enjoy!

Back to top
UzmaDesign
Download: dbproavi.zip Size: 19964 bytesReport this message as abusive
Duffer

User


Joined: Sun Feb 9th 2003
Location: chair
Posted: 24th Mar 2006 16:40           | link | toggle

excellent - gonna put this as a mailback - cant wait to see how it comes along...

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Back to top
Report this message as abusive
MikeS

Moderator


Joined: Mon Dec 2nd 2002
Location: United States
Posted: 26th Mar 2006 20:27           | link | toggle

Cool, I've always wanted this kind of .avi functionality. I'll keep an eye on this for sure!



A book? I hate book. Book is stupid.
(Formerly Yellow)
Back to top
Report this message as abusive
Scraggle

User


Joined: Thu Jul 10th 2003
Location: Teesside University
Posted: 28th Mar 2006 02:09           | link | toggle

Sounds fabulous! Keep at it


Back to top
http://www.codebrewers.com
Report this message as abusive
Baggers

User


Joined: Mon May 31st 2004
Location: Yonder over dem dere hills
Posted: 28th Mar 2006 04:31           | link | toggle

Great stuff man, this will be amazingly useful for alot of people.

M.I.A is pending
Back to top
Report this message as abusive
Game Man

User


Joined: Wed Nov 23rd 2005
Location: Cyberspace
Posted: 3rd Apr 2006 17:50           | link | toggle

You are my hero!
Back to top
Report this message as abusive
Game Man

User


Joined: Wed Nov 23rd 2005
Location: Cyberspace
Posted: 10th Apr 2006 20:22           | link | toggle

Ok, is this post dead, I really want to see this dll finished.
Back to top
Report this message as abusive
MartinS

User


Joined: Thu Dec 15th 2005
Location: Rochester, NY
Posted: 1st May 2006 06:14     Edited: 1st May 2006 06:17     | link | toggle

Nice, CJB! But you might want to make it more like "open to write". So instead of this: + Code Snippet
make avi "myAvi.avi",50,50

   add image to avi 1

close avi
You could do this: + Code Snippet
make avi "myAvi.avi",1,50,50

   add image to avi 1,1

close avi 1
The "1" everywhere is the avinumber, just like the filenumber, in "open to write". Just a idea.

Martin

Back to top
MartinS\' Music
Report this message as abusive
Lord Belial

User


Joined: Thu Aug 29th 2002
Location: Cyberspace
Posted: 22nd Jun 2006 12:03           | link | toggle

Your code seem quite interesting. While I don't need it right now, I see lots of use for it for later. I was wandering if you could help me. Do you know how to read the number of frame and the current frame of a loaded animation in DBP?

Keep on the good work!!!

Lord Belial
Back to top
KryptKoderz
Report this message as abusive
Grandma

User


Joined: Mon Dec 26th 2005
Location: Norway, Guiding the New World Order
Posted: 26th Jun 2006 06:16           | link | toggle

Oh please please finish this. This is just what i need for my game.

"Stupid World of Warcraft.
I have no money, I have no skills. All of the hot hot elvin women are dancing with the big warrior guys. It's college all over again."
Back to top
Report this message as abusive
Freddix

User


Joined: Thu Sep 19th 2002
Location: France
Posted: 27th Jun 2006 17:44           | link | toggle

your plugin seem really interesting

All we have to decide is what to do with the time that is given to us.
Back to top
-
Report this message as abusive
jasonhtml

User


Joined: Sat Mar 20th 2004
Location: OC, California, USA
Posted: 27th Jun 2006 18:30           | link | toggle

if you finish this, you will be my hero


Thread: http://forum.thegamecreators.com/?m=forum_view&t=78971&b=8&p=0
*New Website Coming Soon*
Back to top
MMOGWave Send AIM user a message
Report this message as abusive
Xo TwOfAcE oX

User


Joined: Tue Jun 27th 2006
Location: Cyberspace
Posted: 27th Jun 2006 19:46           | link | toggle

awesome!
Back to top
Report this message as abusive
Chris Franklin

User


Joined: Tue Aug 2nd 2005
Location: UK
Posted: 1st Jul 2006 10:37           | link | toggle

I think CJB died

Stunt man 2 http://forum.thegamecreators.com/?m=forum_view&t=79827&b=8&p=0
WHITEKNUCKLE IS BACK! Check the wip boards for more info
Back to top
DBCoder - All around coding forums (And ways to avoid scams) Send AIM user a message
Report this message as abusive
Google Ad
Back to top
 
BULLSHOCK 2

FPSC Moderator


Joined: Tue Jun 14th 2005
Location: Locked in my computer
Posted: 2nd Jul 2006 02:41           | link | toggle

please finish this plugin!!

its awesome!

oh ya:

we need an ADD SOUND TO AVI 1,1
command


http://www.seqoiagames.com/seqoiacorp/
Back to top
www.fpsc.seqoiagames.com Send AIM user a message
Report this message as abusive
NeX the Fairly Fast Ferret

User


Joined: Sun Apr 10th 2005
Location: The Fifth Plane of Oblivion
Posted: 2nd Jul 2006 11:21           | link | toggle

I misread the title and thought the plugin would include:

MAKE AVI PLUGIN



<OMG></OMG>
NeX, you cant be serious - CattleRustler.
Back to top
Phaton Software
Report this message as abusive
BULLSHOCK 2

FPSC Moderator


Joined: Tue Jun 14th 2005
Location: Locked in my computer
Posted: 4th Jul 2006 16:43           | link | toggle

i also think that there should be an INSERT BLANK FRAME TO AVI 1


http://www.seqoiagames.com/seqoiacorp/
Back to top
www.fpsc.seqoiagames.com Send AIM user a message
Report this message as abusive
Chris Franklin

User


Joined: Tue Aug 2nd 2005
Location: UK
Posted: 7th Jul 2006 11:11           | link | toggle

yea cjb is till here he's been posting in gc for a while

Platformer Compo!
WHITEKNUCKLE IS BACK! Check the wip boards for more info
Back to top
DBCoder - All around coding forums (And ways to avoid scams) Send AIM user a message
Report this message as abusive
Scraggle

User


Joined: Thu Jul 10th 2003
Location: Teesside University
Posted: 29th Oct 2006 01:22           | link | toggle

Any news?
This plugin has a lot of potential. I am sure I am not the only one that could do with something like this.


Back to top
http://www.codebrewers.com
Report this message as abusive
MartinS

User


Joined: Thu Dec 15th 2005
Location: Rochester, NY
Posted: 29th Oct 2006 06:52           | link | toggle

I agree with Scraggle. Where is CJB?

Back to top
MartinS\' Music
Report this message as abusive
LD52

User


Joined: Thu Aug 31st 2006
Location: Internet
Posted: 29th Oct 2006 13:18     Edited: 6th Nov 2006 16:46     | link | toggle

CJB If u make this u are gonna let dark basic professional in a way make movies... Very nice ...
oh ya and good work!
Back to top
Report this message as abusive
Chris Franklin

User


Joined: Tue Aug 2nd 2005
Location: UK
Posted: 4th Nov 2006 04:12           | link | toggle

Quote: "CJB If u make this u are gonna let dark basic professional in a way make movies"

Well we could already do that with this plugin make the fps stick at 1 and then use get image every frame and add it then in the film it'd play back alot lot faster

Back to top
DBCoder - All around coding forums (And ways to avoid scams) Send AIM user a message
Report this message as abusive
Aaron Miller

User


Joined: Sat Feb 25th 2006
Location: Behind the trusty dumpster.
Posted: 5th Nov 2006 22:11           | link | toggle

This is great! DOwnloading...

Your signature has been erased by a mod because it's larger than 600x128
Back to top
Aex.Uni Send AIM user a message
Report this message as abusive
NeX the Fairly Fast Ferret

User


Joined: Sun Apr 10th 2005
Location: The Fifth Plane of Oblivion
Posted: 5th Dec 2006 11:40           | link | toggle

*Bump*

Could you please alter the extract command to save directly to an image slot? Saving to a .bmp is a bit of a strange thing to do in my opinion.


Since the other one was scaring you guys so much...
Back to top
Phaton Software
Report this message as abusive
The admiral

User


Joined: Thu Aug 29th 2002
Location: Cyberspace
Posted: 30th Dec 2006 16:27           | link | toggle

Sounds like a usefull little dll

The admiral
Back to top
Flyer Command Home Site Send AIM user a message
Report this message as abusive
D Ogre

User


Joined: Wed Nov 19th 2003
Location: Cyberspace
Posted: 15th Jan 2007 17:21           | link | toggle

I've been peeping in on this thread from time to time. This seems like a
cool plugin, but not much has happened with it. Does anyone have even an
inkling to where CJB has gone off to? It would be nice to see this plugin
finished...
Back to top
Report this message as abusive
Roxas

User


Joined: Fri Nov 11th 2005
Location: http://forum.thegamecreators.com
Posted: 16th Jan 2007 09:35           | link | toggle

CJB come back to us!!!

I have no soul.. I nobody.. I have no heart.. I have felt in the darkness.. Im the darkness.. Whatever..
Back to top
Report this message as abusive
Vues3d on Kalimee

User


Joined: Wed May 12th 2004
Location: NYON (SWITZERLAND)
Posted: 20th Jan 2007 06:44           | link | toggle

This dll will make the life easier

Back to top
Vues3d
Report this message as abusive
LD52

User


Joined: Thu Aug 31st 2006
Location: Internet
Posted: 28th Jan 2007 21:34           | link | toggle

ITs been more than half a year wow where is CJB?
Back to top
Report this message as abusive

Go to the first page of this board Return to the Forum Menu Post Message
29 Messages - Page   of 1   
Search the Forum

Sorry, but it has been so long since anyone replied to this Thread that it has been automatically locked.
You may read it but not reply.

Forum Search

Enter a word or phrase to search our Forum for:

Thread Subject Search
Search Phrase:
Search Scope: Entire forum
Just this board
 
Google Forum Search
Search Phrase:
 
Apollo v2.02


Dark Game Studio
Privacy Policy AUP Top of Page