This file contains hidden or 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
| [gd_scene load_steps=4 format=1] | |
| [ext_resource path="res://bubble_shader.tres" type="Shader" id=1] | |
| [ext_resource path="res://bubble.png" type="Texture" id=2] | |
| [sub_resource type="CanvasItemMaterial" id=1] | |
| shader/shader = ExtResource( 1 ) | |
| shader/shading_mode = 0 |
This file contains hidden or 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
| extends Control | |
| # Member variables | |
| const MAX_BUBBLES = 10 | |
| func _ready(): | |
| for i in range(MAX_BUBBLES): | |
| var bubble = preload("res://lens.tscn").instance() |
NewerOlder