Davve941018
Mar 15 2009, 09:50 PM
The ultimate D&D to GML converter v2.2
By Davve941018
Info:There are alot of GML helpers out there, but all of them can only translate one D&D action at a time. With
The ultimate D&D to GML converter you can translate an unlimited number of D&D actions into Game Maker Language in one click! Just drag the wished D&D actions into the action field, just like the real Game Maker, and answer some simple questions depending on what action you selected. Press the "Get GML" button to translate it into pure Game Maker Language that can easily be copied for you to put in a code action, in a script or wherever you wish!
Name: The ultimate D&D to GML converter
File size: 2,43 MB
Category: Tool
Works with Vista: Yes, this was made with Vista.
Made in: Game maker 7.0 pro
Time it took to make (v2): 10 days
Download:Version 2.2:
YoyoGames (1900+ plays!)
DownloadVersion 1.3 (old):
DownloadPictures:D&D interface:
GML interface:
Known glitches:• The GMC forums doesn't have an icon for the
Create Effect action, so the forum code is incorrect.
If you find any glitches, PM me on GMC or Yoyogames (Davve941018) or post here.
SupportDo you like this and want more people to use it? Then you can put this in your signature if you want!
The size is 290x33.
CODE
[url="http://gmc.yoyogames.com/index.php?showtopic=423825"][IMG]http://i37.tinypic.com/24kysg5.png[/IMG][/url]
petenka
Mar 15 2009, 11:16 PM
Looking at the second screenshot I see "=" being used in a comparison instead of "==".
This is the wrong way to do it as the value of that expression will always come up to true regardless of the value of the variable.
pixelpig
Mar 15 2009, 11:29 PM
QUOTE (petenka @ Mar 15 2009, 11:16 PM)

Looking at the second screenshot I see "=" being used in a comparison instead of "==".
This is the wrong way to do it as the value of that expression will always come up to true regardless of the value of the variable.
thats a good point. and tabulation is always a good idea:)
EDIT: and i bet if you gave me the sorce code i could make it up to 36000 hehe
2d_games
Mar 16 2009, 01:02 AM
QUOTE (petenka @ Mar 15 2009, 07:16 PM)

Looking at the second screenshot I see "=" being used in a comparison instead of "==".
This is the wrong way to do it as the value of that expression will always come up to true regardless of the value of the variable.
No, in GM, you can use = as a comparison without any problems. With other languages you need to use == in comparisons.
pixelpig
Mar 16 2009, 01:20 AM
QUOTE (gamemakernooby @ Mar 16 2009, 01:02 AM)

QUOTE (petenka @ Mar 15 2009, 07:16 PM)

Looking at the second screenshot I see "=" being used in a comparison instead of "==".
This is the wrong way to do it as the value of that expression will always come up to true regardless of the value of the variable.
No, in GM, you can use = as a comparison without any problems. With other languages you need to use == in comparisons.
it is however better practice to use ==
2d_games
Mar 16 2009, 01:27 AM
QUOTE (pixelpig @ Mar 15 2009, 09:20 PM)

QUOTE (gamemakernooby @ Mar 16 2009, 01:02 AM)

QUOTE (petenka @ Mar 15 2009, 07:16 PM)

