Skip to content

Instantly share code, notes, and snippets.

View dellis1972's full-sized avatar

Dean Ellis dellis1972

View GitHub Profile
# This script creates two kinds of isometric cameras.
#The one, TrueIsocam called camera, is the mathematical correct isometric camera with the 54.736 rotation to get the 30 degrees angles at the sides of the rhombus.
#The other, GameIsocam called camera, is a camera with which you can render isometric tiles for a 2d game. Here we need a 60 degrees angle instedad of the 54.736 one to get a proper stairs effect and a ratio of 2:1
# Then there is the special case with a 4:3 ratio, which is button 3. You can also make 2D games with that one. The view is more topdown though as with a 2:1 ratio of the traditional game iso view.
# The fourth button creates a simple groundplane where you can place your stuff at.
#You can of course set up everything by hand. This script is a convenient solution so that you don't have to setup it again and again.
# The script is under Apache license
<EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
@dellis1972
dellis1972 / extensions.json
Created March 3, 2021 10:47
VSCodeDebuggerSetup
{
"recommendations": [
"ms-vscode.csharp",
"ms-vscode.mono-debug",
"visualstudioexptteam.vscodeintellicode",
]
}
@dellis1972
dellis1972 / example.csproj
Created April 23, 2021 12:49
Manifest Overlay Example
<ItemGroup>
<AndroidManifestOverlay Include="profileableoverlay.xml" Condition=" '$(ProfileMe)' == 'True' " />
</ItemGroup>
@dellis1972
dellis1972 / OVERVIEW.TXT
Created June 7, 2021 13:32 — forked from hfutxqd/OVERVIEW.TXT
adb protocol
Implementation notes regarding ADB.
I. General Overview:
The Android Debug Bridge (ADB) is used to:
- keep track of all Android devices and emulators instances
connected to or running on a given host developer machine
- implement various control commands (e.g. "adb shell", "adb pull", etc.)
@dellis1972
dellis1972 / AssetPackContentManager.cs
Created October 4, 2021 08:02
MonoGame DownloadContentManager
using System;
using System.IO;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Xamarin.Google.Android.Play.Core.AssetPacks;
using Xamarin.Google.Android.Play.Core.AssetPacks.Model;
namespace MonoGameAndroidAds
{
@dellis1972
dellis1972 / setup.sh
Created June 27, 2024 21:56 — forked from hydrz/setup.sh
setup weston, waydroid, appium on ubuntu 20.04
#!/usr/bin/bash
set -e
apt-get update
apt-get install -y \
curl \
ca-certificates \
unzip \