Jump to content


Photo

Action Library Creations Forum Rules


  • Please log in to reply
8 replies to this topic

#1 Shaltif

Shaltif

    The Audio Master

  • GMC Elder
  • 1185 posts

Posted 01 March 2007 - 05:22 PM

Action Library Creations Forum Rules


Please read over the following rules before posting a topic. Any topic posted in this section that fails to comply with these rules will be deleted.


Posting Guidelines

  • Only topics which showcase an Action Library (LIB) may be posted here. All other topics of discussion will be removed.
  • All topics require a download link to the creation they are showcasing. Any creation which requires a user to contact the creator via e-mail, Personal Messager or other similar means are not allowed.
  • If an action library creation requires the use of 3rd party DLL's (or other files) this must be specified in the starting post of the topic. For example, if you make a LIB that gets a user's IP, and it requires 39dll, you must make this clear in your topic. It is also HIGHLY RECOMMENDED that you link to this required creation when applicable.
  • Porting or converting discussions are NOT allowed. This includes, but is not limited to, porting GM Games, converting GML, or using GameMaker on platforms it does not natively support.
  • Creations that alter the behavior of GameMaker directly are NOT allowed. This includes tool bars, embedded windows, memory alteration, etc.


STRICTLY Forbidden Areas of Discusion

  • Prank programs (harmless or not)
  • Disabling the Start Menu, TaskManager, CTRL+ALT+DELETE, CMD+OPT+ESC, etc.
  • Shells (Sub-OS programs)
  • File management programs
  • Applications that use or access email, chat networks (eg. AIM, MSN, IRC), telephone networks (eg. SMS), or forums
  • Removal tools for spyware / viruses / cookies, or pop-up blockers
  • Preventing or forcing Log Off, Shut Down, or Restart
  • Applications that alter the operating system, system files, or registry settings
  • Programs that install software to automatically start for any reason
  • Programs that hide themselves when they run
  • Key loggers, screen loggers, activity monitors, or any other form of surveillance
  • Applications that automatically refresh web pages
...and any other project or topic the staff considers harmful.

See this linked topic for a full list of projects which are not allowed.


FAQ

Q: What if a download link isn't working?
A: Make sure to try the "Right Click > Save As" option, or dragging the link into the browser bar. If that doesn't work, it is a dead link.

Do NOT bump the topic saying "broken link". Instead, try contacting the author privately to inform him. If the link is down for several days, you can use the report button.


Q: How do I make a Library?
A: Mark Overmars has made a library builder available to you here.


Q: How do I use a Library?
A: Put the .lib file in the Libs folder found in the GameMaker program directory. The new library will be loaded the next time GameMaker is started.


Q: Is there a limit to how many libraries can be installed in Game Maker?
A: There appears to be no set limit.


Q: Can I put an encryption of file protection on my Library?
A: No, as this would interfere with Game Maker trying to access it.


Q: Do I need a different LibBuilder for GM5 and GM6?
A: No, the GM5 version of LibBuilder works for both GM5 and GM6. However, it has been reported that libs made in the GM6 version of LibBuilder won't work in GM5. (Not confirmed)


Q: How could I go about making my Lib work with both GM5 and GM6?
A: One way is to make an argument which the user sets depending if they are using GM5 or GM6.

if (argument0) { /*if GM5, use this version code*/ } else { /*use GM6 code*/ };

Q: Are there any Lib making tutorials?
A: There is one made by tangibleLime avaliable here.




This topic has been left open so that other users can post their "FAQ" about extending GameMaker. When a FAQ is posted, staff will determine if it should be appended to the existing list and the post will be removed.

DO NOT POST QUESTIONS in this topic, as they will NOT be answered. However, any question about the rules/FAQ itself are welcome.
  • 0

#2 halo shg

halo shg

    Programmer

  • GMC Member
  • 600 posts
  • Version:GM:Studio

Posted 11 August 2007 - 12:14 PM

FAQ

Want to combine a whole bunch of actions into one?

Don't understand?

For example, say you have a project for a library- say it was to make the game say hello, or goodbye, on command.

for the library you would have something like:

Action:Says "Hello!" using "show_message()"
Title:Say Hello
Code:
show_message("Hello!")

Action:Says "Goodbye!" using "show_message()"
Title:Say Goodbye
Code:
show_message("Goodbye!")

This is in 2 different actions.

You can use this, but there is a better way - using the switch event:

Action: Says "Hello!" OR "Goodbye!" using "show_message"
Title:Say Hello or Goodbye
Arguments: Argument 0- [Say:] [Menu] [0] [Hello|Goodbye]
Code:
switch (argument0)
{
case 0:show_message("Hello!") break;
case 1:show_message("Goodbye!") break;
}

More uses would be for different events (create,draw,step,keyboard events,etc...)

Example:

Action: Draws variable "numcount" pressing a key will make "numcount" go up by 1
Title: Draw a number
Arguments: Argument 0- [In the:] [Menu] [0] [Create Event|Draw Event|Keyboard Event]
Code:
switch (argument0)
{
case 0: {numcount=1} break; //create event
case 1: {draw_text(x,y,numcount)} break; //draw event
case 2: {numcount+=1} break; //keyboard event
}

Halo Shg
  • 0

#3 Raidation

Raidation

    Java Programmer

  • New Member
  • 341 posts
  • Version:GM8

Posted 22 April 2009 - 11:44 PM

Deletion of System files / folders, or modifying the OS

Does accessing the registry count as modifying the OS? Eg. Adding a file association.
  • 0

#4 Joshyboshy09

Joshyboshy09

    GMC Member

  • Banned Users
  • 53 posts

Posted 29 August 2009 - 01:12 AM

Deletion of System files / folders, or modifying the OS


Does Deleting The Sprites
Backgrounds Etc. etc. Count?
I Know Deleting the Libs are bad and what about adding sprites?

and what i want to know does modifying the registry count?
someone tell

Pretty obviously it does count

#5 Joshyboshy09

Joshyboshy09

    GMC Member

  • Banned Users
  • 53 posts

Posted 29 August 2009 - 01:13 AM

And What Do You Mean By 'Modyfying Game Maker'?

#6 GameMakerAnonymous

GameMakerAnonymous

    GMC Member

  • Banned Users
  • 36 posts

Posted 01 October 2009 - 11:08 PM

Deletion of System files / folders, or modifying the OS

Does accessing the registry count as modifying the OS? Eg. Adding a file association.

Well, The "Registry" Is Part Of The OS So Yes.
But How Are We Meant to Use The Regisrty Codes In our LIBS?

#7 esco

esco

    GMC Member

  • GMC Member
  • 306 posts
  • Version:GM:Studio

Posted 09 January 2014 - 10:29 AM

I don't see any lib folder under GM studio. Can someone point me towards it please?


  • 0

#8 Overloaded

Overloaded

    Seeker of Balance

  • GMC Member
  • 972 posts
  • Version:GM:Studio

Posted 09 January 2014 - 05:20 PM

I don't see any lib folder under GM studio. Can someone point me towards it please?

Go to AppData\Roaming\GameMaker-Studio. There should be a folder called "lib".

If you're using the Steam edition, then go to C:\Program Files (x86)\Steam\steamapps\common\gamemaker_studio

And there should be a lib folder as well.


  • 1

#9 esco

esco

    GMC Member

  • GMC Member
  • 306 posts
  • Version:GM:Studio

Posted 09 January 2014 - 07:34 PM

Thanks for trying to help, but mine was somewhere TOTALLY different. I found it by using the search function in XP. :)


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users