-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainPage.xaml
27 lines (26 loc) · 1.03 KB
/
MainPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Page
x:Class="uwpPlatformer.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:uwpPlatformer"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:xaml="using:Microsoft.Graphics.Canvas.UI.Xaml"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
mc:Ignorable="d">
<!-- xmlns:viewmodels="using:uwpPlatformer.ViewModels" -->
<!--<Page.DataContext>
<viewmodels:MainPageViewModel />
</Page.DataContext>-->
<Grid>
<xaml:CanvasAnimatedControl
x:Name="GameCanvas"
CreateResources="OnGameCanvasCreateResources"
Draw="OnGameCanvasDraw"
IsFixedTimeStep="True"
IsTapEnabled="True"
Tapped="OnGameCanvasTapped"
Update="OnGameCanvasUpdate" />
<!--<xaml:CanvasAnimatedControl/>-->
</Grid>
</Page>