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.

The 20 Line Challenge / Media player 9 lines!!!!

Author
Message
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 16th Oct 2005 00:07 Edited at: 16th Oct 2005 00:11
Here's my own media player i made just make sure the animations/films are in the same directory as the player




Just make sure you have the codecs installed for it

Where i would like to be
http://www.portaventura.es
vid: http://english.rides.nl/attractie/info/525
blanky
19
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 16th Oct 2005 00:29
Firstly, filenames are NOT case sensitive.
Secondly, playback will be less smooth than it could be as you don't use the 'sync' command at all.

Thirdly, and finally; How is this proving your coding ability? No offence, but it doesn't even have a file browser.

(Ok, I lied about the finally bit; YOU DON'T NEED TO HAVE BOTH PLAY ANIMATION & LOOP ANIMATION...)
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 16th Oct 2005 00:31
it's case sensitive i think

Where i would like to be
http://www.portaventura.es
vid: http://english.rides.nl/attractie/info/525
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 16th Oct 2005 01:04
Quote: " Firstly, filenames are NOT case sensitive."

yes they are

Quote: "Thirdly, and finally; How is this proving your coding ability? No offence, but it doesn't even have a file browser."

I agree. You should add something where you could go into different directories and you should be able to load other things too, like pictures and sounds, etc.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 16th Oct 2005 02:20
Quote: "yes they are"

On unix-based systems maybe, but not Windows.

Tempest - P2P UDP Multiplayer Plugin - 80% - 15%
Want to try the beta? E-mail me.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Oct 2005 04:35
filenames are not case-sensitive on windows. Do the test yourself.


Deadly Night Assassins
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 16th Oct 2005 10:49
ok but this is good i thought thinking it's my first animation player e.t.c

Where i would like to be
http://www.portaventura.es
vid: http://english.rides.nl/attractie/info/525
Xenocythe
18
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 16th Oct 2005 17:09
Aren't you the one making the Online GTA?
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 16th Oct 2005 17:13
whoops. I meant that they aren't case sensitive. I was mixing the two up.

Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 16th Oct 2005 18:21
Quote: "Aren't you the one making the Online GTA? "


I changed it this is now finished and the gta is now 3d not sure tho how i can do the online bit as it's firstperson

Where i would like to be
http://www.portaventura.es
vid: http://english.rides.nl/attractie/info/525
RegenProZ
18
Years of Service
User Offline
Joined: 20th Aug 2005
Location:
Posted: 16th Oct 2005 23:19
Hey guys ok it's all good given out feedback about what could change but don't make your comments like this

"Aren't you the one making the Online GTA? "

the way I am reading this is like "haha what a loser"

mkay no one is perfect and he is new to this so shut up with the dang absolute pointless threads, days and days of it.

Good idea darkbasicmad, your long way from getting it straight but keep it up.

Ergh What do I put now after that annoying siggy was 3 pixels high. You mods are very noobish dont ya think? HEHE
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 17th Oct 2005 00:09
Yay a compliement

Insanity Complex
18
Years of Service
User Offline
Joined: 16th Sep 2005
Location: Home
Posted: 17th Oct 2005 16:50
I made my own CD player once...it was 120 lines and consisted of the same 5 lines of code repeated but changing a variable:

load cdmusic 1, 1
play music 1
print "track one"
suspend for key
cls

the bolded text is what changed every time the particular lines were repeated
there was also a 'do' before track one, and 'loop' after track 20...

this was the first program that i wrote...

If you stand not beside me, then I assume you to be my enemy.
Three Score
19
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 23rd Oct 2005 06:03
I made a media player with a full gui, file browser(through a dll though;windows calls), and used load animation commands instead of music(animation is so much better) it even had a little bit of control such as pause, stop, loop, no loop and other stuff

hmm too bad i forgot to back that up

If at first you don't succeed call it version 1.0
the above post and signature has been made with 100% recycled binary digits.
*stolen from other posts*
Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 25th Oct 2005 00:05
Well this uses animation commands but is a slight pain if you have sound in the animation

Login to post a reply

Server time is: 2024-04-19 10:38:40
Your offset time is: 2024-04-19 10:38:40