Looking at the second screenshot I see "=" being used in a comparison instead of "==".
This is the wrong way to do it as the value of that expression will always come up to true regardless of the value of the variable.
No, in GM, you can use = as a comparison without any problems. With other languages you need to use == in comparisons.
it is however better practice to use ==
Exactly.
Davve941018
Mar 16 2009, 09:56 AM
Well, you CAN use == instead of = but it still works.
aprentice
Mar 19 2009, 08:27 PM
this is a really good engine, it's easy to use and you could learn alot from this. If i had had this when i was learning gml i would have learned it faster! but you could make a scrollbar so you can put more stuff in the box.
Davve941018
Mar 23 2009, 07:00 PM
<BUMP>
Commander~DEST
Mar 29 2009, 11:44 AM
Very useful program. I can't wait until version 2.
9.5/10
Commander~DEST
Apr 9 2009, 12:52 PM
*COUGH* "BUMP" *COUGH*
Are you still working on this program?
Davve941018
Apr 10 2009, 11:15 AM
QUOTE
Are you still working on this program?
Not so much, I'm afraid, but there will be a version 2.
Cameron Stevenson
Apr 10 2009, 02:11 PM
QUOTE
<snip>
Known glitches:
• If you un-check "Ask if relative" and use the "jump to position" action an error message will come up saying "Unknown variable rel".
• In the load and save game action, it should be load_game("savegame"), not load_game(savegame).
If you find any glitches, PM me on GMC or Yoyogames (Davve941018) or post here.
Isn't it game_load("savename") not load_game("savename")
Well, anyways nice program
tamper2
Apr 10 2009, 02:17 PM
Very good application!
The best Converter I've seen yet

Very good interface, I loved the idea that you place it on one side and it translates it

I'm sure it will be very helpful for beginners!
I like this very much so I give it 5/5
Very good job!
Tamper
Davve941018
Apr 10 2009, 03:00 PM
Cameron Stevenson:Thanks for telling, I fixed it now

It was a typo in the post, not in the game
tamper2:Thanks
thenoller
Apr 16 2009, 03:56 PM
This should be useful for beginners to learn from. However it will really start to improve a beginner's game-creation-possibilities, once you start adding functions that aren't already on the list of D&D-commands. This could be draw_button, event_user, draw_set_alpha (D&D only features font and colour), or whatever. I know that most common functions are featured already, but you never know when your user might need something specific besides the build-in stuff.
Also, a great help (that would suit those users who are already likely to use this program) would be to include some sort of variable-library to help you fill out the arguments of your commands, similar to the GML-part of the manual. Only your system could be implemented, so that it would contain variables only (since functions are represented already), and could help you fill out arguments and statements quickly.
EDIT:Oh yeah.. And what about for-loops, repeats and so on.. They could just look like if-constructions, and would really help some users!
Hope you like these suggestions, course it's a brilliant concept. I think it will help a lot of people either create more advanced games with D&D, or obtain the knowledge to 'move on' to GML if they should feel like it.. Good job!
Aidiakapi
Apr 16 2009, 07:44 PM
What about indenting?
What about another format or the ability to choose the format.
Like this:
CODE
if(x == y && round(x / 32) == x / 32) hspeed = 2;
else hspeed = -2;
if(place_snapped(16, 16))
{
vspeed += 2;
hspeed = 0;
}
else if(x > y)
{
switch(round(z / 3))
{
case 0:
hspeed -= 2;
break;
case 1:
hspeed -= 4;
break;
case 2:
hspeed -= 6.
break;
default:
hspeed = 0;
break;
}
}
It makes it easier to read, and easier to understand it learns new creators the GML Language in a proper way.
wirsbobrsiw
Apr 18 2009, 04:05 PM
WOW!! THIS IS THE BEST THING EVER!!
9999999999999999999999999999/10!!!
RTS226
Apr 25 2009, 07:08 PM
Amazing! I just started using it and it's already helping me! 9.9/10
Metfan
May 1 2009, 05:26 PM
love the app, however could you PLEASE put a way to delete one action if you don't want it in there, or if you want to change something out for something else to test the app (like i was) maybe i just missed something (if i did could you please explain how to delete one action) but all i saw for deleting was the delete all button and when i tried clicking on the action it just re asked me for variables. Other than that awesome program, can't wait for version 2
Davve941018
May 1 2009, 07:41 PM
QUOTE (Metfan @ May 1 2009, 07:26 PM)

love the app, however could you PLEASE put a way to delete one action if you don't want it in there, or if you want to change something out for something else to test the app (like i was) maybe i just missed something (if i did could you please explain how to delete one action) but all i saw for deleting was the delete all button and when i tried clicking on the action it just re asked me for variables. Other than that awesome program, can't wait for version 2
You can delete an action by right clicking on it and edit it by left clicking on it.
Metfan
May 1 2009, 08:41 PM
QUOTE (davve941018 @ May 1 2009, 07:41 PM)

