mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Change wording of the old Physics extension
This commit is contained in:

committed by
Florian Rival

parent
389deadac5
commit
1fbd58fa75
@@ -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",
|
||||
|
@@ -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",
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user