Skip to content

Commit

Permalink
script-properties notes & PS5 (#403)
Browse files Browse the repository at this point in the history
* sdk api update

* update

* image properties

* update editor

* defold sdk update

* animation updates

* animation fix

* run as admin

* update bob

* update about AndroidX support

* software render

* linux-faq.md update

* 4.28.2021 updates

* Basis Universal format

* sound & mesh

* gamepad event mapping

* admob url

* Minor edit to building blocks intro text

* update gamepad & ios

* project settings

* libffi version

* scaling

* image compression

* update gamepads

* increase memory

* caching assets

* update 2021/10/6

* update 2021/10/16
blend-modes.md

* update 2021/11/12

* allow dynamic transforms update

* Bundle update

* update faq

* bullet & bob

* script properties update

* editor-styling

* build server url

* editor templates

* spine extension update

* Fix typo in the "optimizations" word in Chinese docs

* Update to material.md - Constants buffers

* Verify Graphics Calls

* H5 parameters

* OpenJDK downloads

* cn update corresponds to [pull 259](#259)

* application security

* porting guidelines

* update for 8f1651f

* cn update for 094bf6f

* cn update for 20fdfc5 & 6263317

* cn update for 7/19/2022

* title

* profiling update

* update editor.md

* update bob.md

* update shortcuts

* update fixed update note

* Update properties.md

* Update material.md

* Updates links

* Update bob help with the latest info

* camera & renderer

* Updated android keystore info zh_cn

* bundling.md release vs debug zh_cn

* update bob.md & gui-clipping.md

* contentless bundle

* consoles update

* model animation link

* gamepad & faq

* remove a camera lib

* font shadow render mode fix

* updates about app-manifest and others

* Update script.md

* includes in shaders

* editor scripts

* material updates

* Added dynamic atlas and texture creation

* fixes for atlas and some others

* update screenshots and add explanations (CN)

* add a line about Dynamic Prototype (CN)

* remove "inline" marks in pics

* de-translate the subtitle "Running the debugger" & images fix

* bundle identifier restrictions

* node properties Enabled and Visible (CN)

* release checklist & slice-9

* Update project-settings.md (CN)

* Update camera.md (CN)

* Update project-settings.md (CN)

* culling of meshes (CN)

* Update project-settings.md (CN)

* gltf model file support (CN)

* updates about factory (CN)

* Update bob.md (CN)

* Update bob.jar help (CN)

* Update about renderer and other things

* Update PS4 development and other things

* Dynamic prototype part of the collection factory.

* sync to atlas.md

* sync to design.md

* sync to gpgs.md

* sync to hot-reload.md

* sync to linux.md

* sync to live-update.md

* sync to lua.md

* sync to networking.md

* sync to physics-shapes.md

* sync to push.md

* sync to test.md

* sync to working-offline.md

* update material.md

* update zerobrane.md

* all done

* Splitting .zip archives in live-update.md

* manual for collision events

* Updated sprite documentation to include info about multiple textures

* update editor-scripts.md & physics-events.md

* update buffer.md & physics-shapes.md

* screen blend mode

* Update camera manual for zh with new function.

* Fix texture profile documentation for 1.7.0 zh

* update material.md & render.md

* notice about physics-events

* script-properties notes & PS5
  • Loading branch information
CocosGames authored Mar 1, 2024
1 parent c009e80 commit 506eb3a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
4 changes: 4 additions & 0 deletions docs/zh/manuals/script-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ end

被修改过的属性值以蓝色显示. 点击属性名旁边的重置按钮可以重置回默认值 (脚本里定义属性时的初始值).

::: important
生成项目时会分析脚本属性. 不计算表达式的值. 这意味着诸如 `go.property("hp", 3+6)` 不行而 `go.property("hp", 9)` 才行.
:::

## 访问脚本属性

被定义好的脚本属性存在于 `self` 之中, 由脚本实例保存:
Expand Down
26 changes: 11 additions & 15 deletions docs/zh/manuals/sony-playstation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,22 @@ title: PlayStation®4 的 Defold 开发
brief: 本教程介绍了如何访问 PlayStation®4
---

# PlayStation®4 开发
基于 Sony 许可证限制, 支持 Sony PlayStation® 平台的 Defold 版本不包括标准版. 要获取支持 Sony PlayStation® 的 Defold 特殊版本首先必须成为 Sony PlayStation® 的正式开发者.
# PlayStation®4 和 PlayStation®5 开发
基于 Sony 许可证限制, Defold 标准版不支持 PS4 和 PS5 平台的开发. 要获取支持PS4 和 PS5 的 Defold 特殊版本首先必须分别成为 PS4 和 PS5 的正式开发者.

::: sidenote
Defold 目前只提供 PS4™ 开发支持. 给 PlayStation 4 开发的游戏可以以兼容模式运行于 PlayStation 5. 官方 PS5 支持会在本年下半年提供.
:::
## 注册成为 PS4 和 PS5 开发者

## 注册成为 PS4 开发者
可以在 [Sony PlayStation® Partner page](https://register.playstation.net/partnership) 注册成为 PS4 和 PS5 开发者:

可以在 [Sony PlayStation® Partner page](https://register.playstation.net/partnership) 注册成为 PlayStation®4 开发者:
Sony 审核通过后就可以访问 Playstation5 DevNet 和 Playstation 4 DevNet. 导航到 Development > Tools & Middleware > Tools & Middleware directory > Defold. 点击 'Confirm Status' 按钮.

Sony 审核通过后就可以访问 Playstation 4 DevNet. 导航到 Development > Tools & Middleware > Tools & Middleware directory > Defold. 点击 'Confirm Status' 按钮.
## PS4™ 和 PS5™ 的 Defold 访问
当我们确定开发者是正式 PS4™ 和 PS5™ 开发者时, 我们会在 Defold 中提供如下访问:

## PS4 的 Defold 访问
当我们确定开发者是正式 PS4™ 开发者时, 我们会在 Defold 中提供如下访问:

* PS4™ 扩展源码连同控制台 API 整合.
* PS4™ 可用的 Defold 游戏引擎源码. 注意这些源码不用作 PS4™ 游戏编译, 如果你想对引擎核心做贡献可以使用这些源码.
* 编译到 PS4™ 平台的 [命令行工具](/manuals/bob). 不支持从 Defold 编辑器进行编译.
* PS4™ 特定论坛技术支持.
* PS4™ 和 PS5™ 扩展源码连同控制台 API 整合.
* PS4™ 和 PS5™ 可用的 Defold 游戏引擎源码只提供给 PS5™ 注册游戏开发者. 注意这些源码不用作游戏编译, 如果你想对引擎核心做贡献可以使用这些源码.
* 编译到 PS4™ 和 PS5™ 平台的 [命令行工具](/manuals/bob). 不支持从 Defold 编辑器进行编译.
* PS4™ 和 PS5™ 特定论坛技术支持.

## 常见问题
:[Consoles FAQ](../shared/consoles-faq.md)
4 changes: 2 additions & 2 deletions docs/zh/shared/consoles-faq.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#### Q: 开发主机游戏需要什么别的工具吗?

A: 使用 Defold 编辑器和命令行工具都可以打包主机游戏. 一旦你取得了相应开发资格, 关于如何调试 Nintendo SwitchPlayStation®4 游戏的方法也会发送给你.
A: 使用 Defold 编辑器和命令行工具都可以打包主机游戏. 一旦你取得了相应开发资格, 关于如何调试 PlayStation®4, PlayStation®5Nintendo Switch 游戏的方法也会发送给你.


#### Q: 开发跨平台游戏加上主机游戏, 一个代码库够用吗?

A: 够用, 所有标准 Defold API 功能在主机游戏平台同样有效. 除此之外也许需要调用一些 Nintendo SwitchPlayStation®4 的原生功能, 但总体上讲一套代码跨平台没问题.
A: 够用, 所有标准 Defold API 功能在主机游戏平台同样有效. 除此之外也许需要调用一些 PlayStation®4, PlayStation®5Nintendo Switch 的原生功能, 但总体上讲一套代码跨平台没问题.

0 comments on commit 506eb3a

Please sign in to comment.