Jump to content


Photo

Dynamic Lookup - A Game Maker Extension


  • Please log in to reply
29 replies to this topic

#1 DT

DT

    The Green Dragon

  • Retired Staff
  • 174 posts

Posted 17 November 2004 - 04:14 AM

Coded this in one afternoon, could be buggy. Consider this public beta # 1. :D

Download [235KB] - Dynamic Lookup.zip

What is it?
This is just an extension for Game Maker that incorporate DSR's quick-lookup functionality in GM's editor by adding a small edit box into the toolbar. Although not as robust or as tightly integrated as it was in DSR, I still think it's better than firing up the manual every time you need to lookup a function because forget exactly what it does.

Screenshot
Posted Image

Usage
The startup is not quite user-friendly but it isn't that bad either. ;)
- start GM
- start an "execute script" action anywhere (you only need to do this once)
- start my program
- right click on my program's tray icon and select "Attach!"

That's all; now for the remainder of your work session the quick-lookup edit box will stay readily available. To lookup a function, simple type its name into the edit box and hit Enter.

Notes
- currently, this only works for the "execute script" editor (action through objects Posted Image)
- the hint box will close if the edit box is blank or after 15 seconds, whichever comes first
- remember to terminate the plugin when you don't use GM anymore (close action in tray), for now there is no auto-close yet
- this works with both ;) and :GM6:, but please note that many functions are not applicable to ;)
==================================================

If there's an interest in this kind of thing, I will improve it further with more features coolness. B)

Who knows, maybe you'll see some form of DSR integrated into GM some day... :)

Feedback/Suggestion?

Edited by DT, 17 November 2004 - 05:10 AM.

  • 0

#2 PromaneX

PromaneX

    Fixer of broken web things

  • New Member
  • 489 posts

Posted 17 November 2004 - 04:56 AM

cool, im downloading it now :)
  • 0

#3 shad0w

shad0w

    GMC Member

  • Retired Staff
  • 1111 posts
  • Version:Unknown

Posted 17 November 2004 - 05:01 AM

very useful- this will definetly save lots of time :)
  • 0

#4 Soten355

Soten355

    CEO of Youngameco

  • New Member
  • 463 posts

Posted 17 November 2004 - 05:03 AM

good job, does this work for versions 5 and 6?
  • 0

#5 PromaneX

PromaneX

    Fixer of broken web things

  • New Member
  • 489 posts

Posted 17 November 2004 - 05:07 AM

it told me mommys missing, cannot find game maker , im going to run away now
  • 0

#6 DT

DT

    The Green Dragon

  • Retired Staff
  • 174 posts

Posted 17 November 2004 - 05:08 AM

good job, does this work for versions 5 and 6?

<{POST_SNAPBACK}>


Absolutely! However, please note that this was designed for GM6 so many functions are not applicable to GM5.

it told me mommys missing, cannot find game maker , im going to run away now


PromaneX, make sure you start at least once the "execute a piece of code" action. I used the "Asteroid" example to test; all I had to do was go to an object that has this action and double click, attach the extension and everything should fit right in for the remainder of your working session.

Edited by DT, 17 November 2004 - 05:12 AM.

  • 0

#7 anothersomething

anothersomething

    The Mysterious Blob

  • New Member
  • 270 posts

Posted 17 November 2004 - 05:17 AM

I get "Mommy's missing" whenever I try to use it with a script. Using it with the execute code action works perfectly though.

Nice job.
  • 0

#8 DT

DT

    The Green Dragon

  • Retired Staff
  • 174 posts

Posted 17 November 2004 - 05:23 AM

I get "Mommy's missing" whenever I try to use it with a script. Using it with the execute code action works perfectly though.

Nice job.

<{POST_SNAPBACK}>


Yes, as stated, at the time it doesn't work with both yet because technically, they're different mommies....hehehe :)
  • 0

#9 GmDude66

GmDude66

    GMC Member

  • New Member
  • 348 posts
  • Version:Unknown

Posted 17 November 2004 - 09:39 PM

Good Job, DT.
  • 0

#10 DT

DT

    The Green Dragon

  • Retired Staff
  • 174 posts

Posted 18 November 2004 - 01:20 AM

Even though there's a lack of interest I will still release an update in the near future. I'm hoping to include the following:

