This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.constraint.ConstraintLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<View | |
android:id="@+id/ovalView" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// in gradle - use compile in old one | |
implementation 'com.afollestad.material-dialogs:core:0.9.6.0' | |
// Field variable | |
MaterialDialog progressDialog; | |
progressDialog = new MaterialDialog.Builder(context) | |
.title("Loading something") | |
.content("") | |
.progress(true, 0) // true for indeterminate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Canvas to Image Test</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" type="text/css" media="screen" href="main.css" /> | |
<script src="html2canvas.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************************* | |
* | |
* raylib - sample game: space invaders | |
* | |
* Based on Sample game developed by Ian Eito, Albert Martos and Ramon Santamaria | |
* Modifed by Monster Brain (monsterbraininc.com) - 2018 | |
* | |
* This game has been created using raylib v1.3 (www.raylib.com) | |
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void reshuffle(string[] texts) | |
{ | |
// Knuth shuffle algorithm :: courtesy of Wikipedia :) | |
for (int t = 0; t < texts.Length; t++ ) | |
{ | |
string tmp = texts[t]; | |
int r = Random.Range(t, texts.Length); | |
texts[t] = texts[r]; | |
texts[r] = tmp; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Events; | |
/* | |
* A Simple Canvas Fader Script (Unity 5.6) | |
* | |
* | |
* Uses : Fade out or Fade In a UI Canvas. Not for transitioning a whole Scene with elements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.codeandweb.com/texturepacker/tutorials/libgdx-physics | |
Was getting this error. Tried searching. | |
But at last found that I put the repositaries link | |
maven { url "https://dl.bintray.com/hi5dev/maven/" } | |
in the buildscript {} rather than the allprojects {} section. |