Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
b5e1ec1f88 | |||
2ead30e8cc | |||
7af8e29bc9 | |||
a954d8e433 | |||
25390c454a | |||
989c6c591d | |||
5e2a755115 | |||
f7a03df92b | |||
a37f4b3d08 | |||
6c430d6c96 | |||
1b895dc4f2 | |||
7acaf8ebe9 | |||
76115df37d |
2
.gitignore
vendored
@ -241,3 +241,5 @@ ModelManifest.xml
|
|||||||
# FAKE - F# Make
|
# FAKE - F# Make
|
||||||
.fake/
|
.fake/
|
||||||
rv.keystore
|
rv.keystore
|
||||||
|
|
||||||
|
*.bak
|
||||||
|
9
.gitmodules
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[submodule "WindowsPhoneSpeedyBlupi"]
|
||||||
|
path = WindowsPhoneSpeedyBlupi
|
||||||
|
url = https://code.openeggbert.com/openeggbert/mobile-eggbert-core
|
||||||
|
[submodule "Content"]
|
||||||
|
path = Content
|
||||||
|
url = https://code.openeggbert.com/openeggbert/speedy-blupi-dadagames-content
|
||||||
|
[submodule "worlds"]
|
||||||
|
path = worlds
|
||||||
|
url = https://code.openeggbert.com/openeggbert/speedy-blupi-dadagames-worlds
|
@ -1,25 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Microsoft.Devices.Sensors;
|
|
||||||
|
|
||||||
namespace WindowsPhoneSpeedyBlupi
|
|
||||||
{
|
|
||||||
public class AccelerometerAndroidImpl : IAccelerometer
|
|
||||||
{
|
|
||||||
public event EventHandler<AccelerometerEventArgs> CurrentValueChanged;
|
|
||||||
|
|
||||||
private Accelerometer accelerometer = new Accelerometer();
|
|
||||||
public void Start()
|
|
||||||
{
|
|
||||||
accelerometer.Start();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Stop()
|
|
||||||
{
|
|
||||||
accelerometer.Stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace WindowsPhoneSpeedyBlupi
|
|
||||||
{
|
|
||||||
public class AccelerometerDummyImpl : IAccelerometer
|
|
||||||
{
|
|
||||||
public event EventHandler<AccelerometerEventArgs> CurrentValueChanged;
|
|
||||||
|
|
||||||
public void Start()
|
|
||||||
{
|
|
||||||
//throw new AccelerometerFailedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Stop()
|
|
||||||
{
|
|
||||||
//throw new AccelerometerFailedException();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace WindowsPhoneSpeedyBlupi
|
|
||||||
{
|
|
||||||
public class AccelerometerEventArgs : EventArgs
|
|
||||||
{
|
|
||||||
|
|
||||||
public float X { get; }
|
|
||||||
public float Y { get; }
|
|
||||||
public float Z { get; }
|
|
||||||
|
|
||||||
public AccelerometerEventArgs(float x, float y, float z)
|
|
||||||
{
|
|
||||||
X = x;
|
|
||||||
Y = y;
|
|
||||||
Z = z;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace WindowsPhoneSpeedyBlupi
|
|
||||||
{
|
|
||||||
public class AccelerometerFactory
|
|
||||||
{
|
|
||||||
public static IAccelerometer Create() { return new AccelerometerDummyImpl(); }
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,12 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace WindowsPhoneSpeedyBlupi
|
|
||||||
{
|
|
||||||
public class AccelerometerFailedException : Exception
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
|
@ -3,6 +3,8 @@ using Android.Content.PM;
|
|||||||
using Android.OS;
|
using Android.OS;
|
||||||
using Android.Views;
|
using Android.Views;
|
||||||
using Microsoft.Xna.Framework;
|
using Microsoft.Xna.Framework;
|
||||||
|
using WindowsPhoneSpeedyBlupi;
|
||||||
|
using static WindowsPhoneSpeedyBlupi.Xna;
|
||||||
|
|
||||||
namespace WindowsPhoneSpeedyBlupi
|
namespace WindowsPhoneSpeedyBlupi
|
||||||
{
|
{
|
||||||
@ -24,6 +26,7 @@ namespace WindowsPhoneSpeedyBlupi
|
|||||||
{
|
{
|
||||||
base.OnCreate(bundle);
|
base.OnCreate(bundle);
|
||||||
|
|
||||||
|
Env.init(XnaImpl.MonoGame, Platform.Android);
|
||||||
_game = new Game1();
|
_game = new Game1();
|
||||||
_view = _game.Services.GetService(typeof(View)) as View;
|
_view = _game.Services.GetService(typeof(View)) as View;
|
||||||
|
|
||||||
|
1
Content
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 01b2a1ae753bfb773f60c24519d1a496f242bb62
|
1137
Content/Content.mgcb
Before Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 478 KiB |
Before Width: | Height: | Size: 691 KiB |
Before Width: | Height: | Size: 401 KiB |
Before Width: | Height: | Size: 373 KiB |
Before Width: | Height: | Size: 638 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 470 KiB |
Before Width: | Height: | Size: 219 KiB |
Before Width: | Height: | Size: 479 KiB |
Before Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 180 KiB |
Before Width: | Height: | Size: 245 KiB |
Before Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 329 KiB |
Before Width: | Height: | Size: 565 KiB |
Before Width: | Height: | Size: 702 KiB |
Before Width: | Height: | Size: 393 KiB |
Before Width: | Height: | Size: 670 KiB |
Before Width: | Height: | Size: 223 KiB |
Before Width: | Height: | Size: 824 KiB |
Before Width: | Height: | Size: 294 KiB |
Before Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 412 KiB |
Before Width: | Height: | Size: 724 KiB |
Before Width: | Height: | Size: 197 KiB |
Before Width: | Height: | Size: 380 KiB |
Before Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 284 KiB |
Before Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 344 KiB |
Before Width: | Height: | Size: 333 KiB |
Before Width: | Height: | Size: 286 KiB |
Before Width: | Height: | Size: 814 KiB |
Before Width: | Height: | Size: 852 KiB |
Before Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 535 KiB |
Before Width: | Height: | Size: 909 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 135 KiB |
Before Width: | Height: | Size: 27 KiB |