QUOTE (Metfan @ May 1 2009, 07:26 PM)

love the app, however could you PLEASE put a way to delete one action if you don't want it in there, or if you want to change something out for something else to test the app (like i was) maybe i just missed something (if i did could you please explain how to delete one action) but all i saw for deleting was the delete all button and when i tried clicking on the action it just re asked me for variables. Other than that awesome program, can't wait for version 2
You can delete an action by right clicking on it and edit it by left clicking on it.

TY
the_maze_master
May 6 2009, 05:09 PM
this is a great app, hope you keep working on this as it has helped me learn a lot, i think the score is not working right as it will not add more only change the number, but it is a great app so bring on 2.0, i would use it a lot
Davve941018
May 6 2009, 06:01 PM
QUOTE (the_maze_master @ May 6 2009, 07:09 PM)

i think the score is not working right as it will not add more only change the number
Have you pressed "YES" when it asked if the value is relative to the current value?
EDIT: Adding only worked if you wrote +1 for example and then pressed relative, now in 1.1, it works if you just press 1 and press relative.
the_maze_master
May 7 2009, 06:32 PM
QUOTE (davve941018 @ May 6 2009, 07:01 PM)

QUOTE (the_maze_master @ May 6 2009, 07:09 PM)

i think the score is not working right as it will not add more only change the number
Have you pressed "YES" when it asked if the value is relative to the current value?

yes i did, if you try it the code is the same for both relative or not
Davve941018
May 22 2009, 11:04 AM
Version 1.1 launched!
• Fixed the relative glitch.
• Fixed the applies to object glitch.
• Fixed the game_load and game_save glitches.
• Changed the fonts.
• Fixed the boxes.
the_maze_master
May 23 2009, 10:29 PM
A great program, has helped me learn GML, love it, use it most days, thanks again
MegaManFan1
May 23 2009, 11:41 PM
*BUG REPORT*
in the create moving action, it says id not ID,
I looked it up in Ablach Black Rat's "D&D Actions and their GML Equivalents" Document, It matters
Davve941018
May 24 2009, 09:41 AM
QUOTE (MegaManFan1 @ May 24 2009, 01:41 AM)

*BUG REPORT*
in the create moving action, it says id not ID,
I looked it up in Ablach Black Rat's "D&D Actions and their GML Equivalents" Document, It matters
Thanks!
I'll fix that in the next version
MegaManFan1
Jun 1 2009, 06:04 PM
Execellent!
Davve941018
Jun 13 2009, 12:30 PM
Version 1.2 launched!
• Fixed the typo in create moving.
• Fixed the typo in the set health description.
• Removed the replace " with ' and replace ' with " buttons.
MegaManFan1
Jun 14 2009, 12:10 AM
1. Good
2. Good
3. Why did you get rid of those? They were awesome.
Posting on my DSi an LOVING it!!!!!
Davve941018
Jul 15 2009, 06:27 PM
Version 1.3 launched!
• Changed the alpha when dragging icons.
• Fixed the error when selecting "applies to object" in some actions.
• Added a screen to choose multiple directions in start moving in a direction, just like the real Game Maker!
MickeyG
Sep 1 2009, 01:20 PM
Wow this program rocks! thanks allot for this!!!
1 question tho.. when i have a "Check object" a can't switch the NOT button.. is it planned for in the future.. had some code in D&D that i wanted to translate but i had to do it without it

other then that,
9.5/10 from me
Davve941018
Sep 1 2009, 01:27 PM
QUOTE (MickeyG @ Sep 1 2009, 03:20 PM)

Wow this program rocks! thanks allot for this!!!
1 question tho.. when i have a "Check object" a can't switch the NOT button.. is it planned for in the future.. had some code in D&D that i wanted to translate but i had to do it without it

other then that,
9.5/10 from me

Thanks, I will add a "NOT" option in the check actions in the next version

