江户川小狼

作者 BlueSky, 2011 九月 29, 09:18:15

« 上一篇主题 - 下一篇主题 »

江户川小狼


江户川小狼

Next animation 改回463了,还是抓不了......

BlueSky

你是462接463动画, 还是在462动画时, 释放Ctrl键到463动画的?

后面一种可以, 前面一种没有试过。

江户川小狼

我是461、462、463之间都一直按着Ctrl 不放,因为只要按紧Ctrl劳拉就会自动荡一圈后自动荡出去0.0

江户川小狼

解决了0.0 原来还是OCB设的差了一丁点......

再问问,在给一些新物品添加名字的时候,直接在脚本插入
例如KEY=        1之类的再添加名字,会提示English没有这串名字,怎么新建一个?

BlueSky

如图

选中任一个在游戏中没有使用的, 修改后, 点update.

江户川小狼

假设全都有用呢? 而且我也不知道有哪些有用过......
能不能新建?

BlueSky

http://www.levelspace.net/viewthread.php?tid=234&extra=page%3D3  

你看一下这个连接吧

Parameters 参数设置

引用Used to store all informations used to print text.

Syntax: Parameters=PARAM_PRINT_TEXT, IdPrintText, Color (CL_...), FontType (FT_...), BlinkTime, DurateTime, X_Position, Y_Position

This parameter list will be required by new flipeffect trigger "Text. Print formatted ... string"

IdPrintText field
-----------------
This is the number you have to choose in Set Trigger Window with "print formatted text" trigger.

Color (CL_...) field
--------------------
The color of this text.
See the values CL_... in Reference panel.

FontType (FT_...) field
-----------------------
In this field you can set two or more FT_... constants to describe the size or the preassigned position for text.
Remark: if you wish you can omit the FT_ value to set position and instead you can set the position in pixel coordinates typing two valid values in fields: X_Position and Y_Position. See description of these fields.

BlinkTime field
---------------
Numeric value to signal interval for blinking when you set also flag FT_BLINK_CHARS in FontType field
Note: for blink time you can use only power by 2 values, like: 1, 2, 4, 8, 16, 32, 64, 128

DurateTime field
----------------
Number of seconds to show the text on screen.
If you want set as time "forever" type -1 or IGNORE in this field.
Remarks:
(1) If you set forever (IGNORE) for durate, then you can remove the string from screen using flipeffect "Text. Print. Remove (&)Extra NG String from screen"
(2) If you use this parameter data for vertical or horizontal scrolling text, the value you type in DurateTime field will be interpreted by trng as the speed value used for scrolling text.
The values for scrolling speed are the following:

0: Abs. Normal Speed  (30 fps)
1: Abs. Slow Speed (15 fps)
2: Abs. Very Slow Speed (10 fps)
3: Abs. Fast Speed (60 fps)
4: Abs. Very Fast Speed (90 fps)
5: Prop. Normal Speed  (30 fps)
6: Prop. Slow Speed (15 fps)
7: Prop. Very Slow Speed (10 fps)
8: Prop. Fast Speed (60 fps)
9: Prop. Very Fast Speed (90 fps)

If you set IGNORE in this field (used by scrolling text) the default value used will be 0 i.e.
"Abs. Normal Speed  (30 fps)"


X_Position and Y_Position fields
--------------------------------
If you set two valid values in these two fields the further FT_ value to set the position will be ignored.
Differently, if you want use some FT_ prefixed position you should type in X_Position and Y_Position fields the values IGNORE for both.
The values you type in these fields are in pixels, anyway, since you cann't to known in advance what it will be the resolution in game (each player could set a different resolution) you should set your coordinates like if screen was always in 1024x768 pixels resolution, then, if the game will have a different resolution the TRNG engine will change the position proportionally in according with the real resolution.
For example if you set Y_Position the value 384 (i.e. 768 / 2) the text will be showd in vertical half position of screen in each screen resolution thanks to trng adapting.
Remark: The Y_Position is not the top pixel of character but the baseline character. This means that if for example you use as Y_Position the value 0 the chracter will be not visible except a little bottom side.

[ 本帖最后由 BlueSky 于 2011-12-27 10:02 编辑 ]

江户川小狼


江户川小狼

这个链接里的触发文字的方法我试了,成功了,但是触发的文字的屏幕正中间,而且是黄色的,我想要文字出现在最下面,颜色是白的,应该怎么做?0.0

BlueSky

如图, 在这里可以找到字体类型和颜色, FT开头的是字体类型, CL开头的是颜色。

FT_BOTTOM_CENTER 是 屏幕中间下方, CL_WHITE 是 白色。

江户川小狼


江户川小狼

有一些关卡的梯子是模型,但是前后左右都木有墙  但是却能爬  怎么做到的?

BlueSky

利用pole rope, 这个是竖杆, 用梯子物件替换。  

修改对应的动画。

326 – Stand → climb onto vertical pole
327 – Jump off vertical pole
328 – Hang still on vertical pole
329 – Climb vertical pole
330 – Hang still on vertical pole → fall
331 – Jump forwards → grab and climb onto vertical pole
332 – Hang still on vertical pole → turn clockwise on vertical pole
333 – Hang still on vertical pole → turn counter-clockwise on vertical pole
334 – Hang still on vertical pole → slide down vertical pole
335 – Slide down vertical pole
336 – Slide down vertical pole → hang still on vertical pole
337 – Jump upwards → grab and climb onto vertical pole
338 – Climb vertical pole → hang still on vertical pole
342 – Hang still on vertical pole → put feet on floor → stand
343 – Turn clockwise on vertical pole (not used?)
344 – Turn clockwise on vertical pole → hang still on vertical pole
345 – Turn counter-clockwise on vertical pole (not used?)
346 – Turn counter-clockwise on vertical pole → hang still on vertical pole

这个 你自己试一试, 需要花比较多的时间。

江户川小狼

:Q 我关卡得用竖杆呢......有没有其他方法啊0.0