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
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | |
Shader "Custom/Invert Color (sprite)" | |
{ | |
Properties | |
{ | |
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
_Color ("Tint", Color) = (1,1,1,1) | |
[MaterialToggle] PixelSnap ("Pixel snap", Float) = 0 | |
[HideInInspector] _RendererColor ("RendererColor", Color) = (1,1,1,1) |
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; | |
public class DoorOpen : MonoBehaviour { | |
public GameObject openedDoor; | |
private bool triggered=false; | |
// Use this for initialization |
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; | |
//this defines a new type, EntityType, that can have only these three values: | |
public enum EntityType | |
{ | |
Sword, | |
Lamp, | |
Hat |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
"Deutsch": { | |
"AdvanceHelp": "Um weiter durch das Spiel zu gehen, drücken Sie die Leertaste oder klicken Sie.", | |
"Audio": "Audio", | |
"AutoPlay": "Auto", | |
"AutoPlaySpeed": "Autoplay-Geschwindigkeit", | |
"Back": "Zurück", | |
"BackButton": "Zurück", |
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
"Deutsch": { | |
"AdvanceHelp": "Um weiter durch das Spiel zu gehen, drücken Sie die Leertaste oder klicken Sie.", | |
"Audio": "Audio", | |
"AutoPlay": "Auto", | |
"AutoPlaySpeed": "Autoplay-Geschwindigkeit", | |
"Back": "Zurück", | |
"BackButton": "Zurück", |
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
public static function button(x,y,text) { | |
var oldtextsize=Text.size; | |
Text.size = GUI.buttonTextSize; | |
var textcolor =PAL.buttonTextCol; | |
var color = PAL.buttonCol; | |
var colorhover = PAL.buttonHighlightCol; | |
var borderCol = PAL.buttonBorderCol; | |
var linethickness=GUI.linethickness; |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |