Game Maker Community: Cd Lib - Game Maker Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cd Lib It includes all the cd action in gm

#1 User is offline   masterm 

  • GMC Member
  • Group: GMC Member
  • Posts: 867
  • Joined: 01-April 06

Posted 14 September 2006 - 08:29 PM

Hi all.
i made this cd lib so it can help everybody with using cd's.
Pleas give comment on the lib.
CREATED by MasterM.
download link:clik here to download






-masterm
0

#2 User is offline   Ghostkeeper 

  • That's Logic
  • Group: GMC Member
  • Posts: 189
  • Joined: 19-August 04

Post icon  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:

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
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!

This post has been edited by Ghostkeeper: 19 September 2006 - 09:26 PM

0

#3 User is offline   pyrotek7x7 

  • GMC Member
  • Group: GMC Member
  • Posts: 960
  • Joined: 24-March 05

Posted 19 September 2006 - 10:09 PM

Can you give us a list of the actions please?
0

#4 User is offline   GmDude66 

  • GMC Member
  • Group: GMC Member
  • Posts: 347
  • Joined: 06-December 03

Posted 19 September 2006 - 10:27 PM

Don't bother downloading it currently..

It doesn't even work for the most part, and like GhostKeeper said, it was just copied out of the help file..
0

#5 User is offline   masterm 

  • GMC Member
  • Group: GMC Member
  • Posts: 867
  • Joined: 01-April 06

Posted 20 September 2006 - 11:55 PM

yes it was copy from a file,and it wasnt tested.

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

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

#6 User is offline   GmDude66 

  • GMC Member
  • Group: GMC Member
  • Posts: 347
  • Joined: 06-December 03

Posted 21 September 2006 - 09:30 PM

If you created it for no reason, please don't post it here.
Viewing and replying to this thread was a waste of bandwidth, and NEEDED sql resources.

This post has been edited by GmDude66: 21 September 2006 - 09:33 PM

0

#7 User is offline   Raymangold22 

  • GMC Member
  • Group: GMC Member
  • Posts: 63
  • Joined: 18-November 05

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.
0

#8 User is offline   pyrotek7x7 

  • GMC Member
  • Group: GMC Member
  • Posts: 960
  • Joined: 24-March 05

Posted 21 September 2006 - 09:41 PM

Yes, but what about those people that want to do certain things and don't have enough experience or time to learn GML?
0

#9 User is offline   Raymangold22 

  • GMC Member
  • Group: GMC Member
  • Posts: 63
  • Joined: 18-November 05

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?
0

#10 User is offline   camieman10 

  • Backwards Games
  • Group: GMC Member
  • Posts: 849
  • Joined: 10-September 05

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.
0

#11 User is offline   Jess 

  • get_string expert
  • Group: GMC Member
  • Posts: 133
  • Joined: 19-March 06

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.


Are you just backing masterm up? It sounds like it to me.
0

#12 User is offline   pyrotek7x7 

  • GMC Member
  • Group: GMC Member
  • Posts: 960
  • Joined: 24-March 05

Posted 22 September 2006 - 01:00 AM

We're getting off-topic here. I think this thread should be closed.
0

#13 User is offline   Jess 

  • get_string expert
  • Group: GMC Member
  • Posts: 133
  • Joined: 19-March 06

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}>


I agree.
0

#14 User is offline   Recreate 

  • Programmer
  • Group: GMC Member
  • Posts: 2625
  • Joined: 05-April 08

Post icon  Posted 28 August 2008 - 06:04 PM

Amazingly is not
And it is the last topic in here
or at least WAS the last topic know it must be first
So this is not a bump bump means bring,up,MY,POST
This is a buyp Bring up your post
Get it
Whatever
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users