Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / [LOCKED] TA Toad's Splash plugin

Author
Message
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 00:24
This is the first time i used a plugin- dont have a go at me. I downloaded the 2 DBA files that come with it, and i've had a look at them. I tried to put in it with the code for a game, but it doesn't work, just comes up with "alien caused an error in <<unknown>> alien will now close) if someone could tell me what each piece of the code does i'd be greatful

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
Mattman
23
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 24th Sep 2003 00:30
please post the tested code

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 00:36 Edited at: 24th Sep 2003 00:41
Yes, the code will be very useful - if you can also send me the slash bitmap, that'll be useful too.

Its one of the least used of my plug-ins (I know of only one other persons who's even mentioned it), so there may be the odd bug or too...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 00:41 Edited at: 24th Sep 2003 00:43
well ok
kinda lengthy;
after modification the error now says "'parameter for 'splash screen on' does not match 'active a splash screen' at line 1"
i know the rest of the code is fine its only since i added the splash stuff that i got the errors

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 00:44 Edited at: 24th Sep 2003 00:46
I'm not surprised you got the "parameter for splash scren on does not match" error - you forgot the X & Y positioning values :



Whilst the TRIANGLE option works (well), as far as I know, I recommend its not used, mainly because it tends to look rather poor.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 01:03 Edited at: 24th Sep 2003 01:05
so i shud use this?


www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 01:08
yo mattman what time u plannin on comin into the IRC room? i got newsbout the game

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 01:13
No, use




Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 01:23
hmm now the code keeps on crashing with the previus error. please could somebody send me some info to what the different commands that appear in testsplashscreen.dba do? and the constants thing cheers.

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 01:44 Edited at: 24th Sep 2003 01:47
set splash number of files 1024 - Tells the plug-in how many files you will be loading
x=splash screen on("I:LOGO0300.BMP",JUST_CURRENTFILE || USE_TRIANGLE,x,y) - The first parameter is the bitmap picture, the next is the flags, the third & fourth are the X & Y Positions for the window (if any) to appear.
splash screen move x,y - Moves a window to the given X & Y values
set splash processed text$ - Updates the processing text
x=splash screen off() - Deactivates the splash screen system

JUST_PICTURE - Display a picture
JUST_PROGRESS - Progress system
JUST_CURRENTFILE - Display file (text from splash screen processed)
JUST_PERCENTAGE - Percentage value
JUST_FILEPROGPERC - Cant remember now

Can you send me your updated code and bitmap if possible - its possiblt the bitmap is invalid. One other thng - you cant use JPG's - only BITMAP's are valid.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 10:46
Well here's the full code- if u cud fix it then thanx



www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 11:30 Edited at: 24th Sep 2003 11:32
Any chance of being able to send all the media files ?

It works file like :



I uses a white 24-bit picture for the BMP file.

It would be worth trying that at your end, as the problem could be elsewhere.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 18:43
i dont know how to send the files on here have you got an email adress i can send the RAR file too?

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 20:38 Edited at: 24th Sep 2003 20:38
Click on my e-mail button to open up your e-mail program, attach the files and then send... RAR files will be okay.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 23:05
I've sent you a reply back (including everything I used). Most of the problems seem to stem from code ordering, ie setting screen mode after loading objects etc.

There does seem to be a possible graphical glitch with triangles in my Splashscreen module - I'll have a look at that.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 23:23
my inbox was full. I've cleared it now. please could you resend?

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 23:33 Edited at: 24th Sep 2003 23:41
Okay - actually as the RAR file exceeds the 2Mb limit on Hotmail, it'll be easiest if you download it. I'll send you the URL shortly.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 23:50
2MB??? when i sent it it was only 64k. ok what time is it.. oh not even 9 yet k i'll b bac after i done my english coursework.

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 24th Sep 2003 23:50
mattman how come u dont come on IRC no more?

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 24th Sep 2003 23:55 Edited at: 24th Sep 2003 23:55
I included everything - including a rather large executable...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Mattman
23
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 25th Sep 2003 03:54
Froog >>> I come on, but I have school too you know...

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 25th Sep 2003 11:10
me'sa sowwie, i nvr realised u were in a different time zone

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 25th Sep 2003 12:01
Let me know if you've got the file - I think the problem is well described. Let me know if you've got any queries.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Teh Go0rfmeister
22
Years of Service
User Offline
Joined: 17th Aug 2003
Location:
Posted: 26th Sep 2003 00:58
yeh its all fine now cheers for ur time

www.tinnedhead.tk watch this space for the first ever calculator to show the working out. also look out for our first game- ww.exor-mk1.tk
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 26th Sep 2003 12:45
As its all been solved (as detailed above), there isn't much more to say, so I'll lock this.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester

Login to post a reply

Server time is: 2026-07-25 07:02:02
Your offset time is: 2026-07-25 07:02:02