请注意:包含在可下载内容的任何游戏脚本也必须存在主执行文件。
Please note: Any game scripts included in downloadable content must also be present in the main executable.
我希望“可以用PHP编写的30个游戏脚本”这一系列文章可以帮助您开始用PHP创建有趣的游戏脚本。
I hope this "30 game scripts you can write in PHP" series put you on the road to creating interesting game scripts with PHP.
主要包括对游戏风格、教育游戏的结构、角色、界面、交互功能、奖励与惩罚机制的确定,并最终设计出游戏脚本。
Mainly, it includes the game style, the structure of instructional games, the roles, the interface, the interactive features, the reward and punishment mechanism, and ultimately a game script.
最后,文字游戏脚本将帮助您解决Jumble 游戏,创建简单的置换计算程序,并生成文字搜索图,同时让您的PHP数组处理技能更上一层楼。
Finally, the word-game scripts will help you solve the Jumble game, create simple substitution cyphers, and generate word-search diagrams while taking your PHP array-handling skills one step further.
本文说明了如何获取在“用PHP可以编写的30个游戏脚本”系列的第1部分中编写的一些基本脚本,以及如何基于这些基本脚本进行构建以提供更健壮的脚本。
This article shows how to take some of the basic scripts written in Part 1 of this "30 game scripts you can write in PHP" series and build on them to provide more robust scripts.
您应当能够得到在 “可以用PHP编写的30 个游戏脚本”系列的 第 1部分 中创建的简单roll函数,并且使用它计算一套基本武器的破坏力。
You should be able to take the simple roll function created in Part 1 of this " 30 game scripts you can write in PHP" series and use it to calculate the damage for a base set of weapons.
此脚本获得了一个数据库句柄和游戏id。
让我们整合一个帮助存储和找到游戏提示的脚本。
Let's put a script together that helps store and find game notes.
本文将探究在各种游戏中可以使用的10个基本脚本。
This article will explore 10 fundamental scripts that can be used in various types of games.
同时还添加了将为我们提供新游戏的脚本的URL。
You've also added the URL for the script that will provided your new games.
在本文中,我们将为角色扮演游戏构建一个清单管理系统及提示脚本,同时处理php脚本的交互操作。
In this article, we build an inventory-management system and note-taking scripts for your role-playing games, while working on the interactivity of your PHP scripts.
很多游戏程序甚至在核心设计中使用脚本,用脚本来实现某些方面(例如非玩家角色行为)。
Many game programs even use scripting in their core design to implement certain aspects (such as non-player character behavior) with scripts.
要验证已连接上服务器,您可以在服务器上通过curl命令来执行moves.php脚本,从而获取游戏动作的最新列表。
To verify that the server was connected, you can execute the curl command against the moves.php script on the server to get the most recent list of game moves.
这段代码一开始构建一个名为show _ moves的helper脚本,用于获得给定游戏的当前步着,并把它们导出为XML。
This code starts with building a helper script called show_moves that gets the current moves for a given game and exports them as XML.
TwoLivesLeft发布了Codify,一个应用Lua脚本语言进行游戏开发的平台,可以直接在AppleiPad上运行。
Two Lives Left have released Codify, a platform that allows game development using the Lua scripting language, which runs directly on an Apple iPad.
许多现代游戏包括非玩家控制角色行为的脚本化和使用执行bytecodes(比如Lua)的语言的其他游戏方面。
Many modern games include scripting of nonplayer-character behaviors and other game aspects using languages that execute bytecodes (such as Lua).
VMs的其他游戏应用程序包括ScummVM(它提供一个VM环境供ManiacMansion (SCUMM)脚本语言的脚本创建工具使用)(创建于1987年)。
Other game applications of VMs include the ScummVM which provides a VM environment for the script Creation Utility for Maniac Mansion SCUMM scripting language created in 1987.
要查看游戏列表,使用清单3中的games . php脚本。
To see the list of games, use the games.php script that is in Listing 3.
我已经使用Perl开发了很多Web站点,编写了很多管理脚本,并编写了一些游戏。
I've written Web sites, administration scripts, and games using Perl.
Codify由Lua脚本语言构建,Lua是一个广泛应用于游戏的脚本。
Codify is built upon the Lua scripting language, a widely used scripting mechanism used in games.
游戏编写报告的SDL 用法,第 4 部分:lex和yacc 构建用于脚本和 GUI 设计的语法分析器 (developerWorks,2000 年 5 月)展示了作者如何使用 lex 和 yacc 为 游戏整合出一个配置文件解析器。
game-writing saga shows how the authors put together a configuration file parser for the game using lex and yacc.
视频游戏允许通过编写脚本进行大量的定制。
Video games permit a tremendous amount of customization through scripting.
如果你希望玩家能像游戏设计者一样使用脚本系统的话,这是十分重要的。
This is true particularly if you want players as well as game designers to use the scripting system.
这很有用,但是,我们还需要一些方法让我们的脚本进入游戏世界并检查那些可能引起AI行为改变的条件。
For this to be useful, however, we need some way for our script to see into the game world and check for conditions that might alter our AI behavior.
了解我们的脚本将如何互相交谈,让我们打入许多脚本组件我们的游戏,同时还创造的功能,我们需要用最少的努力。
Understanding how our scripts will talk to each other lets us break our game into many script components, while still creating the functionality we need with the least amount of effort.
对这些变量的赋值将会由真正的游戏引擎而不是我们的脚本语言完成。
The actual game engine, not our scripting language, will assign the values in these variables.
然后游戏引擎让脚本系统可以使用这些文本,以便于分析文本并对此做出适当的响应。
The game engine then makes the text strings available to the script system, which analyzes the text and provides an appropriate response.
游戏引擎将会计算这个脚本并把这个行为和胆怯的巨人相关联。
The game engine will evaluate the script and link this behavior to the cowardly troll.
例如,用于Angband(一个Roguelike游戏)的configure脚本有一个可选的标记——enable - gtk,以告诉脚本在编译时启用gtk支持。
For instance, the configure script used for Angband (a Roguelike game) has an optional flag, — enable-gtk, to tell it to build with GTK support.
例如,用于Angband(一个Roguelike游戏)的configure脚本有一个可选的标记——enable - gtk,以告诉脚本在编译时启用gtk支持。
For instance, the configure script used for Angband (a Roguelike game) has an optional flag, — enable-gtk, to tell it to build with GTK support.
应用推荐