ajout robot
This commit is contained in:
parent
c936ebc09c
commit
2058791388
14 changed files with 348 additions and 0 deletions
BIN
ressources/assets/HotBots/green.png
(Stored with Git LFS)
Normal file
BIN
ressources/assets/HotBots/green.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
ressources/assets/HotBots/green.png.import
Normal file
34
ressources/assets/HotBots/green.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://1ykh1pt5osw6"
|
||||||
|
path="res://.godot/imported/green.png-037b632b6f555d97819d975c80a3d2b5.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/assets/HotBots/green.png"
|
||||||
|
dest_files=["res://.godot/imported/green.png-037b632b6f555d97819d975c80a3d2b5.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
BIN
ressources/assets/HotBots/green_bar.png
(Stored with Git LFS)
Normal file
BIN
ressources/assets/HotBots/green_bar.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
ressources/assets/HotBots/green_bar.png.import
Normal file
34
ressources/assets/HotBots/green_bar.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://yyj0dmf438qh"
|
||||||
|
path="res://.godot/imported/green_bar.png-e02c3cfe037ecfddf1ed73e18527d0ec.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/assets/HotBots/green_bar.png"
|
||||||
|
dest_files=["res://.godot/imported/green_bar.png-e02c3cfe037ecfddf1ed73e18527d0ec.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
BIN
ressources/assets/HotBots/red_bar.png
(Stored with Git LFS)
Normal file
BIN
ressources/assets/HotBots/red_bar.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
ressources/assets/HotBots/red_bar.png.import
Normal file
34
ressources/assets/HotBots/red_bar.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ep0sdrko1t76"
|
||||||
|
path="res://.godot/imported/red_bar.png-bc294d774105912ba8c31ea7e86dd5fe.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/assets/HotBots/red_bar.png"
|
||||||
|
dest_files=["res://.godot/imported/red_bar.png-bc294d774105912ba8c31ea7e86dd5fe.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
BIN
ressources/assets/HotBots/red_ph.png
(Stored with Git LFS)
Normal file
BIN
ressources/assets/HotBots/red_ph.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
ressources/assets/HotBots/red_ph.png.import
Normal file
34
ressources/assets/HotBots/red_ph.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bj1p6t1pf51tj"
|
||||||
|
path="res://.godot/imported/red_ph.png-3882fc78f42106aed0e61c2fcfec7568.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/assets/HotBots/red_ph.png"
|
||||||
|
dest_files=["res://.godot/imported/red_ph.png-3882fc78f42106aed0e61c2fcfec7568.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
34
ressources/assets/NormalAds/PosterCrab.png.import
Normal file
34
ressources/assets/NormalAds/PosterCrab.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bj220xvakv0vg"
|
||||||
|
path="res://.godot/imported/PosterCrab.png-4f2deb7b5e96bb78ab1776966fdd4454.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/assets/NormalAds/PosterCrab.png"
|
||||||
|
dest_files=["res://.godot/imported/PosterCrab.png-4f2deb7b5e96bb78ab1776966fdd4454.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
34
ressources/assets/NormalAds/PosterCrab2.png.import
Normal file
34
ressources/assets/NormalAds/PosterCrab2.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b7n17df676wmk"
|
||||||
|
path="res://.godot/imported/PosterCrab2.png-c5792da168046de3d551bb3ca9c8ad37.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/assets/NormalAds/PosterCrab2.png"
|
||||||
|
dest_files=["res://.godot/imported/PosterCrab2.png-c5792da168046de3d551bb3ca9c8ad37.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
34
ressources/assets/NormalAds/PosterMeow.png.import
Normal file
34
ressources/assets/NormalAds/PosterMeow.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://tjo4x8n8c77w"
|
||||||
|
path="res://.godot/imported/PosterMeow.png-206e72ea44849aad9bdab0eb84a17ca2.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/assets/NormalAds/PosterMeow.png"
|
||||||
|
dest_files=["res://.godot/imported/PosterMeow.png-206e72ea44849aad9bdab0eb84a17ca2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
34
ressources/assets/NormalAds/PosterMeow2.png.import
Normal file
34
ressources/assets/NormalAds/PosterMeow2.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dgt01j5wofns"
|
||||||
|
path="res://.godot/imported/PosterMeow2.png-888588100457b13c579d8d00c4a25eea.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ressources/assets/NormalAds/PosterMeow2.png"
|
||||||
|
dest_files=["res://.godot/imported/PosterMeow2.png-888588100457b13c579d8d00c4a25eea.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
45
scenes/game/ads/Ads_sexy_robot.tscn
Normal file
45
scenes/game/ads/Ads_sexy_robot.tscn
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
[gd_scene load_steps=8 format=3 uid="uid://cyxifateppwnk"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://n06gkookqeml" path="res://scenes/game/windows/Ads.tscn" id="1_g6iem"]
|
||||||
|
[ext_resource type="Script" path="res://scripts/ads/Ads_sexy_robot.gd" id="2_17d4p"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cmtwstnuggl05" path="res://ressources/assets/HotBots/HotBotsAround.png" id="8_buqmw"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bj1p6t1pf51tj" path="res://ressources/assets/HotBots/red_ph.png" id="9_on2xk"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://1ykh1pt5osw6" path="res://ressources/assets/HotBots/green.png" id="10_txcpx"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxLine" id="StyleBoxLine_devma"]
|
||||||
|
color = Color(0, 0.545098, 0, 1)
|
||||||
|
thickness = 20
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxLine" id="StyleBoxLine_xlpfw"]
|
||||||
|
color = Color(0.823529, 0, 0, 1)
|
||||||
|
thickness = 20
|
||||||
|
|
||||||
|
[node name="Windows" instance=ExtResource("1_g6iem")]
|
||||||
|
script = ExtResource("2_17d4p")
|
||||||
|
|
||||||
|
[node name="Panel" parent="." index="0"]
|
||||||
|
offset_right = -19.0
|
||||||
|
offset_bottom = 57.0
|
||||||
|
|
||||||
|
[node name="Panel2" parent="." index="1"]
|
||||||
|
offset_right = -28.0
|
||||||
|
|
||||||
|
[node name="HotBotsAround" type="Sprite2D" parent="Panel2" index="2"]
|
||||||
|
position = Vector2(230.625, 245.5)
|
||||||
|
scale = Vector2(0.390625, 0.409375)
|
||||||
|
texture = ExtResource("8_buqmw")
|
||||||
|
|
||||||
|
[node name="HSlider" type="HSlider" parent="." index="2"]
|
||||||
|
offset_left = 56.0
|
||||||
|
offset_top = 361.0
|
||||||
|
offset_right = 432.0
|
||||||
|
offset_bottom = 439.0
|
||||||
|
theme_override_constants/center_grabber = -5
|
||||||
|
theme_override_constants/grabber_offset = 1
|
||||||
|
theme_override_icons/grabber = ExtResource("9_on2xk")
|
||||||
|
theme_override_icons/grabber_highlight = ExtResource("10_txcpx")
|
||||||
|
theme_override_icons/grabber_disabled = ExtResource("9_on2xk")
|
||||||
|
theme_override_styles/slider = SubResource("StyleBoxLine_devma")
|
||||||
|
theme_override_styles/grabber_area_highlight = SubResource("StyleBoxLine_xlpfw")
|
||||||
|
|
||||||
|
[connection signal="value_changed" from="HSlider" to="." method="_on_h_slider_value_changed"]
|
19
scripts/ads/Ads_sexy_robot.gd
Normal file
19
scripts/ads/Ads_sexy_robot.gd
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
extends "res://scripts/ads/ads_default.gd"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
pass
|
||||||
|
|
||||||
|
func exit_condition():
|
||||||
|
return condition
|
||||||
|
|
||||||
|
func _on_h_slider_value_changed(value):
|
||||||
|
print(value)
|
||||||
|
if (value > 98):
|
||||||
|
condition = true
|
||||||
|
|
Reference in a new issue