diff --git a/Docs/command_ref/flow_commands.md b/Docs/command_ref/flow_commands.md index b919c378..16ec8f07 100644 --- a/Docs/command_ref/flow_commands.md +++ b/Docs/command_ref/flow_commands.md @@ -176,15 +176,6 @@ Property | Type | Description --- | --- | --- Frame Count | Fungus.IntegerData | Number of frames to wait for -# WaitInput # {#WaitInput} -Waits for a period of time or for player input before executing the next command in the block. - -Defined in WaitInput - -Property | Type | Description - --- | --- | --- -Duration | System.Single | Duration to wait for. If negative will wait until player input occurs. - # While # {#While} Continuously loop through a block of commands while the condition is true. Use the Break command to force the loop to terminate immediately. diff --git a/Docs/fungus_docs/change_log.md b/Docs/fungus_docs/change_log.md index 6ca32b21..d21f6b8a 100644 --- a/Docs/fungus_docs/change_log.md +++ b/Docs/fungus_docs/change_log.md @@ -2,39 +2,72 @@ Changelog {#changelog} ========= [TOC] -v3.6.1 {#v3_6_1} +v3.8.0 {#v3_8_0} ====== +Many thanks to contributors stevehalliwell, FrederickKDP, MeMark2, KVinS, charblar, FatPuzo for their work on this release! + ## Added -- Rigidbody2D Fungus Variable -- Added Playground FungusExamples that demonstrate the use of Rigidbody2D, input, vectors and transforms. -- Vector3 commands for modifying fields, normalising & arithetic -- Added TransformProperty command, gets and sets Transform fields and properties -- Added ReloadScene command -- Added Rigidbody2D commands, AddForce, AddTorque, StopMotion -- Added GetAxis command to fetch Input.GetAxis into a float variable -- Added Math Commands -- Added MathQuiz Example scene -- Added MonoBehaviour Events -- Added MonoBehaviour Example Scene -- Added LeanTween Commands for Move, Scale, Rotate -- Added LeanTween Example Scene -- Added ability to type name of desired command in text box below the block editor -- Added hierarchy icon for all GameObjects with a flowchart on them -- Added FungusEditorPreferences these can currently toggle off the hierarchy icons. +- Added Flowchart.HasBlock() and ExecuteIfHasBlock() methods +- Added Global Variable support. Variables have new 'Global' variable scope. +- Added GlobalVar demo scene ## Changed -- Spawn Object can now return the gameobject made via a Fungus GameObject variable & calls the best matching version of Instantiate -- Destroy command now supports a destroy delay -- Updated project to Unity 2017.1.0 -- SayDialog public SpeakingCharacter property -- BlockEditor name to BlockName -- CameraManager now tracks the pan and fade coroutines independantly +- Updated project version to Unity 2017.4.0f1 +- Refactored the set variable system to make it easier to add variable comparison options +- Added comparison and setting of GameObjects variables +- Updated Batch for newer versions of Unity3D web player #650 ## Fixed -- EventHandler now correctly indents its properties -- If CustomEditor changed to VariableConditionEditor +- Fixed compile errors in Unity 2018.1 beta +- Fixed compiler warnings in Untity2017.3 +- Fixed repeat play of music #659 +- Fixed conflicting EditorResource folder issue #664 +- Fixed SaveMenu DontDestroyOnLoad problems #661 +- Fixed docs: the block name in 6 of "Connections between Blocks" section from "Block2" to "Start" #663 +- Fixed lua say() function to match new say method parameters + +v3.7.0 {#v3_7_0} +====== + +Many thanks to maintainer Steve Halliwell for all the amazing new functionality in this release! + +## Added +- Added Playground examples showing 3 simple arcade games made using Fungus +- Added Rigidbody2D variable type +- Added Vector3 FungusCommands - Fields, Normalise, Convert to Vector2, Arithetic +- Added TransformProperty FungusCommand. Get and Set a transform's fields and properties. Does not currently support rotation, localRotation nor the Mat4x4 commands as we do not have the appropriate FungusVariables to store them in +- Added FungusCommand to Reload Current Scene +- Added Rigidbody2D FungusCommands - AddForce, AddTorque, StopMotion +- Added Input GetAxis fungusCommand, fetch Input.GetAxis and store in a FloatData +- SpawnObject FungusCommand can now store the gameobject it instantiates and can spawn at itself +- Destroy FungusCommand can now be told to pass down a delay to Destroy +- Added Fungus Commands for most of MathF +- Added Math demo scene +- Added Mouse fungus event demo scene +- Added Monobehaviour fungus event handlers and physics demo scene +- Added LeanTween commands and demo scene that approximates the old iTween demo +- Added SpeakingCharacter property to SayDialog +- Added Fungus panel in editor preferences +- Added option to toggle off the fungus icon in the hierarchy in case it conflicts with other tools or is just undesired +- Added TextTag WVO WaitForVoiceOver #572 +- Added ability to show variable list in the Flowchart Inspector #643 +- OpenURL FungusCommand renamed, fixes #554 #642 + +## Changed +- SaveManager now uses json files in a FungusSaves sub directory for all platforms but webplayer & webgl which still use playerprefs +- GetCommandInfo returns the highest priority CommandInfo to better support multiple names while maintaining what is shown in the inspector +- Allow multiple CommandInfos to be added to a class SpawnObject can now also be found under GameObject/Instantiate +- Changed Fungus icon loading to use FungusEditorResources +## Fixed +- Fixed typo in BlockEditor.BlockField() #633 +- Fixed custom editor for ElseIf command #630 +- Fixed Prefab Variable Dereferencing #618 +- Fixed typo in Set Interactable description #647 +- Fixed choice dialogues were not set to stay during the MenuDialogue #640 +- Fixed camera fading and panning at the same time (thanks to iBicha!) #624 +- Fixed warnings on Unity 2017.2 v3.6.0 {#v3_6_0} ====== diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index f0ddd1d1..7d5c70d0 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -3,9 +3,10 @@ --- !u!129 &1 PlayerSettings: m_ObjectHideFlags: 0 - serializedVersion: 11 + serializedVersion: 14 productGUID: 47d9f350ed27d4ecaa6699f3ebe641c8 AndroidProfiler: 0 + AndroidFilterTouchesWhenObscured: 0 defaultScreenOrientation: 2 targetDevice: 2 useOnDemandResources: 0 @@ -14,7 +15,7 @@ PlayerSettings: productName: Sherlock defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} - m_SplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21176471, a: 1} + m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} m_ShowUnitySplashScreen: 1 m_ShowUnitySplashLogo: 1 m_SplashScreenOverlayOpacity: 1 @@ -38,8 +39,6 @@ PlayerSettings: width: 1 height: 1 m_SplashScreenLogos: [] - m_SplashScreenBackgroundLandscape: {fileID: 0} - m_SplashScreenBackgroundPortrait: {fileID: 0} m_VirtualRealitySplashScreen: {fileID: 0} m_HolographicTrackingLossScreen: {fileID: 0} defaultScreenWidth: 2000 @@ -49,7 +48,6 @@ PlayerSettings: m_StereoRenderingPath: 0 m_ActiveColorSpace: 0 m_MTRendering: 1 - m_MobileMTRendering: 0 m_StackTraceTypes: 010000000100000001000000010000000100000001000000 iosShowActivityIndicatorOnLoading: -1 androidShowActivityIndicatorOnLoading: -1 @@ -63,19 +61,26 @@ PlayerSettings: allowedAutorotateToLandscapeLeft: 1 useOSAutorotation: 1 use32BitDisplayBuffer: 1 + preserveFramebufferAlpha: 0 disableDepthAndStencilBuffers: 0 + androidBlitType: 0 defaultIsFullScreen: 0 defaultIsNativeResolution: 1 - runInBackground: 0 + macRetinaSupport: 1 + runInBackground: 1 captureSingleScreen: 0 muteOtherAudioSources: 0 Prepare IOS For Recording: 0 + Force IOS Speakers When Recording: 0 + deferSystemGesturesMode: 0 + hideHomeButton: 0 submitAnalytics: 1 usePlayerLog: 1 bakeCollisionMeshes: 0 forceSingleInstance: 0 resizableWindow: 0 useMacAppStoreValidation: 0 + macAppStoreCategory: public.app-category.games gpuSkinning: 0 graphicsJobs: 0 xboxPIXTextureCapture: 0 @@ -87,19 +92,22 @@ PlayerSettings: allowFullscreenSwitch: 1 graphicsJobMode: 0 macFullscreenMode: 2 - d3d9FullscreenMode: 1 d3d11FullscreenMode: 1 xboxSpeechDB: 0 xboxEnableHeadOrientation: 0 xboxEnableGuest: 0 xboxEnablePIXSampling: 0 + metalFramebufferOnly: 0 n3dsDisableStereoscopicView: 0 n3dsEnableSharedListOpt: 1 n3dsEnableVSync: 0 - ignoreAlphaClear: 0 xboxOneResolution: 0 + xboxOneSResolution: 0 + xboxOneXResolution: 3 xboxOneMonoLoggingLevel: 0 xboxOneLoggingLevel: 1 + xboxOneDisableEsram: 0 + xboxOnePresentImmediateThreshold: 0 videoMemoryForVertexBuffers: 0 psp2PowerMode: 0 psp2AcquireBGM: 1 @@ -121,6 +129,7 @@ PlayerSettings: bundleVersion: 1.0 preloadedAssets: [] metroInputSource: 0 + wsaTransparentSwapchain: 0 m_HolographicPauseOnTrackingLoss: 1 xboxOneDisableKinectGpuReservation: 0 xboxOneEnable7thCore: 0 @@ -131,10 +140,23 @@ PlayerSettings: daydream: depthFormat: 0 useSustainedPerformanceMode: 0 + enableVideoLayer: 0 + useProtectedVideoMemory: 0 + minimumSupportedHeadTracking: 0 + maximumSupportedHeadTracking: 1 hololens: depthFormat: 1 + depthBufferSharingEnabled: 0 + oculus: + sharedDepthBuffer: 0 + dashSupport: 0 protectGraphicsMemory: 0 useHDRDisplay: 0 + m_ColorGamuts: 00000000 + targetPixelDensity: 30 + resolutionScalingMode: 0 + androidSupportedAspectRatio: 1 + androidMaxAspectRatio: 2.1 applicationIdentifier: Android: com.fungus.sherlock Standalone: unity.Fungus.Sherlock @@ -161,7 +183,7 @@ PlayerSettings: serializedVersion: 2 m_Bits: 238 iPhoneSdkVersion: 988 - iOSTargetOSVersionString: 6.0 + iOSTargetOSVersionString: 7.0 tvOSSdkVersion: 0 tvOSRequireExtendedGameController: 0 tvOSTargetOSVersionString: 9.0 @@ -177,15 +199,21 @@ PlayerSettings: iPhone47inSplashScreen: {fileID: 0} iPhone55inPortraitSplashScreen: {fileID: 0} iPhone55inLandscapeSplashScreen: {fileID: 0} + iPhone58inPortraitSplashScreen: {fileID: 0} + iPhone58inLandscapeSplashScreen: {fileID: 0} iPadPortraitSplashScreen: {fileID: 0} iPadHighResPortraitSplashScreen: {fileID: 0} iPadLandscapeSplashScreen: {fileID: 0} iPadHighResLandscapeSplashScreen: {fileID: 0} appleTVSplashScreen: {fileID: 0} + appleTVSplashScreen2x: {fileID: 0} tvOSSmallIconLayers: [] + tvOSSmallIconLayers2x: [] tvOSLargeIconLayers: [] tvOSTopShelfImageLayers: [] + tvOSTopShelfImageLayers2x: [] tvOSTopShelfImageWideLayers: [] + tvOSTopShelfImageWideLayers2x: [] iOSLaunchScreenType: 0 iOSLaunchScreenPortrait: {fileID: 0} iOSLaunchScreenLandscape: {fileID: 0} @@ -203,16 +231,20 @@ PlayerSettings: iOSLaunchScreeniPadFillPct: 100 iOSLaunchScreeniPadSize: 100 iOSLaunchScreeniPadCustomXibPath: + iOSUseLaunchScreenStoryboard: 0 + iOSLaunchScreenCustomStoryboardPath: iOSDeviceRequirements: [] iOSURLSchemes: [] iOSBackgroundModes: 0 iOSMetalForceHardShadows: 0 metalEditorSupport: 0 metalAPIValidation: 1 + iOSRenderExtraFrameOnPause: 1 appleDeveloperTeamID: iOSManualSigningProvisioningProfileID: tvOSManualSigningProvisioningProfileID: appleEnableAutomaticSigning: 0 + clonedFromGUID: 00000000000000000000000000000000 AndroidTargetDevice: 0 AndroidSplashScreenScale: 0 androidSplashScreen: {fileID: 0} @@ -220,7 +252,9 @@ PlayerSettings: AndroidKeyaliasName: AndroidTVCompatibility: 1 AndroidIsGame: 1 + AndroidEnableTango: 0 androidEnableBanner: 1 + androidUseLowAccuracyLocation: 0 m_AndroidBanners: - width: 320 height: 180 @@ -234,6 +268,7 @@ PlayerSettings: m_Icon: {fileID: 2800000, guid: 6dce816d2c9914696b4c538a8cfb2726, type: 3} m_Width: 0 m_Height: 0 + m_Kind: 0 m_BuildTargetBatching: - m_BuildTarget: Android m_StaticBatching: 1 @@ -294,10 +329,20 @@ PlayerSettings: - m_BuildTarget: tvOS m_Enabled: 0 m_Devices: [] + m_BuildTargetEnableVuforiaSettings: [] openGLRequireES31: 0 openGLRequireES31AEP: 0 - webPlayerTemplate: APPLICATION:Default m_TemplateCustomTags: {} + mobileMTRendering: + iPhone: 1 + tvOS: 1 + m_BuildTargetGroupLightmapEncodingQuality: + - m_BuildTarget: Standalone + m_EncodingQuality: 1 + - m_BuildTarget: XboxOne + m_EncodingQuality: 1 + - m_BuildTarget: PS4 + m_EncodingQuality: 1 wiiUTitleID: 0005000011000000 wiiUGroupID: 00010000 wiiUCommonSaveSize: 4096 @@ -316,6 +361,7 @@ PlayerSettings: wiiUGamePadStartupScreen: {fileID: 0} wiiUDrcBufferDisabled: 0 wiiUProfilerLibPath: + playModeTestRunnerEnabled: 0 actionOnDotNetUnhandledException: 1 enableInternalProfiler: 0 logObjCUncaughtExceptions: 1 @@ -327,6 +373,7 @@ PlayerSettings: switchSocketMemoryPoolSize: 6144 switchSocketAllocatorPoolSize: 128 switchSocketConcurrencyLimit: 14 + switchScreenResolutionBehavior: 2 switchUseCPUProfiler: 0 switchApplicationID: 0x0005000C10000001 switchNSODependencies: @@ -405,7 +452,7 @@ PlayerSettings: switchApplicationErrorCodeCategory: switchUserAccountSaveDataSize: 0 switchUserAccountSaveDataJournalSize: 0 - switchAttribute: 0 + switchApplicationAttribute: 0 switchCardSpecSize: 4 switchCardSpecClock: 25 switchRatingsMask: 0 @@ -431,7 +478,21 @@ PlayerSettings: switchLocalCommunicationIds_7: switchParentalControl: 0 switchAllowsScreenshot: 1 + switchAllowsVideoCapturing: 1 + switchAllowsRuntimeAddOnContentInstall: 0 switchDataLossConfirmation: 0 + switchSupportedNpadStyles: 3 + switchSocketConfigEnabled: 0 + switchTcpInitialSendBufferSize: 32 + switchTcpInitialReceiveBufferSize: 64 + switchTcpAutoSendBufferSizeMax: 256 + switchTcpAutoReceiveBufferSizeMax: 256 + switchUdpSendBufferSize: 9 + switchUdpReceiveBufferSize: 42 + switchSocketBufferEfficiency: 4 + switchSocketInitializeEnabled: 1 + switchNetworkInterfaceManagerInitializeEnabled: 1 + switchPlayerConnectionEnabled: 1 ps4NPAgeRating: 12 ps4NPTitleSecret: ps4NPTrophyPackPath: @@ -450,6 +511,8 @@ PlayerSettings: ps4PronunciationSIGPath: ps4BackgroundImagePath: ps4StartupImagePath: + ps4StartupImagesFolder: + ps4IconImagesFolder: ps4SaveDataImagePath: ps4SdkOverride: ps4BGMPath: @@ -469,7 +532,6 @@ PlayerSettings: ps4GarlicHeapSize: 2048 ps4ProGarlicHeapSize: 2560 ps4Passcode: 5PN2qmWqBlQ9wQj99nsQzldVI5ZuGXbE - ps4UseDebugIl2cppLibs: 0 ps4pnSessions: 1 ps4pnPresence: 1 ps4pnFriends: 1 @@ -544,7 +606,7 @@ PlayerSettings: psp2UseLibLocation: 0 psp2InfoBarOnStartup: 0 psp2InfoBarColor: 0 - psp2UseDebugIl2cppLibs: 0 + psp2ScriptOptimizationLevel: 0 psmSplashimage: {fileID: 0} splashScreenBackgroundSourceLandscape: {fileID: 0} splashScreenBackgroundSourcePortrait: {fileID: 0} @@ -573,6 +635,7 @@ PlayerSettings: incrementalIl2cppBuild: iOS: 0 additionalIl2CppArgs: + scriptingRuntimeVersion: 0 apiCompatibilityLevelPerPlatform: {} m_RenderingPath: 1 m_MobileRenderingPath: 1 @@ -608,7 +671,7 @@ PlayerSettings: tizenMicrophonePermissions: 0 tizenDeploymentTarget: tizenDeploymentTargetType: -1 - tizenMinOSVersion: 0 + tizenMinOSVersion: 1 n3dsUseExtSaveData: 0 n3dsCompressStaticMem: 1 n3dsExtSaveDataNumber: 0x12345 @@ -620,12 +683,6 @@ PlayerSettings: n3dsTitle: GameName n3dsProductCode: n3dsApplicationId: 0xFF3FF - stvDeviceAddress: - stvProductDescription: - stvProductAuthor: - stvProductAuthorEmail: - stvProductLink: - stvProductCategory: 0 XboxOneProductId: XboxOneUpdateKey: XboxOneSandboxId: @@ -648,6 +705,7 @@ PlayerSettings: XboxOneSplashScreen: {fileID: 0} XboxOneAllowedProductIds: [] XboxOnePersistentLocalStorageSize: 0 + XboxOneXTitleMemory: 8 xboxOneScriptCompiler: 0 vrEditorSettings: daydream: @@ -669,4 +727,5 @@ PlayerSettings: projectName: organizationId: cloudEnabled: 0 - enableNewInputSystem: 0 + enableNativePlatformBackendsForNewInputSystem: 0 + disableOldInputManagerSupport: 0