Page 1 of 1
Cd Lib It includes all the cd action in gm
#2
Posted 19 September 2006 - 09:20 PM
Hey there,
I tried your lib, but it has some critical points.
1. It's easier to replace it with something else. The standard lib "extra" has some functions with cd's and all actions in this lib are litterally taken over from the cd_ functions in the help file. However the "extra" tab doesn't have all functions and maybe the script functions are too hard for novice users, but a function like cd_track() or cd_number() is completely useless in a lib because you can't pass the returned value through.
2. The icons are not fully shown, so I can't read the bottom line, and have to mouseover if I want to see what an action does.
3. It gives errors. I got this error:Well that tells me enough: you litterally copied it from the help file, without even replacing the arguments!
I suggest you replace the icons with something smaller, and at least replace the arguments so it works! Also, remove the useless actions, use some more seperators, and test your work.
You'd better get working!
I tried your lib, but it has some critical points.
1. It's easier to replace it with something else. The standard lib "extra" has some functions with cd's and all actions in this lib are litterally taken over from the cd_ functions in the help file. However the "extra" tab doesn't have all functions and maybe the script functions are too hard for novice users, but a function like cd_track() or cd_number() is completely useless in a lib because you can't pass the returned value through.
2. The icons are not fully shown, so I can't read the bottom line, and have to mouseover if I want to see what an action does.
3. It gives errors. I got this error:
Quote
ERROR in action number 4
of Create Event
for object object0:
Error in code at line 1:
cd_play(first,last)
at position 9: Unknown variable first
of Create Event
for object object0:
Error in code at line 1:
cd_play(first,last)
at position 9: Unknown variable first
I suggest you replace the icons with something smaller, and at least replace the arguments so it works! Also, remove the useless actions, use some more seperators, and test your work.
You'd better get working!
This post has been edited by Ghostkeeper: 19 September 2006 - 09:26 PM
#5
Posted 20 September 2006 - 11:55 PM
yes it was copy from a file,and it wasnt tested.
and pple here is the script,dont bother download the lib cause its badd.
just use the codes
(i created this lib for no reason)
Quote
cd_init() Must be called before using the other functions. Should also be called when a CD is changed (or simply from time to time).
cd_present() Returns whether a CD is present in the default CD drive.
cd_number() Returns the number of tracks on the CD.
cd_playing() Returns whether the CD is playing.
cd_paused() Returns whether the CD is paused or stopped.
cd_track() Returns the number of the current track (1=the first).
cd_length() Returns the length of the total CD in milliseconds.
cd_track_length(n) Returns the length of track n of the CD in milliseconds.
cd_position() Returns the current position on the CD in milliseconds.
cd_track_position() Returns the current position in the track being played in milliseconds.
cd_play(first,last) Tells the CD to play tracks first until last. If you want to play the full CD give 1 and 1000 as arguments.
cd_stop() Stops playing.
cd_pause() Pauses the playing.
cd_resume() Resumes the playing.
cd_set_position(pos) Sets the position on the CD in milliseconds.
cd_set_track_position(pos) Sets the position in the current track in milliseconds.
cd_open_door() Opens the door of the CD player.
cd_close_door() Closes the door of the CD player
cd_present() Returns whether a CD is present in the default CD drive.
cd_number() Returns the number of tracks on the CD.
cd_playing() Returns whether the CD is playing.
cd_paused() Returns whether the CD is paused or stopped.
cd_track() Returns the number of the current track (1=the first).
cd_length() Returns the length of the total CD in milliseconds.
cd_track_length(n) Returns the length of track n of the CD in milliseconds.
cd_position() Returns the current position on the CD in milliseconds.
cd_track_position() Returns the current position in the track being played in milliseconds.
cd_play(first,last) Tells the CD to play tracks first until last. If you want to play the full CD give 1 and 1000 as arguments.
cd_stop() Stops playing.
cd_pause() Pauses the playing.
cd_resume() Resumes the playing.
cd_set_position(pos) Sets the position on the CD in milliseconds.
cd_set_track_position(pos) Sets the position in the current track in milliseconds.
cd_open_door() Opens the door of the CD player.
cd_close_door() Closes the door of the CD player
and pple here is the script,dont bother download the lib cause its badd.
just use the codes
(i created this lib for no reason)
#7
Posted 21 September 2006 - 09:40 PM
Libraries are almost useless...
If novices don't know how to use script then they should FIND out how instead of downloading libraries and never learning. The GM Knowledge data base has lots of good scripts and such.
The libraries game maker comes with are really the only ones you'll ever need. Especially the change cursor one since I was told it cannot be done in script only the D&D action can do it.
If novices don't know how to use script then they should FIND out how instead of downloading libraries and never learning. The GM Knowledge data base has lots of good scripts and such.
The libraries game maker comes with are really the only ones you'll ever need. Especially the change cursor one since I was told it cannot be done in script only the D&D action can do it.
#9
Posted 21 September 2006 - 11:05 PM
Well for one: if you use gamemaker then you must have a lot of time on hand.
And as I already stated if you don't have no experience then you must learn!
Practice makes perfect.
If you didn't have no time, then how would you make sprites, music, sounds etc?
And as I already stated if you don't have no experience then you must learn!
Practice makes perfect.
If you didn't have no time, then how would you make sprites, music, sounds etc?
#10
Posted 21 September 2006 - 11:33 PM
Well as a reply to Raymangold22:
MANY people just don't have the coding gene...for instance my good friend (and masterm's good friend) iceflame can sprite wonderfully (proving it has nothing to do with how much time he has) but soen't know a single drop of code.
Librarys are usefull to people like iceflame who just CAN'T learn code...not DON'T learn.
MANY people just don't have the coding gene...for instance my good friend (and masterm's good friend) iceflame can sprite wonderfully (proving it has nothing to do with how much time he has) but soen't know a single drop of code.
Librarys are usefull to people like iceflame who just CAN'T learn code...not DON'T learn.
#11
Posted 22 September 2006 - 12:57 AM
camieman10, on Sep 21 2006, 04:36 PM, said:
MANY people just don't have the coding gene...for instance my good friend (and masterm's good friend) iceflame can sprite wonderfully (proving it has nothing to do with how much time he has) but soen't know a single drop of code.
Librarys are usefull to people like iceflame who just CAN'T learn code...not DON'T learn.
Librarys are usefull to people like iceflame who just CAN'T learn code...not DON'T learn.
Are you just backing masterm up? It sounds like it to me.
#13
Posted 22 September 2006 - 01:08 AM
pyrotek7x7, on Sep 21 2006, 06:03 PM, said:
We're getting off-topic here. I think this thread should be closed.
<{POST_SNAPBACK}>
<{POST_SNAPBACK}>
I agree.
Share this topic:
Page 1 of 1

Help

MultiQuote








