下载此文档

gamemakerdll使用说明使用说明GameMakerDLL.doc


文档分类:通信/电子 | 页数:约6页 举报非法文档有奖
1/6
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/6 下载此文档
文档列表 文档介绍
gamemaker dll 使用说明(使用说明 GameMaker DLL)
Advanced article: powerful external library call 一DLL use
let you easily achie-terminated). (however, for functions larger than 4 parameters, in the current GM, only parameter types are values, ty real is supported by GM). The parameter must be returned to a value or to a null terminated character.
Two. How to call
Step 1: pay attention to saving the DLL file to your working directory
If you decide to call the DLL function, it is recommended that you put the DLL file in the directory where you save the game file, or import the data (data) file directly into the GM and select output to the working directory. If your DLL file also includes other files, such as icons, you'd better save it in the same directory under DLL, otherwise you might not call any other resource files.
The second step: the call in GM
To use the DLL function in GM, you first need to specify a special GM function to define the external function to call,
External_define (DLL, name, calltype, restype, argnumb, arg 1 type, arg2type,
Among them:
DLL is the file name of the DLL file, name is the name of the function function, and calltype uses the call protocol (), in two ways, dll cdel or dll stdcall. Restype is the result type,
It can also be divided into two types, tyreal or tystring. Argnumb is the number of arguments (between 0~12). Next, for each parameter, y

gamemakerdll使用说明使用说明GameMakerDLL 来自淘豆网www.taodocs.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数6
  • 收藏数0 收藏
  • 顶次数0
  • 上传人小健
  • 文件大小84 KB
  • 时间2022-05-20