Change wording of the old Physics extension

This commit is contained in:
Florian Rival
2019-01-11 19:34:56 +00:00
committed by Florian Rival
parent 389deadac5
commit 1fbd58fa75
3 changed files with 13 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ void DeclareDestroyOutsideBehaviorExtension(gd::PlatformExtension& extension) {
_("Destroy when outside of the screen"),
_("DestroyOutside"),
_("Automatically destroy the object when it goes "
"outside of the screen's borders"),
"outside of the screen's borders."),
"",
"CppPlatform/Extensions/destroyoutsideicon.png",
"DestroyOutsideBehavior",

View File

@@ -22,7 +22,7 @@ void DeclareDraggableBehaviorExtension(gd::PlatformExtension& extension) {
extension.AddBehavior("Draggable",
_("Draggable object"),
_("Draggable"),
_("Allows objects to be moved using the mouse."),
_("Allows objects to be moved using the mouse (or touch)."),
"",
"CppPlatform/Extensions/draggableicon.png",
"DraggableBehavior",

View File

@@ -14,21 +14,23 @@ This project is released under the MIT License.
#include "ScenePhysicsDatas.h"
void DeclarePhysicsBehaviorExtension(gd::PlatformExtension& extension) {
extension.SetExtensionInformation(
"PhysicsBehavior",
_("Physics behavior"),
_("This extension enables the movement of objects as if they are subject "
"to the laws of physics."),
"Florian Rival",
"Open source (MIT License)")
extension
.SetExtensionInformation("PhysicsBehavior",
_("Physics engine"),
_("This extension enables the movement of "
"objects as if they are subject "
"to the laws of physics."),
"Florian Rival",
"Open source (MIT License)")
.SetExtensionHelpPath("/behaviors/physics");
{
gd::BehaviorMetadata& aut = extension.AddBehavior(
"PhysicsBehavior",
_("Physics engine"),
_("Physics Engine"),
_("Physics"),
_("Make objects move as if they are subject to the laws of physics."),
_("Make objects move as if they are subject to the laws of physics. If "
"you're creating a new game, prefer Physics Engine 2.0"),
"",
"res/physics32.png",
"PhysicsBehavior",