Help - Search - Members - Calendar
Full Version: The Ultimate D&d To Gml Converter V2.2
Game Maker Community > Games > Game Maker Creations > Tools & Applications
Davve941018

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

Version 1.3 (old):
Download

Pictures:

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.

Support

Do 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
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
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
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
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
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
Well, you CAN use == instead of = but it still works.
aprentice
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
<BUMP>
Commander~DEST
Very useful program. I can't wait until version 2.

9.5/10
Commander~DEST
*COUGH* "BUMP" *COUGH*

Are you still working on this program?
Davve941018
QUOTE
Are you still working on this program?

Not so much, I'm afraid, but there will be a version 2.
Cameron Stevenson
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
Very good application!
The best Converter I've seen yet smile.gif
Very good interface, I loved the idea that you place it on one side and it translates it biggrin.gif
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 tongue.gif
Davve941018
Cameron Stevenson:
Thanks for telling, I fixed it now smile.gif It was a typo in the post, not in the game biggrin.gif

tamper2:
Thanks biggrin.gif biggrin.gif
thenoller
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
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
WOW!! THIS IS THE BEST THING EVER!!

9999999999999999999999999999/10!!!
RTS226
Amazing! I just started using it and it's already helping me! 9.9/10
Metfan
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
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. snitch.gif
Metfan
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. snitch.gif


TY biggrin.gif
the_maze_master
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
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? blink.gif

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
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? blink.gif


yes i did, if you try it the code is the same for both relative or not
Davve941018
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
A great program, has helped me learn GML, love it, use it most days, thanks again
MegaManFan1
*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
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! laugh.gif
I'll fix that in the next version rolleyes.gif
MegaManFan1
Execellent!
Davve941018

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
1. Good
2. Good
3. Why did you get rid of those? They were awesome.

Posting on my DSi an LOVING it!!!!!
Davve941018
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
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 wink1.gif

other then that,
9.5/10 from me biggrin.gif
Davve941018
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 wink1.gif

other then that,
9.5/10 from me biggrin.gif


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

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

Alternatively you can write if !
wolfrider219
Awsumness!!! biggrin.gif
Without this i wouldnt have bothered learning GML(im very lazy...lol).
Thanks.
fredcobain
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
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 biggrin.gif I have tested and compared the codes to the original d&d actions and with the same results.
fredcobain
I believe you, I am just curious how did you got the originals. Will you tell me the secret ? wink1.gif

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.

wink1.gif

Man, this tool is very nice!
=)
Davve941018
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 tongue.gif
Davve941018
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
Now easy i learn the GML . Amazing tool 9.2/10
zezimaimp
I loved the old one, and I love this one better. THX DAVE! 10/10 smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif
Davve941018
Version 2.2 launched!

  • Fixed the error in the time line actions.
  • Fixed the error in the different room action's description.
  • Added the missing "'s in the show video action.
  • Added right click menus for every action in the action sidebar with the ability to add an action from there, show the GML
    equivalents and get the GMC forums code for that action symbol.
  • The things you copy now will be copied before the messages instead of after.
  • Your settings (such as indenting, spaces, show PRO icons etc.) will be stored in D&DtoGMLsettings.ini and are loaded every time you start the converter.

GM036.gif GM069.gif GM040.gif GM013.gif GM110.gif
Universal_X
Amazing! I love this!

It's so much easier to edit in pure gml =)
Atomius
interesting utility
zezimaimp
I like it, good job Davve!
Sonica2
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.
Invision Power Board © 2001-2009 Invision Power Services, Inc.