{"repo":"sub-c/AllegroDotNet","free":true,"listed":false,"github":"https://github.com/sub-c/AllegroDotNet","clone":"git clone https://github.com/sub-c/AllegroDotNet.git","description":"A library to allow .NET Standard 2.0 or .NET 10 applications to consume the Allegro 5 game programming library. Native AoT compatible (.NET 10).","language":"C#","stars":16,"topics":["csharp","game-2d","game-development","gamedev","multimedia"],"license":"MIT","category":"game-templates","readme_excerpt":"AllegroDotNet :question: What is it? The AllegroDotNet project aims to make the Allegro 5 game programming library available in C# and feel .NET-like. Using AllegroDotNet will allow you to create game and multimedia applications in C#. :star: Requirements A native Allegro 5.2.x library binary. :boom: Quick Start (Windows) 1) Add NuGet package references to SubC.AllegroDotNet and SubC.AllegroDotNet.Win64. 2) Add the following test code to your source code: 3) Compile and run. For more example code, see the Source/Ex. projects such as Source/Ex.Camera/ . :fire: Slow Start AllegroDotNet is a wrapper for the Allegro 5 library. Care was taken to make Allegro feel like .NET, instead of a tool-generated wrapper that requires you to pass IntPtr everywhere. You must provide the native Allegro 5 library, but the NuGet package SubC.AllegroDotNet.Win64 can provide it for you if you are targeting Windows. The 'bit-ness' of your .NET application must match the version of Allegro 5: if you're targetting AnyCPU in your .NET application, and your OS is 64-bit, then you must provide the x64 library version of Allegro 5 or it won't work. Existing documentation of Allegro 5 is valid with AllegroDotNet. The static class Al contains all the Allegro 5 functions. Function names have changed, so that what was al init() in C has now become Al.Init() in C#. :floppy disk: Native Allegro 5 Library Remember to match 'bit-ness': if your .NET application is targetting AnyCPU , then it will be x86 on 32-bit ","default_branch":null,"files":null,"tree":[],"storefront":"/r/sub-c","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sub-c/AllegroDotNet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}