- compatibility with script editing as well as execute action
- auto-detect and attach (if this option isn't available, it will attach to the GM toolbar first as a place holder)
- auto-detect and close (in case the user forget to terminate it after closing GM)
- hint box auto-adjust size
- other subtle fixes
  • 0

#11 Tarik

Tarik

    GMC Member

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

Posted 18 November 2004 - 01:37 AM

Wicked, I'm at my dad now though but I'll install it tomorrow :angry:
  • 0

#12 BlackLableSk8er

BlackLableSk8er

    GMC Member

  • New Member
  • 124 posts

Posted 18 November 2004 - 04:20 AM

Just use the list on the bottom of the gm editor :angry: no need for this or just open up "fnames" in the game maker folder and load it into your own text box programs and hook it to the gm window!
  • 0

#13 Spikehead777

Spikehead777

    GMC Member

  • GMC Member
  • 480 posts
  • Version:GM8.1

Posted 18 November 2004 - 04:36 AM

Edited out...

EDIT: New suggestion: The message boxes that I mentioned above should be able to be placed anywhere, defined by the user.

EDIT: Never mind the first suggestion. Didn't see that hint box part.

Edited by Spikehead777, 18 November 2004 - 04:46 AM.

  • 0

#14 DT

DT

    The Green Dragon

  • Retired Staff
  • 174 posts

Posted 18 November 2004 - 05:34 AM

Just use the list on the bottom of the gm editor :lol: no need for this or just open up "fnames" in the game maker folder and load it into your own text box programs and hook it to the gm window!

<{POST_SNAPBACK}>


You didn't even try out the extension; quick to judge, quick to be judged.

It doesn't simply load th "fnames" in the GM folder. :)
Constructive criticism I'd appreciate but uncorroborated statement I do not.

Edited by DT, 18 November 2004 - 07:00 AM.

  • 0

#15 Skilzat99x

Skilzat99x

    FlipCast Skilzat99X

  • New Member
  • 1163 posts

Posted 18 November 2004 - 05:38 AM

Isnt this kinda like the built in code finder?

Either way, I find that knowing my code is good.

Great programming though :)
  • 0

#16 DT

DT

    The Green Dragon

  • Retired Staff
  • 174 posts

Posted 18 November 2004 - 05:45 AM

I've taken a screenshot that hopefully will illustrate the whole thing:

Posted Image

...I still think it's better than firing up the manual every time you need to lookup a function because forget exactly what it does.


  • 0

#17 maxnova87

maxnova87

    Unleash the 4th dimension

  • New Member
  • 32 posts

Posted 19 November 2004 - 10:21 AM

But, is it legal to modify any part of Game Maker?
Here is a part of the GM License:

2.3 Proprietary Notices. You may not remove, disable,
modify, add to or tamper with any program code or data,
copyright, trademark or other proprietary notices and
legends contained within the object (compiled) code
of the Software. You are not allowed to reverse
engineer, decompile, or disassemble the program.


But I think Mark won't mind because it's benefits the community after all. :ph34r:

Edited by maxnova87, 19 November 2004 - 10:23 AM.

  • 0

#18 tpvgames

tpvgames

    was dt_8792

  • New Member
  • 549 posts

Posted 19 November 2004 - 11:56 AM

But, is it legal to modify any part of Game Maker?
Here is a part of the GM License:

2.3 Proprietary Notices. You may not remove, disable,
modify, add to or tamper with any program code or data,
copyright, trademark or other proprietary notices and
legends contained within the object (compiled) code
of the Software. You are not allowed to reverse
engineer, decompile, or disassemble the program.


But I think Mark won't mind because it's benefits the community after all. :D

<{POST_SNAPBACK}>


No this attaches itself to the GM Editor, it's not modifying it in any way -_-.

Oh this is so cool, I'm downloading it know :ph34r: :)

Edited by tpvgames, 19 November 2004 - 11:57 AM.

  • 0

#19 maxnova87

maxnova87

    Unleash the 4th dimension

  • New Member
  • 32 posts

Posted 19 November 2004 - 02:16 PM

It is not very useful because it is the same with the GM code editor's lookup system at the bottom of the code window.For those who don't know ,you can enable the lookup system by ticking the "Show help on function and variable names" option in the Scripts and Code Tab of Game Maker Preference.So what's the difference between this and the original one? More over it blocks the "applies to " part of the code editor.And also it is located at the top left hand side which is quite inconvenience because it is far away. I like the lookup system in GM5 because it shows all the functions and variables instead of a small group of them in GM6 because it saves me more time.

My suggestion is you make something to replace that of GM6 so it won't look so boring with the gray interface and make it like gm5's system. Or may be you can make it the lookup system pop-up just at the location where the text is typed so it will be easier and nearer to click.
  • 0

#20 tommiev

tommiev

    dont look at me!

  • New Member
  • 547 posts

Posted 19 November 2004 - 02:20 PM

Maxnova87, did you try clicking the about button?
Though, I think your suggestions are good.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users