From 0cf05b71bade19d8b0c1b29c140bbdacb1525f94 Mon Sep 17 00:00:00 2001 From: Florian Rival Date: Tue, 24 May 2022 11:44:54 +0200 Subject: [PATCH] Fix various links to docs and update links to new domain Don't show in changelog --- .github/ISSUE_TEMPLATE/config.yml | 6 ++--- .github/workflows/issues.yml | 2 +- Core/GDevelop-Architecture-Overview.md | 8 +++---- Core/README.md | 2 +- ExtLibs/Readme.md | 2 -- GDJS/GDJS/DocMainPage.h | 21 ++++-------------- GDJS/README.md | 6 ++--- GDJS/docs/Readme.md | 2 +- GDJS/package.json | 2 +- GDevelop.js/Readme.md | 4 ++-- Readme.md | 4 ++-- newIDE/README-extensions.md | 22 +++++++++---------- .../scripts/extract-extensions-document.js | 2 +- .../app/scripts/extract-reference-document.js | 2 +- .../Export/GenericExporters/HTML5Export.js | 4 ++-- .../src/GamesShowcase/ShowcasedGameButtons.js | 2 +- newIDE/app/src/MainFrame/AboutDialog.js | 2 +- .../EditorContainers/HomePage/index.js | 2 +- newIDE/app/src/MainFrame/ElectronMainMenu.js | 6 ++--- newIDE/app/src/Profile/CreateAccountDialog.js | 2 +- .../DownloadSaveAsDialog.js | 2 +- .../src/ResourcesList/NewResourceDialog.js | 2 +- ...How-are-exporters-and-platforms-working.md | 2 +- newIDE/electron-app/package.json | 2 +- newIDE/web-app/package.json | 2 +- 25 files changed, 49 insertions(+), 64 deletions(-) delete mode 100644 ExtLibs/Readme.md diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index a38e274430..f6895c8918 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,14 +4,14 @@ contact_links: url: https://discord.gg/rjdYHvj about: Discuss on the forum or on the Discord to get help creating a game or identifying a bug. - name: GDevelop Forums - url: https://forum.gdevelop-app.com + url: https://forum.gdevelop.io about: You can also discuss game creation, new feature requests and bugs on the forum. - name: GDevelop Roadmap url: https://trello.com/b/qf0lM7k8/gdevelop-roadmap about: Look at the roadmap and vote on features that you want to see in GDevelop. - name: Submit a new game example that you created url: https://github.com/GDevelopApp/GDevelop-examples/issues/new/choose - about: You can submit a game that you made to be added to examples in the "GDevelop-examples" repository + about: You can submit a game that you made to be added to examples in the "GDevelop-examples" repository - name: Submit a new game extension that you created url: https://github.com/4ian/GDevelop-extensions/issues/new/choose - about: You can submit an extension that you made in the "GDevelop-extensions" repository + about: You can submit an extension that you made in the "GDevelop-extensions" repository diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index cf8d58d33f..a2bb2d3f64 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -12,7 +12,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} type: "body" regex: ".*Scroll down to '\\.\\.\\.\\.'.*" - message: "Hi @${issue.user.login}! 👋 This issue was automatically closed because it seems that you have not included any steps to reproduce the bug.\n\nGitHub is a place for the technical development of GDevelop itself - you may want to go on the [forum](https://forum.gdevelop-app.com/), the Discord chat or [read the documentation](https://wiki.gdevelop.io/gdevelop5/start) to learn more about GDevelop. Thanks!" + message: "Hi @${issue.user.login}! 👋 This issue was automatically closed because it seems that you have not included any steps to reproduce the bug.\n\nGitHub is a place for the technical development of GDevelop itself - you may want to go on the [forum](https://forum.gdevelop.io/), the Discord chat or [read the documentation](https://wiki.gdevelop.io/gdevelop5/start) to learn more about GDevelop. Thanks!" - name: Autoclose known beta 105 web-app update bug uses: arkon/issue-closer-action@v1.1 with: diff --git a/Core/GDevelop-Architecture-Overview.md b/Core/GDevelop-Architecture-Overview.md index 5281138f80..625e165f65 100644 --- a/Core/GDevelop-Architecture-Overview.md +++ b/Core/GDevelop-Architecture-Overview.md @@ -31,8 +31,8 @@ Extensions do have the same distinction between the "**IDE**" part and the "**Ru In GDevelop, developers can associate and manipulate variables in their games. To represent them, we have two things: -- The **editor** `gd::Variable` that is part of the structure of the game, so living in [GDCore in Variable.h](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_variable.html). This is what is shown in the editor, saved on disk in the project file. -- The **game engine** variable, called `gdjs.Variable` in GDJS. [Documentation is in the GDJS **game engine**](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation/Variable.html). This JavaScript class is what is used during a game. +- The **editor** `gd::Variable` that is part of the structure of the game, so living in [GDCore in Variable.h](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_variable.html). This is what is shown in the editor, saved on disk in the project file. +- The **game engine** variable, called `gdjs.Variable` in GDJS. [Documentation is in the GDJS **game engine**](https://docs.gdevelop.io/GDJS%20Runtime%20Documentation/classes/gdjs.Variable.html). This JavaScript class is what is used during a game. The editor `gd::Variable` **knows nothing** about the game engine class `gdjs.Variable`. And the `gdjs.Variable` class in the game engine knows almost nothing from `gd::Variable` (apart from how it's written in JSON, to be able to load a game default variables). @@ -56,10 +56,10 @@ The game engine is in GDJS/Runtime and is all written in TypeScript. ## What about events? -An "**event**" is by default something that [is mostly empty](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_base_event.html). In a more traditional programming language, an event can be seen as a scope or block (example: `{ some code here }` in a C style language like JavaScript, Java or C++). +An "**event**" is by default something that [is mostly empty](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_base_event.html). In a more traditional programming language, an event can be seen as a scope or block (example: `{ some code here }` in a C style language like JavaScript, Java or C++). [Default events are defined](https://github.com/4ian/GDevelop/tree/master/Core/GDCore/Events/Builtin) in GDevelop Core. -In particular, there is StandardEvent, which has conditions and actions. Conditions and actions are both a list of [`gd::Instruction`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_instruction.html). A `gd::Instruction` is either a condition or an action (it depends only on the context where they are used). +In particular, there is StandardEvent, which has conditions and actions. Conditions and actions are both a list of [`gd::Instruction`](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_instruction.html). A `gd::Instruction` is either a condition or an action (it depends only on the context where they are used). A `gd::Instruction` is "just" a type (the name of the action or condition), and some parameters. You can think of it as a function in a programming language (`add(2, 3)` is calling a function called "add" with parameters "2" and "3"). Conditions have the special thing that they are functions returning true or false (and potentially being used to do a filter on the objects being picked for next conditions and actions). diff --git a/Core/README.md b/Core/README.md index 90d7c75f42..b936989c9f 100644 --- a/Core/README.md +++ b/Core/README.md @@ -6,7 +6,7 @@ GDevelop Core is a portable C++ library, compiled to be used in JavaScript in th ## 1) Getting started 🤓 -First, take a look at the _Readme.md_ at the root of the repository and the [developer documentation](https://docs.gdevelop-app.com/). +First, take a look at the _Readme.md_ at the root of the repository and the [developer documentation](https://docs.gdevelop.io/). ## 2) How to contribute 😎 diff --git a/ExtLibs/Readme.md b/ExtLibs/Readme.md deleted file mode 100644 index e0b51b266e..0000000000 --- a/ExtLibs/Readme.md +++ /dev/null @@ -1,2 +0,0 @@ -Uncompress here the external libraries needed: SFML. -Refer to [the documentation](https://docs.gdevelop-app.com/GDCore%20Documentation/setup_dev_env.html) for more information and to get the download links of the libraries. diff --git a/GDJS/GDJS/DocMainPage.h b/GDJS/GDJS/DocMainPage.h index 7a5a785394..e553931d18 100644 --- a/GDJS/GDJS/DocMainPage.h +++ b/GDJS/GDJS/DocMainPage.h @@ -2,25 +2,12 @@ * \mainpage GDevelop JS Platform * \image html gdlogo.png * \section welcome Welcome - * This is the help file for the GDevelop JS Platform, which contains a reference of all the features provided - * by the JS Platform and explains how to create extensions for this platform.
- * Writing extensions requires to know Javascript and you need to write a bit of C++ code: Do not worry, everything is explained - * here. - * - * ### Game engine documentation - * Note that the documentation of the Javascript game engine of this platform is available [here](../GDJS Runtime Documentation/index.html). - * - * \section gettingstarted Getting started - * Please refer to the getting started guide in the [GDCore documentation](../GDCore Documentation/index.html).
- * You can then read the \subpage OverviewOfGDJS. - */ - -/** - * \page OverviewOfGDJS Overview of the JS Platform + * This is the help file for the "GDevelop JS Platform", which is the **JavaScript code generator** and game engine + * included in GDevelop. * * The JS platform is composed of two parts: * - The first one is the *C++ part* exposing the platform to the IDE (and this is its documentation). - * - The second part is the *Javascript game engine* which is in the *GDJS/Runtime* directory. + * - The second part is the *JavaScript game engine* which is in the *GDJS/Runtime* directory. The documentation of this JavaScript game engine is available [here](../GDJS Runtime Documentation/index.html). * - * You can read the documentation of the *Javascript game engine* [here](../GDJS Runtime Documentation/index.html). + * If you want to [create extensions for GDevelop, refer to this documentation instead](https://github.com/4ian/GDevelop/blob/master/newIDE/README-extensions.md). */ diff --git a/GDJS/README.md b/GDJS/README.md index 2c27816cae..fc864a205f 100644 --- a/GDJS/README.md +++ b/GDJS/README.md @@ -3,7 +3,7 @@ GDevelop JavaScript Platform (GDJS) is the game engine for making _HTML5/Javascript_ based games with GDevelop. -> 📚 **Game developer, searching for the documentation?** Go to the **[GDJS Runtime (game engine) documentation](https://docs.gdevelop-app.com/GDJS%20Documentation)**. +> 📚 **Game developer, searching for the documentation?** Go to the **[GDJS Runtime (game engine) documentation](https://docs.gdevelop.io/GDJS%20Documentation)**. ## 1) Installation đŸ’ģ @@ -20,7 +20,7 @@ GDJS is composed of two parts: The game engine is in the _Runtime_ folder. If you want to work on the engine directly, follow the [GDevelop 5 README about the development of the game engine](https://github.com/4ian/GDevelop/blob/master/newIDE/README.md#development-of-the-game-engine). -- To use the game engine, you can look into the **[GDJS Runtime (game engine) documentation](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation)**. +- To use the game engine, you can look into the **[GDJS Runtime (game engine) documentation](https://docs.gdevelop.io/GDJS%20Runtime%20Documentation)**. - To run tests for the game engine, go to `GDJS/tests`, run `npm install` and `npm test`. More information in the [README for the tests](https://github.com/4ian/GDevelop/tree/master/GDJS/tests). @@ -28,7 +28,7 @@ The game engine is in the _Runtime_ folder. If you want to work on the engine di ### GDJS Platform (exporters, code generation...) -Check the [GDJS Platform](https://docs.gdevelop-app.com/GDJS%20Documentation/index.html) documentation or the [full GDevelop developers documentation](https://docs.gdevelop-app.com/). +Check the [GDJS Platform](https://docs.gdevelop.io/GDJS%20Documentation/index.html) documentation or the [full GDevelop developers documentation](https://docs.gdevelop.io/). ## 3) How to contribute 😎 diff --git a/GDJS/docs/Readme.md b/GDJS/docs/Readme.md index 6d029a668f..ab4d412f0b 100644 --- a/GDJS/docs/Readme.md +++ b/GDJS/docs/Readme.md @@ -1,6 +1,6 @@ # GDJS Documentation -📚 Read the documentation online: **[GDJS Runtime (game engine) documentation](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation/index.html)** or [GDJS Platform documentation for the IDE](https://docs.gdevelop-app.com/GDJS%20Documentation/index.html). +📚 Read the documentation online: **[GDJS Runtime (game engine) documentation](https://docs.gdevelop.io/GDJS%20Runtime%20Documentation/index.html)** or [GDJS Platform documentation for the IDE](https://docs.gdevelop.io/GDJS%20Documentation/index.html). ## How to generate the documentation diff --git a/GDJS/package.json b/GDJS/package.json index 8f2a857008..2767550da4 100644 --- a/GDJS/package.json +++ b/GDJS/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "license": "MIT", - "homepage": "https://gdevelop-app.com", + "homepage": "https://gdevelop.io", "//": "We use esbuild for a near instant build (important for quick feedback loop when developing). Typechecking is a separate process as much longer.", "devDependencies": { "@types/electron": "^1.6.10", diff --git a/GDevelop.js/Readme.md b/GDevelop.js/Readme.md index 8be8898557..67764b5c05 100644 --- a/GDevelop.js/Readme.md +++ b/GDevelop.js/Readme.md @@ -2,7 +2,7 @@ This is the port of GDevelop core classes to WebAssembly+JavaScript. This allows [GDevelop Core libraries](https://github.com/4ian/GDevelop) to run in a browser or on Node.js. -> 🎮 GDevelop is a full-featured, cross-platform, open-source game development software requiring no programming skills. Download it on [the official website](https://gdevelop-app.com). +> 🎮 GDevelop is a full-featured, cross-platform, open-source game development software requiring no programming skills. Download it on [the official website](https://gdevelop.io). ## How to build @@ -66,4 +66,4 @@ See the [CMakeLists.txt](./CMakeLists.txt) for the arguments passed to the Emscr ## Documentation - The file [Bindings.idl](https://github.com/4ian/GDevelop/blob/master/GDevelop.js/Bindings/Bindings.idl) describes all the classes available in GDevelop.js. -- Refer to [GDevelop documentation](https://docs.gdevelop-app.com/GDCore%20Documentation/) for detailed documentation of the original C++ classes. +- Refer to [GDevelop documentation](https://docs.gdevelop.io/GDCore%20Documentation/) for detailed documentation of the original C++ classes. diff --git a/Readme.md b/Readme.md index ad474eb451..21974d3df7 100644 --- a/Readme.md +++ b/Readme.md @@ -27,7 +27,7 @@ GDevelop is a full-featured, no-code, open-source game development software. You To learn more about GDevelop Architecture, read the [architecture overview here](Core/GDevelop-Architecture-Overview.md). -Pre-generated documentation of the Core library, C++ and TypeScript game engines is [available here](https://docs.gdevelop-app.com). +Pre-generated documentation of the Core library, C++ and TypeScript game engines is [available here](https://docs.gdevelop.io). Status of the tests and builds: [![macOS and Linux build status](https://circleci.com/gh/4ian/GDevelop.svg?style=shield)](https://app.circleci.com/pipelines/github/4ian/GDevelop) [![Fast tests status](https://gdevelop.semaphoreci.com/badges/GDevelop/branches/master.svg?style=shields)](https://gdevelop.semaphoreci.com/projects/GDevelop) [![All tests status](https://www.travis-ci.com/4ian/GDevelop.svg?branch=master)](https://www.travis-ci.com/github/4ian/GDevelop) [![Windows Build status](https://ci.appveyor.com/api/projects/status/84uhtdox47xp422x/branch/master?svg=true)](https://ci.appveyor.com/project/4ian/gdevelop/branch/master) [![https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg](https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg)](https://good-labs.github.io/greater-good-affirmation) @@ -35,7 +35,7 @@ Status of the tests and builds: [![macOS and Linux build status](https://circlec ### Community -- [GDevelop forums](https://forum.gdevelop-app.com) and [Discord chat](https://discord.gg/gdevelop). +- [GDevelop forums](https://forum.gdevelop.io) and [Discord chat](https://discord.gg/gdevelop). - [GDevelop homepage](https://gdevelop.io) - [GDevelop wiki (documentation)](https://wiki.gdevelop.io/gdevelop5/start) - Help translate GDevelop in your language: [GDevelop project on Crowdin](https://crowdin.com/project/gdevelop). diff --git a/newIDE/README-extensions.md b/newIDE/README-extensions.md index 8369a927a1..52e34f3653 100644 --- a/newIDE/README-extensions.md +++ b/newIDE/README-extensions.md @@ -50,13 +50,13 @@ Refer to the [GDevelop IDE Readme](./README.md) for more information about the i > â„šī¸ Implement your extension in a file called `extensionnametools.ts` (for general functions), `objectnameruntimeobject.ts` (for objects) or `behaviornameruntimebehavior.ts` (for behaviors). See then the next section for declaring these files and the content of the extension to the IDE. -Check the [GDJS game engine documentation here](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation/index.html). It's also a good idea to check the [Runtime folder of GDJS](../GDJS/README.md) to see directly how the game engine is done when needed. Files for the game engine should [almost all be written in TypeScript, with a few precautions to ensure good performance (click to learn more)](https://github.com/4ian/GDevelop/blob/master/newIDE/docs/Supported-JavaScript-features-and-coding-style.md). +Check the [GDJS game engine documentation here](https://docs.gdevelop.io/GDJS%20Runtime%20Documentation/index.html). It's also a good idea to check the [Runtime folder of GDJS](../GDJS/README.md) to see directly how the game engine is done when needed. Files for the game engine should [almost all be written in TypeScript, with a few precautions to ensure good performance (click to learn more)](https://github.com/4ian/GDevelop/blob/master/newIDE/docs/Supported-JavaScript-features-and-coding-style.md). #### How to create functions to be called by events See examples in [examplejsextensiontools.ts](../Extensions/ExampleJsExtension/examplejsextensiontools.ts). -Read about [`gdjs.RuntimeScene`](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation//RuntimeScene.html), the class representing a scene being played, as lots of events can need it. +Read about [`gdjs.RuntimeScene`](https://docs.gdevelop.io/GDJS%20Runtime%20Documentation/classes/gdjs.RuntimeScene.html), the class representing a scene being played, as lots of events can need it. ##### How to create an asynchronous function @@ -69,7 +69,7 @@ See examples in [dummyruntimebehavior.ts](../Extensions/ExampleJsExtension/dummy You'll be interested in the constructor (to initialize things), `onDeActivate` (called when behavior is deactivated), `doStepPreEvents` and `doStepPostEvents` (to run logic before/after the events at each frame). -Read about [`gdjs.RuntimeBehavior`](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation/RuntimeBehavior.html), the base class inherited by all behaviors, to see everything that is available. +Read about [`gdjs.RuntimeBehavior`](https://docs.gdevelop.io/GDJS%20Runtime%20Documentation/classes/gdjs.RuntimeBehavior.html), the base class inherited by all behaviors, to see everything that is available. #### How to create an object by extending `gdjs.RuntimeObject` @@ -77,7 +77,7 @@ See example in [dummyruntimeobject.ts](../Extensions/ExampleJsExtension/dummyrun You'll be interested in the constructor (to initialize things), `update` (called every frame) and the other methods. In the PIXI renderer, check the constructor (where PixiJS objects are created). Other methods depend on the renderer. -Read about [`gdjs.RuntimeObject`](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation/RuntimeObject.html), the base class inherited by all objects. +Read about [`gdjs.RuntimeObject`](https://docs.gdevelop.io/GDJS%20Runtime%20Documentation/classes/gdjs.RuntimeObject.html), the base class inherited by all objects. #### How to create an effect ("shader", PixiJS "filter") @@ -93,17 +93,17 @@ The API to declare extensions is almost 100% equivalent to the way extensions ar #### Declare the extension information -Use [`extension.setExtensionInformation`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_platform_extension.html#ac53e5af617a9ed91c280d652899557c3) to declare basic information about your extension. +Use [`extension.setExtensionInformation`](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_platform_extension.html#ac53e5af617a9ed91c280d652899557c3) to declare basic information about your extension. > 👉 See an example in the [example extension _JsExtension.js_ file](../Extensions/ExampleJsExtension/JsExtension.js). #### Declare actions, conditions and expressions -Use [`addAction`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_platform_extension.html#a34e95be54f2dfa80b804e8e4830e7d9c), `addCondition`, `addExpression` or `addStrExpression` to declare actions, conditions or expressions. +Use [`addAction`](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_platform_extension.html#a34e95be54f2dfa80b804e8e4830e7d9c), `addCondition`, `addExpression` or `addStrExpression` to declare actions, conditions or expressions. -- Chain calls to [`addParameter`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_instruction_metadata.html#a95486188a843f9ac8cdb1b0700c6c7e5) to declare the parameters of your action/condition/expression. +- Chain calls to [`addParameter`](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_instruction_metadata.html#a95486188a843f9ac8cdb1b0700c6c7e5) to declare the parameters of your action/condition/expression. - If your function is asynchronous, call `setAsync` to tell GDevelop to wait for your task to resolve before executing subevents. -- Call `getCodeExtraInformation()` and then functions like [`setFunctionName` and `setIncludeFile`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_instruction_metadata_1_1_extra_information.html) to declare the JavaScript function to be called and the file to be included. +- Call `getCodeExtraInformation()` and then functions like [`setFunctionName` and `setIncludeFile`](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_instruction_metadata_1_1_extra_information.html) to declare the JavaScript function to be called and the file to be included. > You can call these functions on the `extension` object, or on the objects returned by `extension.addObject` (for objects) or `extension.addBehavior` (for behaviors). See below. @@ -113,7 +113,7 @@ Use [`addAction`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1 #### Declare behaviors -Add a behavior using [`addBehavior`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_platform_extension.html#a75992fed9afce730db56af9d4d8177ca). The last two parameters are the `gd.Behavior` and the `gd.BehaviorsSharedData` object representing the behavior and its (optional) shared data +Add a behavior using [`addBehavior`](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_platform_extension.html#a75992fed9afce730db56af9d4d8177ca). The last two parameters are the `gd.Behavior` and the `gd.BehaviorsSharedData` object representing the behavior and its (optional) shared data - For the behavior, create a `new gd.BehaviorJsImplementation()` and define `initializeContent`, `updateProperty` and `getProperties`. - For the shared data (which are properties shared between all behaviors of the same type), if you don't need it, just pass the `new gd.BehaviorsSharedData()`. If you need shared data, create a `new gd.BehaviorSharedDataJsImplementation()` and define `initializeContent`, `updateProperty` and `getProperties`. @@ -124,7 +124,7 @@ Add a behavior using [`addBehavior`](https://docs.gdevelop-app.com/GDCore%20Docu #### Declare objects -Add an object using [`addObject`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_platform_extension.html#a554baca486909e8741e902133cceeec0). The last parameter is the `gd.Object` representing the object: +Add an object using [`addObject`](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_platform_extension.html#a554baca486909e8741e902133cceeec0). The last parameter is the `gd.Object` representing the object: - Create a `new gd.ObjectJsImplementation()` and define `updateProperty` and `getProperties` (for the object properties) and `updateInitialInstanceProperty` and `getInitialInstanceProperties` (for the optional properties that are attached to each instance). @@ -234,7 +234,7 @@ Finally, to have the instances of your object displayed properly on the scene ed #### Declare effects -Add an effect using [`addEffect`](https://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_platform_extension.html) in your _JsExtension.js_ file. +Add an effect using [`addEffect`](https://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_platform_extension.html) in your _JsExtension.js_ file. > 👉 See an example in the [Effects extension _JsExtension.js_ file](../Extensions/Effects/JsExtension.js). Learn more about [properties here](docs/Properties-schema-and-PropertiesEditor-explanations.md). diff --git a/newIDE/app/scripts/extract-extensions-document.js b/newIDE/app/scripts/extract-extensions-document.js index 3c4482abca..3f74121277 100644 --- a/newIDE/app/scripts/extract-extensions-document.js +++ b/newIDE/app/scripts/extract-extensions-document.js @@ -33,7 +33,7 @@ const generateExtensionFooterText = fullName => { return ( ` --- -*This page is an auto-generated reference page about the **${fullName}** extension, made by the community of [[https://gdevelop-app.com/|GDevelop, the open-source, cross-platform game engine designed for everyone]].*` + +*This page is an auto-generated reference page about the **${fullName}** extension, made by the community of [[https://gdevelop.io/|GDevelop, the open-source, cross-platform game engine designed for everyone]].*` + ' ' + 'Learn more about [[gdevelop5:extensions|all GDevelop community-made extensions here]].' ); diff --git a/newIDE/app/scripts/extract-reference-document.js b/newIDE/app/scripts/extract-reference-document.js index e1f50afbd7..ad792065dc 100644 --- a/newIDE/app/scripts/extract-reference-document.js +++ b/newIDE/app/scripts/extract-reference-document.js @@ -123,7 +123,7 @@ const generateExtensionFooterText = ({ extension }) => { text: ` --- -*This page is an auto-generated reference page about the **${extension.getFullName()}** feature of [[https://gdevelop-app.com/|GDevelop, the open-source, cross-platform game engine designed for everyone]].*` + +*This page is an auto-generated reference page about the **${extension.getFullName()}** feature of [[https://gdevelop.io/|GDevelop, the open-source, cross-platform game engine designed for everyone]].*` + ' ' + 'Learn more about [[gdevelop5:all-features|all GDevelop features here]].', }; diff --git a/newIDE/app/src/Export/GenericExporters/HTML5Export.js b/newIDE/app/src/Export/GenericExporters/HTML5Export.js index d6d7e29142..24bbae3c6e 100644 --- a/newIDE/app/src/Export/GenericExporters/HTML5Export.js +++ b/newIDE/app/src/Export/GenericExporters/HTML5Export.js @@ -83,7 +83,7 @@ export const DoneFooter = ({ fullWidth primary onClick={() => - Window.openExternalURL('https://gdevelop-app.com/crazy-games') + Window.openExternalURL('https://gdevelop.io/page/crazy-games') } label={Publish your game on CrazyGames.com} icon={} @@ -110,7 +110,7 @@ export const DoneFooter = ({ Window.openExternalURL('https://gdevelop-app.com/poki')} + onClick={() => Window.openExternalURL('https://gdevelop.io/page/poki')} label={Publish your game on Poki.com} icon={} /> diff --git a/newIDE/app/src/GamesShowcase/ShowcasedGameButtons.js b/newIDE/app/src/GamesShowcase/ShowcasedGameButtons.js index 6bab65ad44..495452efc1 100644 --- a/newIDE/app/src/GamesShowcase/ShowcasedGameButtons.js +++ b/newIDE/app/src/GamesShowcase/ShowcasedGameButtons.js @@ -25,7 +25,7 @@ import Apple from '../UI/CustomSvgIcons/Apple'; import { useResponsiveWindowWidth } from '../UI/Reponsive/ResponsiveWindowMeasurer'; const getFullUrl = url => - url.startsWith('/') ? 'https://gdevelop-app.com' + url : url; + url.startsWith('/') ? 'https://gdevelop.io' + url : url; const getLinkIconAndLabel = (url: string, type: string) => { switch (type) { diff --git a/newIDE/app/src/MainFrame/AboutDialog.js b/newIDE/app/src/MainFrame/AboutDialog.js index 8b14149735..2b8260752f 100644 --- a/newIDE/app/src/MainFrame/AboutDialog.js +++ b/newIDE/app/src/MainFrame/AboutDialog.js @@ -244,7 +244,7 @@ export default class AboutDialog extends PureComponent { }; _openContributePage = () => { - Window.openExternalURL('https://gdevelop-app.com/contribute/'); + Window.openExternalURL('https://gdevelop.io/page/contribute/'); }; _openLink = (link: string) => { diff --git a/newIDE/app/src/MainFrame/EditorContainers/HomePage/index.js b/newIDE/app/src/MainFrame/EditorContainers/HomePage/index.js index c81541d3f9..bb9d18d87f 100644 --- a/newIDE/app/src/MainFrame/EditorContainers/HomePage/index.js +++ b/newIDE/app/src/MainFrame/EditorContainers/HomePage/index.js @@ -436,7 +436,7 @@ export const HomePage = React.memo( label={Community Forums} onClick={() => Window.openExternalURL( - 'https://forum.gdevelop-app.com' + 'https://forum.gdevelop.io' ) } /> diff --git a/newIDE/app/src/MainFrame/ElectronMainMenu.js b/newIDE/app/src/MainFrame/ElectronMainMenu.js index 1b902ca9f5..8f53d281ec 100644 --- a/newIDE/app/src/MainFrame/ElectronMainMenu.js +++ b/newIDE/app/src/MainFrame/ElectronMainMenu.js @@ -220,12 +220,12 @@ const buildAndSendMenuTemplate = ( submenu: [ { label: i18n._(t`GDevelop website`), - onClickOpenLink: 'http://gdevelop-app.com', + onClickOpenLink: 'http://gdevelop.io', }, { type: 'separator' }, { label: i18n._(t`Community Forums`), - onClickOpenLink: 'https://forum.gdevelop-app.com', + onClickOpenLink: 'https://forum.gdevelop.io', }, { label: i18n._(t`Community Discord Chat`), @@ -234,7 +234,7 @@ const buildAndSendMenuTemplate = ( { type: 'separator' }, { label: i18n._(t`Contribute to GDevelop`), - onClickOpenLink: 'https://gdevelop-app.com/contribute/', + onClickOpenLink: 'https://gdevelop.io/page/contribute', }, { label: i18n._(t`Create Extensions for GDevelop`), diff --git a/newIDE/app/src/Profile/CreateAccountDialog.js b/newIDE/app/src/Profile/CreateAccountDialog.js index 6c9bf65ea9..6a86e2c214 100644 --- a/newIDE/app/src/Profile/CreateAccountDialog.js +++ b/newIDE/app/src/Profile/CreateAccountDialog.js @@ -142,7 +142,7 @@ export default class CreateAccountDialog extends Component { { key="download" label={Download GDevelop desktop version} primary={false} - onClick={() => Window.openExternalURL('http://gdevelop-app.com')} + onClick={() => Window.openExternalURL('http://gdevelop.io')} />, Download GDevelop to use images from your computer } onClick={() => - Window.openExternalURL('https://gdevelop-app.com/download') + Window.openExternalURL('https://gdevelop.io/download') } /> ) : null, diff --git a/newIDE/docs/How-are-exporters-and-platforms-working.md b/newIDE/docs/How-are-exporters-and-platforms-working.md index ae63a25345..b2dcf5d29e 100644 --- a/newIDE/docs/How-are-exporters-and-platforms-working.md +++ b/newIDE/docs/How-are-exporters-and-platforms-working.md @@ -7,7 +7,7 @@ When a game is previewed or exported, there are multiple concepts that are being GDevelop is built on **platforms**. A platform is the term used in GDevelop codebase to describe the class that: - provides the _code generator for events_, -- provides the _generator that export a whole game_ (or a preview), taking a [`gd::Project`](http://docs.gdevelop-app.com/GDCore%20Documentation/classgd_1_1_project.html) as argument and copying all resources, exporting files, launching the _code generator for events_. +- provides the _generator that export a whole game_ (or a preview), taking a [`gd::Project`](http://docs.gdevelop.io/GDCore%20Documentation/classgd_1_1_project.html) as argument and copying all resources, exporting files, launching the _code generator for events_. - provides the **game engine**, also called _Runtime_, is also provided by the platform. You can think of it as a set of files that are copied next to the game resource and events. - stores extensions, which can be considered as small parts of the game engine that can be used and copied into the final game. diff --git a/newIDE/electron-app/package.json b/newIDE/electron-app/package.json index 59d6e28c81..614e94030d 100644 --- a/newIDE/electron-app/package.json +++ b/newIDE/electron-app/package.json @@ -5,7 +5,7 @@ "version": "1.0.0", "author": "Florian Rival", "license": "MIT", - "homepage": "http://gdevelop-app.com", + "homepage": "http://gdevelop.io", "repository": "github:4ian/GDevelop", "private": true, "scripts": { diff --git a/newIDE/web-app/package.json b/newIDE/web-app/package.json index 4b4fdd53bf..298116765b 100644 --- a/newIDE/web-app/package.json +++ b/newIDE/web-app/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "description": "GDevelop IDE running on browsers", "author": "Florian Rival", - "homepage": "http://gdevelop-app.com", + "homepage": "http://gdevelop.io", "private": true, "license": "MIT", "scripts": {