diff --git a/LCDonald/LCDonald.csproj b/LCDonald/LCDonald.csproj index 1d2be3f..c5ddc6d 100644 --- a/LCDonald/LCDonald.csproj +++ b/LCDonald/LCDonald.csproj @@ -6,6 +6,8 @@ copyused true + true + true diff --git a/LCDonald/Views/MainWindow.axaml b/LCDonald/Views/MainWindow.axaml index fdf2907..a7de85e 100644 --- a/LCDonald/Views/MainWindow.axaml +++ b/LCDonald/Views/MainWindow.axaml @@ -11,7 +11,7 @@ Icon="/Assets/avalonia-logo.ico" Width="1588" Height="1080" - Title="LCDonald"> + Title="McD's Sonic Simulator 0.1 Alpha"> @@ -161,6 +161,12 @@ + + + + + + diff --git a/LCDonald/Views/MainWindow.axaml.cs b/LCDonald/Views/MainWindow.axaml.cs index 4a9c3da..950674d 100644 --- a/LCDonald/Views/MainWindow.axaml.cs +++ b/LCDonald/Views/MainWindow.axaml.cs @@ -1,6 +1,9 @@ -using Avalonia.Controls; +using Avalonia.Controls; using Avalonia.Markup.Xaml; using Avalonia; +using Avalonia.Input; +using FluentAvalonia.UI.Controls; +using System.Diagnostics; namespace LCDonald.Views { @@ -18,7 +21,28 @@ private void InitializeComponent() #if DEBUG this.AttachDevTools(); #endif + } + + private async void Open_About(object sender, PointerPressedEventArgs e) + { + // TODO slappy implementation, should go in settings later + var dialog = new ContentDialog() + { + Title = "About McD's Sonic Simulator", + Content = "A monument to the everlasting symbiotic relationship between Sonic the Hedgehog and ultracapitalist fast food joints. 🏛\n\nPowered by Avalonia and the LCDonald engine. \nFeel free to contribute to the project on GitHub!", + PrimaryButtonText = "Ok", + SecondaryButtonText = "View Source Code" + }; + + var result = await dialog.ShowAsync(); + // Open URL if secondary + if (result == ContentDialogResult.Secondary) + { + ProcessStartInfo psi = new ProcessStartInfo("https://github.com/Difegue/LCDonald"); + psi.UseShellExecute = true; + Process.Start(psi); + } } } } diff --git a/README.md b/README.md new file mode 100644 index 0000000..534fec8 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ + + +LCDonald +=========== + +Simulator engine for reproducing LCD games made by McDonald's in the 2000's. +Mostly focused on simulating the [McDonald's Sonic LCD games](http://info.sonicretro.org/McDonald%27s_Sonic_LCD_games). + +You can read more details about the technical stack [here](https://tvc-16.science/lcdonald.html). + +Feel free to look at the [issues](https://github.com/Difegue/LCDonald/issues) if you want to help on a game! + +## Features + +* SVG-based rendering for LCD elements +* Uses the well-known [MAMELayout](https://docs.mamedev.org/techspecs/layout_files.html) format for screen positioning +* [AvaloniaUI](http://avaloniaui.net/)-based frontend, runs on Windows/Mac/Linux -- Backend is pure .NET and can run on (mostly)anything! + +All scanned/photographied materials in this repository are ©️SEGA, 2004/2005/2006. \ No newline at end of file diff --git a/cover.png b/cover.png new file mode 100644 index 0000000..0042370 Binary files /dev/null and b/cover.png differ