deprecate old projects & reduce CI workload
This commit is contained in:
13
projects/_deprecated/godot-squash-the-creeps-3d/.gitignore
vendored
Normal file
13
projects/_deprecated/godot-squash-the-creeps-3d/.gitignore
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Godot-specific ignores
|
||||
.import/
|
||||
export.cfg
|
||||
export_presets.cfg
|
||||
|
||||
# Imported translations (automatically generated from CSV files)
|
||||
*.translation
|
||||
|
||||
# Mono-specific ignores
|
||||
.mono/
|
||||
data_*/
|
||||
|
||||
build/
|
35
projects/_deprecated/godot-squash-the-creeps-3d/Main.tscn
Normal file
35
projects/_deprecated/godot-squash-the-creeps-3d/Main.tscn
Normal file
@@ -0,0 +1,35 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Player.tscn" type="PackedScene" id=1]
|
||||
|
||||
[sub_resource type="BoxShape" id=1]
|
||||
extents = Vector3( 30, 1, 30 )
|
||||
|
||||
[sub_resource type="CubeMesh" id=2]
|
||||
size = Vector3( 60, 2, 60 )
|
||||
|
||||
[node name="Main" type="Node"]
|
||||
|
||||
[node name="Ground" type="StaticBody" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 )
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="Ground"]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="MeshInstance" type="MeshInstance" parent="Ground"]
|
||||
mesh = SubResource( 2 )
|
||||
material/0 = null
|
||||
|
||||
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, -0.163205, 0.986592, 0, -0.986592, -0.163205, 0, 22.3151, 0 )
|
||||
shadow_enabled = true
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource( 1 )]
|
||||
|
||||
[node name="CameraPivot" type="Position3D" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 0.704176, 0.710026, 0, -0.710026, 0.704176, 0, 0, 0 )
|
||||
|
||||
[node name="Camera" type="Camera" parent="CameraPivot"]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 19.0482 )
|
||||
projection = 1
|
||||
size = 19.0
|
21
projects/_deprecated/godot-squash-the-creeps-3d/Player.tscn
Normal file
21
projects/_deprecated/godot-squash-the-creeps-3d/Player.tscn
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://art/player.glb" type="PackedScene" id=1]
|
||||
[ext_resource path="res://build/src/Player.cs" type="Script" id=2]
|
||||
|
||||
[sub_resource type="SphereShape" id=1]
|
||||
radius = 0.79911
|
||||
|
||||
[node name="Player" type="KinematicBody"]
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"haxe_script": "res://scripts/Player.hx"
|
||||
}
|
||||
|
||||
[node name="Pivot" type="Spatial" parent="."]
|
||||
|
||||
[node name="Character" parent="Pivot" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.798974, 0 )
|
||||
shape = SubResource( 1 )
|
@@ -0,0 +1,7 @@
|
||||
<Project Sdk="Godot.NET.Sdk/3.3.0">
|
||||
<PropertyGroup>
|
||||
<RootNamespace>SquashtheCreeps3D</RootNamespace>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@@ -0,0 +1,19 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Squash the Creeps (3D)", "Squash the Creeps (3D).csproj", "{3199EABE-01CA-4949-B357-288E76880466}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
ExportDebug|Any CPU = ExportDebug|Any CPU
|
||||
ExportRelease|Any CPU = ExportRelease|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3199EABE-01CA-4949-B357-288E76880466}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3199EABE-01CA-4949-B357-288E76880466}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3199EABE-01CA-4949-B357-288E76880466}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
|
||||
{3199EABE-01CA-4949-B357-288E76880466}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
|
||||
{3199EABE-01CA-4949-B357-288E76880466}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
|
||||
{3199EABE-01CA-4949-B357-288E76880466}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@@ -0,0 +1 @@
|
||||
{ "disableFormatting": true }
|
Binary file not shown.
@@ -0,0 +1,15 @@
|
||||
[remap]
|
||||
|
||||
importer="ogg_vorbis"
|
||||
type="AudioStreamOGGVorbis"
|
||||
path="res://.import/House In a Forest Loop.ogg-1a6a72ae843ad792b7039931227e8d50.oggstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/House In a Forest Loop.ogg"
|
||||
dest_files=[ "res://.import/House In a Forest Loop.ogg-1a6a72ae843ad792b7039931227e8d50.oggstr" ]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0
|
Binary file not shown.
BIN
projects/_deprecated/godot-squash-the-creeps-3d/art/eye.material
Normal file
BIN
projects/_deprecated/godot-squash-the-creeps-3d/art/eye.material
Normal file
Binary file not shown.
BIN
projects/_deprecated/godot-squash-the-creeps-3d/art/mob.glb
Normal file
BIN
projects/_deprecated/godot-squash-the-creeps-3d/art/mob.glb
Normal file
Binary file not shown.
1064
projects/_deprecated/godot-squash-the-creeps-3d/art/mob.glb.import
Normal file
1064
projects/_deprecated/godot-squash-the-creeps-3d/art/mob.glb.import
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
BIN
projects/_deprecated/godot-squash-the-creeps-3d/art/player.glb
Normal file
BIN
projects/_deprecated/godot-squash-the-creeps-3d/art/player.glb
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
10
projects/_deprecated/godot-squash-the-creeps-3d/build.hxml
Normal file
10
projects/_deprecated/godot-squash-the-creeps-3d/build.hxml
Normal file
@@ -0,0 +1,10 @@
|
||||
--cs build
|
||||
--define net-ver=50
|
||||
--define no-compilation
|
||||
--define analyzer-optimize
|
||||
--class-path scripts
|
||||
--library hxcs
|
||||
--library godot
|
||||
--library kiss
|
||||
--macro godot.Godot.buildProject()
|
||||
--dce full
|
@@ -0,0 +1,3 @@
|
||||
[gd_resource type="AudioBusLayout" format=2]
|
||||
|
||||
[resource]
|
@@ -0,0 +1,4 @@
|
||||
[gd_resource type="Environment" format=2]
|
||||
|
||||
[resource]
|
||||
ambient_light_color = Color( 0.341176, 0.341176, 0.466667, 1 )
|
@@ -0,0 +1,43 @@
|
||||
Copyright 2011 The Montserrat Project Authors (https://github.com/JulietaUla/Montserrat)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
||||
|
||||
—————————————————————————————-
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
—————————————————————————————-
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
“Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
|
||||
|
||||
“Reserved Font Name” refers to any names specified as such after the copyright statement(s).
|
||||
|
||||
“Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s).
|
||||
|
||||
“Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
|
||||
|
||||
“Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
Binary file not shown.
BIN
projects/_deprecated/godot-squash-the-creeps-3d/icon.png
Normal file
BIN
projects/_deprecated/godot-squash-the-creeps-3d/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
@@ -0,0 +1,94 @@
|
||||
; Engine configuration file.
|
||||
; It's best edited using the editor UI and not directly,
|
||||
; since the parameters that go here are not all obvious.
|
||||
;
|
||||
; Format:
|
||||
; [section] ; section goes between []
|
||||
; param=value ; assign values to parameters
|
||||
|
||||
config_version=4
|
||||
|
||||
_global_script_classes=[ {
|
||||
"base": "EditorPlugin",
|
||||
"class": "HaxePlugin",
|
||||
"language": "GDScript",
|
||||
"path": "res://addons/haxe/scripts/haxe.gd"
|
||||
}, {
|
||||
"base": "Reference",
|
||||
"class": "HaxePluginConstants",
|
||||
"language": "GDScript",
|
||||
"path": "res://addons/haxe/scripts/constants.gd"
|
||||
}, {
|
||||
"base": "EditorProperty",
|
||||
"class": "HaxePluginEditorProperty",
|
||||
"language": "GDScript",
|
||||
"path": "res://addons/haxe/scripts/editor_property.gd"
|
||||
}, {
|
||||
"base": "EditorInspectorPlugin",
|
||||
"class": "HaxePluginInspectorPlugin",
|
||||
"language": "GDScript",
|
||||
"path": "res://addons/haxe/scripts/inspector_plugin.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
"HaxePlugin": "",
|
||||
"HaxePluginConstants": "",
|
||||
"HaxePluginEditorProperty": "",
|
||||
"HaxePluginInspectorPlugin": ""
|
||||
}
|
||||
|
||||
[application]
|
||||
|
||||
config/name="Squash the Creeps (3D)"
|
||||
run/main_scene="res://Main.tscn"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[editor_plugins]
|
||||
|
||||
enabled=PoolStringArray( "res://addons/haxe/plugin.cfg" )
|
||||
|
||||
[haxe]
|
||||
|
||||
hide_native_script_field=true
|
||||
external_editor="VSCode"
|
||||
|
||||
[input]
|
||||
|
||||
move_left={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null)
|
||||
]
|
||||
}
|
||||
move_right={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null)
|
||||
]
|
||||
}
|
||||
move_forward={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null)
|
||||
]
|
||||
}
|
||||
move_backward={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null)
|
||||
]
|
||||
}
|
||||
jump={
|
||||
"deadzone": 0.5,
|
||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
|
||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
quality/filters/msaa=3
|
@@ -0,0 +1,14 @@
|
||||
package;
|
||||
|
||||
import kiss.Prelude;
|
||||
|
||||
@:build(kiss.Kiss.build())
|
||||
class Player extends KinematicBody {
|
||||
// Don't forget to rebuild the project so the editor knows about the new export variable.
|
||||
// TODO is it possible to provide the export annotation from .kiss?
|
||||
// How fast the player moves in meters per second.
|
||||
@:export public var speed = 14;
|
||||
|
||||
// The downward acceleration when in the air, in meters per second squared.
|
||||
@:export public var fallAcceleration = 75;
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
(var &mut :Spatial pivot null)
|
||||
(var &mut :Vector3 _velocity Vector3.ZERO)
|
||||
|
||||
(method &public &override :Void _Ready []
|
||||
(set pivot (cast (getNode "Pivot") Spatial)))
|
||||
|
||||
(method &public &override :Void _PhysicsProcess [:Single delta]
|
||||
(let [&mut direction Vector3.ZERO]
|
||||
(when (Input.isActionPressed "move_right")
|
||||
(+= direction.x 1))
|
||||
(when (Input.isActionPressed "move_left")
|
||||
(-= direction.x 1))
|
||||
(when (Input.isActionPressed "move_backward")
|
||||
(+= direction.z 1))
|
||||
(when (Input.isActionPressed "move_forward")
|
||||
(-= direction.z 1))
|
||||
|
||||
(when !(= direction Vector3.ZERO)
|
||||
(set direction (direction.normalized))
|
||||
// TODO for some reason, the Vector3 addition operator is only found when used in a raw haxe expr:
|
||||
(pivot.lookAt #{translation + direction;}# Vector3.UP))
|
||||
|
||||
(set _velocity.x (* direction.x speed))
|
||||
(set _velocity.z (* direction.z speed))
|
||||
(-= _velocity.y (* fallAcceleration delta))
|
||||
(set _velocity (moveAndSlide _velocity Vector3.UP))
|
||||
))
|
@@ -0,0 +1,4 @@
|
||||
import godot.*;
|
||||
import godot.GD.*;
|
||||
|
||||
// using godot.Utils;
|
2
projects/_deprecated/godot-squash-the-creeps-3d/test.sh
Normal file
2
projects/_deprecated/godot-squash-the-creeps-3d/test.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#! /bin/bash
|
||||
haxe build.hxml
|
Reference in New Issue
Block a user