This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Uno; | |
using Uno.Graphics; | |
using Uno.UX; | |
using Fuse.Drawing.Primitives; | |
using Fuse.Elements; | |
namespace Fuse.Effects | |
{ | |
public sealed class Glass : BasicEffect | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Uno; | |
namespace Fuse.Animations | |
{ | |
public abstract class Tween | |
{ | |
public static double Time | |
{ | |
get { return Uno.Time.FrameTime; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Theme ux:Class="Fuse.BasicTheme.BasicTheme" xmlns:b="Fuse.BasicTheme" ux:AutoCtor="false"> | |
<Font ux:Global="RobotoCondensedBold" File="Fonts/RobotoCondensed-Bold.ttf" /> | |
<Font ux:Global="RobotoCondensedBoldItalic" File="Fonts/RobotoCondensed-BoldItalic.ttf" /> | |
<Font ux:Global="RobotoCondensedItalic" File="Fonts/RobotoCondensed-Italic.ttf" /> | |
<Font ux:Global="RobotoCondensedLight" File="Fonts/RobotoCondensed-Light.ttf" /> | |
<Font ux:Global="RobotoCondensedLightItalic" File="Fonts/RobotoCondensed-LightItalic.ttf" /> | |
<Font ux:Global="RobotoCondensedRegular" File="Fonts/RobotoCondensed-Regular.ttf" /> | |
<Font ux:Global="RobotoItalic" File="Fonts/Roboto-Italic.ttf" /> | |
<Font ux:Global="RobotoLight" File="Fonts/Roboto-Light.ttf" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<App Theme="Basic" ux:Class="MyApp"> | |
<Panel> | |
<Image Width="100" Height="100" Alignment="Center" ux:Name="TheArrow" File="arrow.png"> | |
<Translation ux:Name="RawTranslation"/> | |
<Rotation ux:Name="RawRotation"/> | |
<PhysicsProperty Target="RawRotation.Degrees" ux:Name="TheRotation"/> | |
<PhysicsProperty Target="RawTranslation.Vector" ux:Name="TheTranslation"/> | |
</Image> | |
<StateGroup ux:Name="SG" Transition="Exclusive"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<App Theme="Basic" ux:Class="MyApp"> | |
<Panel> | |
<Image Width="100" Height="100" Alignment="Center" ux:Name="TheArrow" File="arrow.png"/> | |
<StateGroup ux:Name="SG" Transition="Exclusive"> | |
<State ux:Name="StateRest"> | |
<Spin Target="TheArrow" Hertz="0.3"/> | |
</State> | |
<State ux:Name="StateRight"> | |
<Move Target="TheArrow" X="200" Duration="1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Scene xmlns:ux="http://schemas.outracks.com/ux" ux:ClassName="Scene1" ux:Member="InternalField" xmlns="Uno.Scenes, Uno.Styling, Uno.UI, Uno"> | |
<Entity ux:Binding="Camera" ux:Member="InternalField" ux:Name="GameCamera"> | |
<Transform ux:Member="InternalField" ux:Name="Camera1Transform" Position="173.7054, -244.6145, 152.0816" RotationDegrees="49.13466, 55.48187, 60.62371" Scaling="1, 1, 1" /> | |
<Frustum ux:Member="InternalField" ux:Name="Camera1Camera" FovDegrees="60" Aspect="1.605791" ZNear="10" ZFar="7000" /> | |
<MobileRobots.CameraController ux:Name="CameraController1" RoofLocation="50, -141, 357" RoofRotation="33, 9, 13"> | |
<ux:NodeBinding Destination="Target" SourceNode="SmallRobotEntity" /> | |
</MobileRobots.CameraController> | |
<Box ux:Name="GameCameraBox1"> | |
<DefaultMaterials.ColoredMaterial ux:Name="ColoredMaterial11" /> | |
</Box> |