Skip to content

Commit

Permalink
Build for mac platform #777
Browse files Browse the repository at this point in the history
  • Loading branch information
timi-liuliang committed Oct 10, 2020
1 parent 9b28e6b commit 5d83813
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/mac/resources/data/README.md

This file was deleted.

45 changes: 45 additions & 0 deletions app/mac/resources/data/app.echo
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<settings>
<AIModule class="AIModule" path="" Enable="true" />
<AndroidBuildSettings class="AndroidBuildSettings" path="" AppName="app" IconBackground="Res://icon.png" IconForeground="Res://icon.png" />
<AnimModule class="AnimModule" path="" Enable="true" />
<AudioDevice class="AudioDevice" path="" />
<AudioModule class="AudioModule" path="" Enable="true" />
<Box2DModule class="Box2DModule" path="" Enable="true" FramesPerSecond="60" DebugDraw="Editor" PixelsPerMeter="32.0" Gravity="0 -9.8" />
<BuildModule class="BuildModule" path="" Enable="true" />
<CameraModule class="CameraModule" path="" Enable="true" />
<EditorCameraSettings class="EditorCameraSettings" path="" MoveSpeed="1.0" NearClip="0.2" FarClip="2500.0" />
<EditorRenderSettings class="EditorRenderSettings" path="" PolygonMode="Fill" />
<EditorSettingsModule class="EditorSettingsModule" path="" Enable="true" />
<EffectModule class="EffectModule" path="" Enable="true" />
<Engine class="Engine" path="" />
<FrameState class="FrameState" path="" />
<GameSettings class="GameSettings" path="" Background="0.298 0.298 0.322 1 " DesignWidth="480" DesignHeight="960" WindowWidth="480" WindowHeight="960" Aspect="keep in" LaunchScene="Res://scene/main.scene" />
<GeomModule class="GeomModule" path="" Enable="true" />
<GltfModule class="GltfModule" path="" Enable="true" />
<Html5BuildSettings class="Html5BuildSettings" path="" Icon="" />
<IO class="IO" path="" />
<Input class="Input" path="" />
<LightModule class="LightModule" path="" Enable="true" ImageBasedLighting="true" Brdf="" />
<Live2DModule class="Live2DModule" path="" Enable="true" />
<Localization class="Localization" path="" />
<Log class="Log" path="" />
<MacBuildSettings class="MacBuildSettings" path="" Icon="" />
<PhysxModule class="PhysxModule" path="" Enable="true" DebugDraw="Editor" />
<PhysxWorld class="PhysxWorld" path="" />
<PluginSettings class="PluginSettings" path="" SearchPath="${EchoDir}/plugins/;${ProjectDir}/plugins/;" />
<ProceduralModule class="ProceduralModule" path="" Enable="true" />
<RaytracingModule class="RaytracingModule" path="" Enable="true" />
<RaytracingWorld class="RaytracingWorld" path="" />
<SceneModule class="SceneModule" path="" Enable="true" />
<ShaderEditorModule class="ShaderEditorModule" path="" Enable="true" />
<SpineModule class="SpineModule" path="" Enable="true" />
<SplineModule class="SplineModule" path="" Enable="true" />
<UiEventProcessor class="UiEventProcessor" path="" />
<UiModule class="UiModule" path="" Enable="true" />
<VideoModule class="VideoModule" path="" Enable="true" />
<WeChatBuildSettings class="WeChatBuildSettings" path="" Icon="" />
<WebAssemblyBuildSettings class="WebAssemblyBuildSettings" path="" Icon="" />
<WindowsBuildSettings class="WindowsBuildSettings" path="" Icon="" />
<iOSBuildSettings class="iOSBuildSettings" path="" AppName="sprite" Identifier="com.echo.sprite" Version="1.0.0" Icon="Res://icon.png" HiddenStatusBar="true" Portrait="true" PortraitUpsideDown="true" LandscapeLeft="true" LandscapeRight="true" />
</settings>
Binary file added app/mac/resources/data/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/mac/resources/data/scene/main.scene
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<node class="UiImage" path="" name="UiImage" Enable="true" Position="0 0 0" Rotation="0 0 0" Scale="1 1 1" Script="" RenderType="ui" Visible="true" Alpha="1.0" Width="168" Height="168" Texture="Res://icon.png" />

0 comments on commit 5d83813

Please # to comment.