Compare commits
No commits in common. "develop" and "fix" have entirely different histories.
2
.gitignore
vendored
@ -241,5 +241,3 @@ ModelManifest.xml
|
||||
# FAKE - F# Make
|
||||
.fake/
|
||||
rv.keystore
|
||||
|
||||
*.bak
|
||||
|
9
.gitmodules
vendored
@ -1,9 +0,0 @@
|
||||
[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
|
25
AccelerometerAndroidImpl.cs
Normal file
@ -0,0 +1,25 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
23
AccelerometerDummyImpl.cs
Normal file
@ -0,0 +1,23 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
23
AccelerometerEventArgs.cs
Normal file
@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
13
AccelerometerFactory.cs
Normal file
@ -0,0 +1,13 @@
|
||||
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(); }
|
||||
}
|
||||
}
|
12
AccelerometerFailedException.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WindowsPhoneSpeedyBlupi
|
||||
{
|
||||
public class AccelerometerFailedException : Exception
|
||||
{
|
||||
}
|
||||
}
|
@ -3,8 +3,6 @@ using Android.Content.PM;
|
||||
using Android.OS;
|
||||
using Android.Views;
|
||||
using Microsoft.Xna.Framework;
|
||||
using WindowsPhoneSpeedyBlupi;
|
||||
using static WindowsPhoneSpeedyBlupi.Xna;
|
||||
|
||||
namespace WindowsPhoneSpeedyBlupi
|
||||
{
|
||||
@ -26,7 +24,6 @@ namespace WindowsPhoneSpeedyBlupi
|
||||
{
|
||||
base.OnCreate(bundle);
|
||||
|
||||
Env.init(XnaImpl.MonoGame, Platform.Android);
|
||||
_game = new Game1();
|
||||
_view = _game.Services.GetService(typeof(View)) as View;
|
||||
|
||||
|
1
Content
@ -1 +0,0 @@
|
||||
Subproject commit 01b2a1ae753bfb773f60c24519d1a496f242bb62
|
1137
Content/Content.mgcb
Normal file
BIN
Content/backgrounds/blupiyoupie.png
Normal file
After Width: | Height: | Size: 106 KiB |
BIN
Content/backgrounds/decor000.png
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
Content/backgrounds/decor001.png
Normal file
After Width: | Height: | Size: 478 KiB |
BIN
Content/backgrounds/decor002.png
Normal file
After Width: | Height: | Size: 691 KiB |
BIN
Content/backgrounds/decor003.png
Normal file
After Width: | Height: | Size: 401 KiB |
BIN
Content/backgrounds/decor004.png
Normal file
After Width: | Height: | Size: 373 KiB |
BIN
Content/backgrounds/decor006.png
Normal file
After Width: | Height: | Size: 638 KiB |
BIN
Content/backgrounds/decor007.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
Content/backgrounds/decor008.png
Normal file
After Width: | Height: | Size: 470 KiB |
BIN
Content/backgrounds/decor009.png
Normal file
After Width: | Height: | Size: 219 KiB |
BIN
Content/backgrounds/decor010.png
Normal file
After Width: | Height: | Size: 479 KiB |
BIN
Content/backgrounds/decor011.png
Normal file
After Width: | Height: | Size: 126 KiB |
BIN
Content/backgrounds/decor012.png
Normal file
After Width: | Height: | Size: 180 KiB |
BIN
Content/backgrounds/decor013.png
Normal file
After Width: | Height: | Size: 245 KiB |
BIN
Content/backgrounds/decor015.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
Content/backgrounds/decor016.png
Normal file
After Width: | Height: | Size: 329 KiB |
BIN
Content/backgrounds/decor018.png
Normal file
After Width: | Height: | Size: 565 KiB |
BIN
Content/backgrounds/decor019.png
Normal file
After Width: | Height: | Size: 702 KiB |
BIN
Content/backgrounds/decor020.png
Normal file
After Width: | Height: | Size: 393 KiB |
BIN
Content/backgrounds/decor021.png
Normal file
After Width: | Height: | Size: 670 KiB |
BIN
Content/backgrounds/decor022.png
Normal file
After Width: | Height: | Size: 223 KiB |
BIN
Content/backgrounds/decor024.png
Normal file
After Width: | Height: | Size: 824 KiB |
BIN
Content/backgrounds/decor025.png
Normal file
After Width: | Height: | Size: 294 KiB |
BIN
Content/backgrounds/decor026.png
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
Content/backgrounds/decor027.png
Normal file
After Width: | Height: | Size: 412 KiB |
BIN
Content/backgrounds/decor028.png
Normal file
After Width: | Height: | Size: 724 KiB |
BIN
Content/backgrounds/decor029.png
Normal file
After Width: | Height: | Size: 197 KiB |
BIN
Content/backgrounds/decor030.png
Normal file
After Width: | Height: | Size: 380 KiB |
BIN
Content/backgrounds/decor031.png
Normal file
After Width: | Height: | Size: 198 KiB |
BIN
Content/backgrounds/gear.png
Normal file
After Width: | Height: | Size: 8.4 KiB |
BIN
Content/backgrounds/init.png
Normal file
After Width: | Height: | Size: 282 KiB |
BIN
Content/backgrounds/lost.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
Content/backgrounds/pause.png
Normal file
After Width: | Height: | Size: 284 KiB |
BIN
Content/backgrounds/setup.png
Normal file
After Width: | Height: | Size: 194 KiB |
BIN
Content/backgrounds/speedyblupi.png
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
Content/backgrounds/trial.png
Normal file
After Width: | Height: | Size: 344 KiB |
BIN
Content/backgrounds/wait.png
Normal file
After Width: | Height: | Size: 333 KiB |
BIN
Content/backgrounds/win.png
Normal file
After Width: | Height: | Size: 286 KiB |
BIN
Content/icons/blupi.png
Normal file
After Width: | Height: | Size: 814 KiB |
BIN
Content/icons/blupi1.png
Normal file
After Width: | Height: | Size: 852 KiB |
BIN
Content/icons/button.png
Normal file
After Width: | Height: | Size: 127 KiB |
BIN
Content/icons/element.png
Normal file
After Width: | Height: | Size: 535 KiB |
BIN
Content/icons/explo.png
Normal file
After Width: | Height: | Size: 909 KiB |
BIN
Content/icons/jauge.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
Content/icons/object-m.png
Normal file
After Width: | Height: | Size: 1.2 MiB |
BIN
Content/icons/pad.png
Normal file
After Width: | Height: | Size: 135 KiB |
BIN
Content/icons/text.png
Normal file
After Width: | Height: | Size: 27 KiB |