D&d Actions And Their Code Equivalents
#21
Posted 29 December 2007 - 12:53 AM
#22
Posted 29 December 2007 - 08:02 AM
Draw Health
action_draw_health(x,y,x1,y,1,back color, bar color);
It should be something like this
action_draw_health(x1,y1,x2,y2,back color, bar color);
Also, it says the Game Maker Web site is:
http://www.gamemaker.nl/
Shouldn't it be
http://www.yoyogames.com/ ?
Edited by Big J, 29 December 2007 - 08:05 AM.
#23
Posted 02 January 2008 - 05:36 PM
#24
Posted 03 January 2008 - 12:58 AM
#25
Posted 04 January 2008 - 11:18 AM
#26
Posted 07 January 2008 - 05:39 PM
#27
Posted 08 January 2008 - 10:59 PM
#28
Posted 09 January 2008 - 01:24 AM
Thanks a lot!
#29
Posted 12 January 2008 - 02:36 PM
Since starting GML I've always found this very useful, and thanks alot.
Rybo
#30
Posted 02 February 2008 - 10:12 PM
#31
Posted 19 February 2008 - 08:35 PM
#32
Posted 24 February 2008 - 01:25 PM
you need to have http:// you had http//
#33
Posted 28 February 2008 - 03:05 AM
Somebody ask what is faster the D&D or GML. Some say GML is Faster. some say D&D is faster some say they are the same because D&D is just GML code.
I say D&D is faster. Let me explain why. If you use theses codes that Ablach blackrat has in this tutorial. These codes are a lot longer than the codes the D&D icons uses. The D&D uses the action codes and not the codes in this tutorial or the help file.
So if you use these codes then Game Maker will take longer to go through codes that is longer than the codes that is in the D&D codes which is the Action codes. But there is no help on them so you have to work them functions out yourself. I done a few myself and they worked fine.
#34
Posted 28 February 2008 - 10:52 AM
The action_* functions are completely undocumented in the help file, so I discourage their use. However, if it helps a new user see the connection between D&D and GML, then so be it.
#35
Posted 28 February 2008 - 03:32 PM
#36
Posted 28 February 2008 - 03:35 PM
#37
Posted 28 February 2008 - 09:40 PM
I will try to workout some of the codes myself and then maybe post them here or just redo my D&D to code converter.
#38
Posted 05 March 2008 - 03:24 AM
spelling error? you mean where it says
which basicly means they are are? if thats not what ur talking about, im smart. if it is, im still smart.they're are
Xtreme0
Guiys thatis not speling... its grammmer. goshget it it rihgt. im perfecT.
#39
Posted 14 March 2008 - 03:37 PM
Where in the official GM7 help file do you find GML codes that are equivalent of the D&D actions?The same nothing different. When is somebody going to do a Document on the Action codes. Any body can look in the help file and find this info. The actions codes are not in the help file so they are what will make this better not what people can find in the help file. Come on somebody put stuff that will actually help people
Non-sense. You don't actually think that Game Maker leaves the GML code as you originally wrote it and that it keeps interpreting it each frame, do you? I haven't seen GM's source code, but I'm pretty sure the GML code is converted to something GM can read much quicker. Whether you use GML or D&D, they'll probably end up looking exactly the same.Somebody ask what is faster the D&D or GML [...]
I say D&D is faster. Let me explain why. If you use theses codes that Ablach blackrat has in this tutorial. These codes are a lot longer than the codes the D&D icons uses. The D&D uses the action codes and not the codes in this tutorial or the help file.
So if you use these codes then Game Maker will take longer to go through codes that is longer than the codes that is in the D&D codes which is the Action codes.
For example:
action_move(90, 3) => [1, 90, 3];
action_move_point(10, 20, 5) => [2, 10, 20, 5];
and so on...
Lame example. But still, it would be A LOT faster than parsing strings every frame.
#40
Posted 14 March 2008 - 05:01 PM
Example
Create Moving'
//No equivalent, but you can use the following code.
ID = instance_create(x,y,object1);
with (ID) motion_set(direction,speed);
No equivalent. wrong the equivalent is
action_create_object_motion(Object,x,y,speed,direc
tion)
Edited by Nelson, 14 March 2008 - 05:22 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



This topic is locked