(write
if not instead of
if)
MegaManFan1
Sep 1 2009, 01:31 PM
QUOTE (davve941018 @ Sep 1 2009, 08:27 AM)

write if not instead of if
Alternatively you can write if !
wolfrider219
Sep 24 2009, 11:30 AM
Awsumness!!!
Without this i wouldnt have bothered learning GML(im very lazy...lol).
Thanks.
fredcobain
Sep 24 2009, 01:00 PM
Fantastic!! Amazing!!! 10/10!!!
This is the best tool ever to learn GML!
Have no words to say how Usefully is!
Congratulations!
Just a question (curious) :
How do you assure the code is exactly the same as contained in original libraries ? Do you have the unlocked version of Lib Maker ? There is an official doc describing ?
Congrats again!
=)
Davve941018
Sep 24 2009, 01:08 PM
QUOTE (fredcobain @ Sep 24 2009, 03:00 PM)

How do you assure the code is exactly the same as contained in original libraries ? Do you have the unlocked version of Lib Maker ? There is an official doc describing ?
Don't worry, it is the same

I have tested and compared the codes to the original d&d actions and with the same results.
fredcobain
Sep 24 2009, 01:13 PM
I believe you, I am just curious how did you got the originals. Will you tell me the secret ?

Man, I found a bug:
Action: Jump to a Given Position
x=55; y=99;
Acton: Jump to a Given Position (Relative Checked)
x=55; y=99; (wrong)
I believe this must be something like:
x+=55; y+=99;
A very useful suggestion for improvement:
- When you show the GML code, there must be a way to select a piece of code with the mouse (marking it) and then I can use CTRL+C to copy.

Man, this tool is very nice!
=)
Davve941018
Oct 4 2009, 08:49 PM
Version 2.0 launched!- New interface, with the D&D sidebar from Game Maker, making it easier to find the actions you want!
- Smaller screen and filesize!
- Ability to add an unlimited number of actions instead of 15!
- Completely rewritten from scratch, fixing all the glitches.
- Ability to choose where you want to add the action, not just on the last empty place.
- Ability to move an action you've added.
- Ability to copy, paste and cut actions you've added.
- Double-click on an action to edit it, right-click on it for options.
- Ability to copy the GML of one action, instead of all at once.
- A new button "ask if or if not" for the test/check actions.
- More operators for value check actions: smaller or equal to, larger or equal to, smaller or larger than, between two values and outside two values.
- You can now choose if you want to write (the decimal code or constant) or pick the color in some actions.
- The GML and D&D actions you've added will automaticly be indented correctly, making it easier to read the code. You can turn this off you want.
- Ability to select the GML you want to copy using the cursor. Thanks IsmAvatar for this!
- Ability to push up brackets to save space.
- Ability to add spaces. (variable=value; becomes variable = value;)
- You can now save the GML as a script file!
- The replace " with ' options are added again!
- You can now choose a random transition in the room changing actions.
- Much more..
The old versions looks kind of crappy now
Davve941018
Oct 15 2009, 01:33 PM
Version 2.1 launched!- Fixed the glitch in the draw background action's description.
- Fixed the glitch that froze the game if you pressed delete when there was no actions to be deleted.
- Fixed the glitch that allowed users to right-click on an added action while you we're dragging an action.
- Added the missing ; in path_end();, cd_pause();, cd_stop(); and cd_resume();.
- Fixed the error in the check aligned with grid action.
Any comments or suggestions?
ProgWare
Oct 15 2009, 03:28 PM
Now easy i learn the GML . Amazing tool 9.2/10
zezimaimp
Oct 23 2009, 08:00 PM
Universal_X
Nov 8 2009, 06:21 PM
Amazing! I love this!
It's so much easier to edit in pure gml =)
Atomius
Nov 10 2009, 07:12 PM
interesting utility
zezimaimp
Nov 12 2009, 07:44 PM
I like it, good job Davve!
Sonica2
Nov 20 2009, 07:13 PM
Good! Copied the GM Interface!
It works great!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.