mirror of
https://github.com/godotengine/godot-docs-project-starters.git
synced 2025-12-31 01:48:29 +03:00
Add a Godot 4.x starter project for Squash The Creeps 3D
The docs currently referencing downloading an asset pack wrapped in a 3.x project. That is now part of an archived repository. The demo project was migrated as a 4.x project to, but it is the finished project instead of the assets and a minimum project like the getting started tutorial asks for. The files added were copied from the current 4.x finished demo project. I followed the entire 3d tutorial, and I am making a PR to the docs repository to update a links to this starter projects and a few changes based on 4.x updates. I will link the two PRs as a reference. Current Docs: * https://docs.godotengine.org/en/stable/getting_started/first_3d_game/index.html Old starter repository: https://github.com/godotengine/godot-3d-dodge-the-creeps Current demo project: https://github.com/godotengine/godot-demo-projects/tree/master/3d/squash_the_creeps
This commit is contained in:
2
src/3d_squash_the_creeps_starter/.gitignore
vendored
Normal file
2
src/3d_squash_the_creeps_starter/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.import
|
||||
logs/
|
||||
BIN
src/3d_squash_the_creeps_starter/art/House In a Forest Loop.ogg
Normal file
BIN
src/3d_squash_the_creeps_starter/art/House In a Forest Loop.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://c5qpnfga41t4p"
|
||||
path="res://.godot/imported/House In a Forest Loop.ogg-1a6a72ae843ad792b7039931227e8d50.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/House In a Forest Loop.ogg"
|
||||
dest_files=["res://.godot/imported/House In a Forest Loop.ogg-1a6a72ae843ad792b7039931227e8d50.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
12
src/3d_squash_the_creeps_starter/art/body.tres
Normal file
12
src/3d_squash_the_creeps_starter/art/body.tres
Normal file
@@ -0,0 +1,12 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "body"
|
||||
params_cull_mode = 2
|
||||
albedo_color = Color( 0.906332, 0.353653, 0, 1 )
|
||||
roughness = 0.5
|
||||
emission_enabled = true
|
||||
emission = Color( 0, 0, 0, 1 )
|
||||
emission_energy = 1.0
|
||||
emission_operator = 0
|
||||
emission_on_uv2 = false
|
||||
14
src/3d_squash_the_creeps_starter/art/eye.tres
Normal file
14
src/3d_squash_the_creeps_starter/art/eye.tres
Normal file
@@ -0,0 +1,14 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "eye"
|
||||
params_cull_mode = 2
|
||||
albedo_color = Color( 0.858824, 0.858824, 0.858824, 1 )
|
||||
metallic = 0.05
|
||||
metallic_specular = 1.0
|
||||
roughness = 0.1
|
||||
emission_enabled = true
|
||||
emission = Color( 0.254902, 0.254902, 0.27451, 1 )
|
||||
emission_energy = 1.0
|
||||
emission_operator = 0
|
||||
emission_on_uv2 = false
|
||||
BIN
src/3d_squash_the_creeps_starter/art/mob.blend
Normal file
BIN
src/3d_squash_the_creeps_starter/art/mob.blend
Normal file
Binary file not shown.
BIN
src/3d_squash_the_creeps_starter/art/mob.glb
Normal file
BIN
src/3d_squash_the_creeps_starter/art/mob.glb
Normal file
Binary file not shown.
34
src/3d_squash_the_creeps_starter/art/mob.glb.import
Normal file
34
src/3d_squash_the_creeps_starter/art/mob.glb.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bicorb7we351t"
|
||||
path="res://.godot/imported/mob.glb-3afb43c03b9d1598b6af5154e2543eac.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/mob.glb"
|
||||
dest_files=["res://.godot/imported/mob.glb-3afb43c03b9d1598b6af5154e2543eac.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Spatial"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=false
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=0
|
||||
meshes/lightmap_texel_size=0.1
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=15
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
||||
7
src/3d_squash_the_creeps_starter/art/mob_body.tres
Normal file
7
src/3d_squash_the_creeps_starter/art/mob_body.tres
Normal file
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "mob_body"
|
||||
params_cull_mode = 2
|
||||
albedo_color = Color( 0.0588235, 0.266667, 0.490196, 1 )
|
||||
roughness = 0.43
|
||||
14
src/3d_squash_the_creeps_starter/art/mob_eye.tres
Normal file
14
src/3d_squash_the_creeps_starter/art/mob_eye.tres
Normal file
@@ -0,0 +1,14 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "mob_eye"
|
||||
params_cull_mode = 2
|
||||
albedo_color = Color( 0.760784, 0.113725, 0.188235, 1 )
|
||||
metallic = 0.48
|
||||
metallic_specular = 1.0
|
||||
roughness = 0.25
|
||||
emission_enabled = true
|
||||
emission = Color( 0.74902, 0.0784314, 0.0784314, 1 )
|
||||
emission_energy = 1.0
|
||||
emission_operator = 0
|
||||
emission_on_uv2 = false
|
||||
BIN
src/3d_squash_the_creeps_starter/art/player.blend
Normal file
BIN
src/3d_squash_the_creeps_starter/art/player.blend
Normal file
Binary file not shown.
BIN
src/3d_squash_the_creeps_starter/art/player.glb
Normal file
BIN
src/3d_squash_the_creeps_starter/art/player.glb
Normal file
Binary file not shown.
34
src/3d_squash_the_creeps_starter/art/player.glb.import
Normal file
34
src/3d_squash_the_creeps_starter/art/player.glb.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://d0ypm0v45pwdv"
|
||||
path="res://.godot/imported/player.glb-08dcfb373480a049995065542e37637b.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/player.glb"
|
||||
dest_files=["res://.godot/imported/player.glb-08dcfb373480a049995065542e37637b.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type="Spatial"
|
||||
nodes/root_name="Scene Root"
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=false
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=0
|
||||
meshes/lightmap_texel_size=0.1
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=15
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=0
|
||||
gltf/embedded_image_handling=1
|
||||
16
src/3d_squash_the_creeps_starter/art/pupil.tres
Normal file
16
src/3d_squash_the_creeps_starter/art/pupil.tres
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "pupil"
|
||||
params_cull_mode = 2
|
||||
albedo_color = Color( 0, 0, 0, 1 )
|
||||
metallic_specular = 1.0
|
||||
roughness = 0.3
|
||||
emission_enabled = true
|
||||
emission = Color( 0, 0, 0, 1 )
|
||||
emission_energy = 1.0
|
||||
emission_operator = 0
|
||||
emission_on_uv2 = false
|
||||
rim_enabled = true
|
||||
rim = 1.0
|
||||
rim_tint = 0.5
|
||||
43
src/3d_squash_the_creeps_starter/fonts/LICENSE.txt
Normal file
43
src/3d_squash_the_creeps_starter/fonts/LICENSE.txt
Normal file
@@ -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.
|
||||
BIN
src/3d_squash_the_creeps_starter/fonts/Montserrat-Medium.ttf
Normal file
BIN
src/3d_squash_the_creeps_starter/fonts/Montserrat-Medium.ttf
Normal file
Binary file not shown.
@@ -0,0 +1,33 @@
|
||||
[remap]
|
||||
|
||||
importer="font_data_dynamic"
|
||||
type="FontFile"
|
||||
uid="uid://cyxhh7ddkn62q"
|
||||
path="res://.godot/imported/Montserrat-Medium.ttf-e832861e4ad4110e172112dc430c04b0.fontdata"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://fonts/Montserrat-Medium.ttf"
|
||||
dest_files=["res://.godot/imported/Montserrat-Medium.ttf-e832861e4ad4110e172112dc430c04b0.fontdata"]
|
||||
|
||||
[params]
|
||||
|
||||
Rendering=null
|
||||
antialiasing=1
|
||||
generate_mipmaps=false
|
||||
multichannel_signed_distance_field=false
|
||||
msdf_pixel_range=8
|
||||
msdf_size=48
|
||||
allow_system_fallback=true
|
||||
force_autohinter=false
|
||||
hinting=1
|
||||
subpixel_positioning=1
|
||||
oversampling=0.0
|
||||
Fallbacks=null
|
||||
fallbacks=[]
|
||||
Compress=null
|
||||
compress=true
|
||||
preload=[]
|
||||
language_support={}
|
||||
script_support={}
|
||||
opentype_features={}
|
||||
BIN
src/3d_squash_the_creeps_starter/icon.webp
Normal file
BIN
src/3d_squash_the_creeps_starter/icon.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
34
src/3d_squash_the_creeps_starter/icon.webp.import
Normal file
34
src/3d_squash_the_creeps_starter/icon.webp.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://nev7b6ohgeo"
|
||||
path="res://.godot/imported/icon.webp-e94f9a68b0f625a567a797079e4d325f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.webp"
|
||||
dest_files=["res://.godot/imported/icon.webp-e94f9a68b0f625a567a797079e4d325f.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
|
||||
24
src/3d_squash_the_creeps_starter/project.godot
Normal file
24
src/3d_squash_the_creeps_starter/project.godot
Normal file
@@ -0,0 +1,24 @@
|
||||
; 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=5
|
||||
|
||||
[application]
|
||||
|
||||
config/name="Squash the Creeps (3D)"
|
||||
config/description="In this game, your goal is to chase and kick out the creeps!"
|
||||
config/features=PackedStringArray("4.2")
|
||||
config/icon="res://icon.webp"
|
||||
|
||||
[filesystem]
|
||||
|
||||
import/blender/enabled=false
|
||||
|
||||
[rendering]
|
||||
|
||||
anti_aliasing/quality/msaa_3d=2
|
||||
Reference in New Issue
Block a user