mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-10 06:34:48 -04:00
Compare commits
5 commits
91dd8349c6
...
591110ed8f
Author | SHA1 | Date | |
---|---|---|---|
|
591110ed8f | ||
|
3e96038842 | ||
|
8351b85f1a | ||
|
d10dd742f8 | ||
|
8e31326609 |
47 changed files with 97 additions and 1043 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,8 +1,3 @@
|
||||||
### Audio ###
|
|
||||||
|
|
||||||
*.wav
|
|
||||||
*.ogg
|
|
||||||
|
|
||||||
# Created by https://www.gitignore.io/api/linux,godot,macos,backup,windows,dotnetcore,executable,monodevelop,visualstudiocode
|
# Created by https://www.gitignore.io/api/linux,godot,macos,backup,windows,dotnetcore,executable,monodevelop,visualstudiocode
|
||||||
# Edit at https://www.gitignore.io/?templates=linux,godot,macos,backup,windows,dotnetcore,executable,monodevelop,visualstudiocode
|
# Edit at https://www.gitignore.io/?templates=linux,godot,macos,backup,windows,dotnetcore,executable,monodevelop,visualstudiocode
|
||||||
|
|
||||||
|
|
15
README.md
15
README.md
|
@ -2,9 +2,20 @@
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Tony's Dress Up is a open source dress up game. It's a remake of my original Flash game, ZC's Dress Up, developed back in 2007. I've included the original flash games in the ``/archive`` directory that can be played at [Ruffle](https://ruffle.rs/)'s demo page.
|
Tony's Dress Up is a re-imagining of my first Flash game, ZC's Dress Up, developed back in 2007. I've included the Flash copies in the ``/archive`` directory. They can be played at [Ruffle](https://ruffle.rs/)'s demo page.
|
||||||
|
|
||||||
## License
|
## Getting Started
|
||||||
|
|
||||||
|
### Prerequisites
|
||||||
|
|
||||||
|
- Godot Engine 3.2
|
||||||
|
|
||||||
|
## Authors
|
||||||
|
|
||||||
|
- **Anthony Wilcox** - *Initial work* - [tonytins](https://github.com/tonytins)
|
||||||
|
- **Kenney** - *UI assets* - [kenny.nl](https://www.kenney.nl/)
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
The source and assets are licensed under the MPL 2.0 License and CC-BY, respectfully - see the [LICENSE](LICENSE) and [ASSET-LICENSE](ASSET-LICENSE) for more details.
|
The source and assets are licensed under the MPL 2.0 License and CC-BY, respectfully - see the [LICENSE](LICENSE) and [ASSET-LICENSE](ASSET-LICENSE) for more details.
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
Binary file not shown.
BIN
docs/favicon.png
BIN
docs/favicon.png
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
268
docs/index.html
268
docs/index.html
|
@ -1,268 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html xmlns='http://www.w3.org/1999/xhtml' lang='' xml:lang=''>
|
|
||||||
<head>
|
|
||||||
<meta charset='utf-8' />
|
|
||||||
<meta name='viewport' content='width=device-width, user-scalable=no' />
|
|
||||||
<link id='-gd-engine-icon' rel='icon' type='image/png' href='favicon.png' />
|
|
||||||
<title>Tony's Dress Up</title>
|
|
||||||
<style type='text/css'>
|
|
||||||
|
|
||||||
body {
|
|
||||||
touch-action: none;
|
|
||||||
margin: 0;
|
|
||||||
border: 0 none;
|
|
||||||
padding: 0;
|
|
||||||
text-align: center;
|
|
||||||
background-color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#canvas {
|
|
||||||
display: block;
|
|
||||||
margin: 0;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#canvas:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.godot {
|
|
||||||
font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif;
|
|
||||||
color: #e0e0e0;
|
|
||||||
background-color: #3b3943;
|
|
||||||
background-image: linear-gradient(to bottom, #403e48, #35333c);
|
|
||||||
border: 1px solid #45434e;
|
|
||||||
box-shadow: 0 0 1px 1px #2f2d35;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Status display
|
|
||||||
* ============== */
|
|
||||||
|
|
||||||
#status {
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
/* don't consume click events - make children visible explicitly */
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#status-progress {
|
|
||||||
width: 366px;
|
|
||||||
height: 7px;
|
|
||||||
background-color: #38363A;
|
|
||||||
border: 1px solid #444246;
|
|
||||||
padding: 1px;
|
|
||||||
box-shadow: 0 0 2px 1px #1B1C22;
|
|
||||||
border-radius: 2px;
|
|
||||||
visibility: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (orientation:portrait) {
|
|
||||||
#status-progress {
|
|
||||||
width: 61.8%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#status-progress-inner {
|
|
||||||
height: 100%;
|
|
||||||
width: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
transition: width 0.5s linear;
|
|
||||||
background-color: #202020;
|
|
||||||
border: 1px solid #222223;
|
|
||||||
box-shadow: 0 0 1px 1px #27282E;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#status-indeterminate {
|
|
||||||
visibility: visible;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
#status-indeterminate > div {
|
|
||||||
width: 4.5px;
|
|
||||||
height: 0;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 9px 3px 0 3px;
|
|
||||||
border-color: #2b2b2b transparent transparent transparent;
|
|
||||||
transform-origin: center 21px;
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
#status-indeterminate > div:nth-child(1) { transform: rotate( 22.5deg); }
|
|
||||||
#status-indeterminate > div:nth-child(2) { transform: rotate( 67.5deg); }
|
|
||||||
#status-indeterminate > div:nth-child(3) { transform: rotate(112.5deg); }
|
|
||||||
#status-indeterminate > div:nth-child(4) { transform: rotate(157.5deg); }
|
|
||||||
#status-indeterminate > div:nth-child(5) { transform: rotate(202.5deg); }
|
|
||||||
#status-indeterminate > div:nth-child(6) { transform: rotate(247.5deg); }
|
|
||||||
#status-indeterminate > div:nth-child(7) { transform: rotate(292.5deg); }
|
|
||||||
#status-indeterminate > div:nth-child(8) { transform: rotate(337.5deg); }
|
|
||||||
|
|
||||||
#status-notice {
|
|
||||||
margin: 0 100px;
|
|
||||||
line-height: 1.3;
|
|
||||||
visibility: visible;
|
|
||||||
padding: 4px 6px;
|
|
||||||
visibility: visible;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<canvas id='canvas'>
|
|
||||||
HTML5 canvas appears to be unsupported in the current browser.<br />
|
|
||||||
Please try updating or use a different browser.
|
|
||||||
</canvas>
|
|
||||||
<div id='status'>
|
|
||||||
<div id='status-progress' style='display: none;' oncontextmenu='event.preventDefault();'><div id ='status-progress-inner'></div></div>
|
|
||||||
<div id='status-indeterminate' style='display: none;' oncontextmenu='event.preventDefault();'>
|
|
||||||
<div></div>
|
|
||||||
<div></div>
|
|
||||||
<div></div>
|
|
||||||
<div></div>
|
|
||||||
<div></div>
|
|
||||||
<div></div>
|
|
||||||
<div></div>
|
|
||||||
<div></div>
|
|
||||||
</div>
|
|
||||||
<div id='status-notice' class='godot' style='display: none;'></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script type='text/javascript' src='TonysDressUp.js'></script>
|
|
||||||
<script type='text/javascript'>//<![CDATA[
|
|
||||||
|
|
||||||
var engine = new Engine;
|
|
||||||
var setStatusMode;
|
|
||||||
var setStatusNotice;
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
|
|
||||||
const EXECUTABLE_NAME = 'TonysDressUp';
|
|
||||||
const MAIN_PACK = 'TonysDressUp.pck';
|
|
||||||
const INDETERMINATE_STATUS_STEP_MS = 100;
|
|
||||||
|
|
||||||
var canvas = document.getElementById('canvas');
|
|
||||||
var statusProgress = document.getElementById('status-progress');
|
|
||||||
var statusProgressInner = document.getElementById('status-progress-inner');
|
|
||||||
var statusIndeterminate = document.getElementById('status-indeterminate');
|
|
||||||
var statusNotice = document.getElementById('status-notice');
|
|
||||||
|
|
||||||
var initializing = true;
|
|
||||||
var statusMode = 'hidden';
|
|
||||||
|
|
||||||
var animationCallbacks = [];
|
|
||||||
function animate(time) {
|
|
||||||
animationCallbacks.forEach(callback => callback(time));
|
|
||||||
requestAnimationFrame(animate);
|
|
||||||
}
|
|
||||||
requestAnimationFrame(animate);
|
|
||||||
|
|
||||||
function adjustCanvasDimensions() {
|
|
||||||
var scale = window.devicePixelRatio || 1;
|
|
||||||
var width = window.innerWidth;
|
|
||||||
var height = window.innerHeight;
|
|
||||||
canvas.width = width * scale;
|
|
||||||
canvas.height = height * scale;
|
|
||||||
canvas.style.width = width + "px";
|
|
||||||
canvas.style.height = height + "px";
|
|
||||||
}
|
|
||||||
animationCallbacks.push(adjustCanvasDimensions);
|
|
||||||
adjustCanvasDimensions();
|
|
||||||
|
|
||||||
setStatusMode = function setStatusMode(mode) {
|
|
||||||
|
|
||||||
if (statusMode === mode || !initializing)
|
|
||||||
return;
|
|
||||||
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
|
||||||
elem.style.display = 'none';
|
|
||||||
});
|
|
||||||
animationCallbacks = animationCallbacks.filter(function(value) {
|
|
||||||
return (value != animateStatusIndeterminate);
|
|
||||||
});
|
|
||||||
switch (mode) {
|
|
||||||
case 'progress':
|
|
||||||
statusProgress.style.display = 'block';
|
|
||||||
break;
|
|
||||||
case 'indeterminate':
|
|
||||||
statusIndeterminate.style.display = 'block';
|
|
||||||
animationCallbacks.push(animateStatusIndeterminate);
|
|
||||||
break;
|
|
||||||
case 'notice':
|
|
||||||
statusNotice.style.display = 'block';
|
|
||||||
break;
|
|
||||||
case 'hidden':
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
throw new Error('Invalid status mode');
|
|
||||||
}
|
|
||||||
statusMode = mode;
|
|
||||||
}
|
|
||||||
|
|
||||||
function animateStatusIndeterminate(ms) {
|
|
||||||
|
|
||||||
var i = Math.floor(ms / INDETERMINATE_STATUS_STEP_MS % 8);
|
|
||||||
if (statusIndeterminate.children[i].style.borderTopColor == '') {
|
|
||||||
Array.prototype.slice.call(statusIndeterminate.children).forEach(child => {
|
|
||||||
child.style.borderTopColor = '';
|
|
||||||
});
|
|
||||||
statusIndeterminate.children[i].style.borderTopColor = '#dfdfdf';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
setStatusNotice = function setStatusNotice(text) {
|
|
||||||
|
|
||||||
while (statusNotice.lastChild) {
|
|
||||||
statusNotice.removeChild(statusNotice.lastChild);
|
|
||||||
}
|
|
||||||
var lines = text.split('\n');
|
|
||||||
lines.forEach((line) => {
|
|
||||||
statusNotice.appendChild(document.createTextNode(line));
|
|
||||||
statusNotice.appendChild(document.createElement('br'));
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
engine.setProgressFunc((current, total) => {
|
|
||||||
|
|
||||||
if (total > 0) {
|
|
||||||
statusProgressInner.style.width = current/total * 100 + '%';
|
|
||||||
setStatusMode('progress');
|
|
||||||
if (current === total) {
|
|
||||||
// wait for progress bar animation
|
|
||||||
setTimeout(() => {
|
|
||||||
setStatusMode('indeterminate');
|
|
||||||
}, 500);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
setStatusMode('indeterminate');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
function displayFailureNotice(err) {
|
|
||||||
var msg = err.message || err;
|
|
||||||
console.error(msg);
|
|
||||||
setStatusNotice(msg);
|
|
||||||
setStatusMode('notice');
|
|
||||||
initializing = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
if (!Engine.isWebGLAvailable()) {
|
|
||||||
displayFailureNotice('WebGL not available');
|
|
||||||
} else {
|
|
||||||
setStatusMode('indeterminate');
|
|
||||||
engine.setCanvas(canvas);
|
|
||||||
engine.startGame(EXECUTABLE_NAME, MAIN_PACK).then(() => {
|
|
||||||
setStatusMode('hidden');
|
|
||||||
initializing = false;
|
|
||||||
}, displayFailureNotice);
|
|
||||||
}
|
|
||||||
})();
|
|
||||||
//]]></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
Binary file not shown.
BIN
fonts/kenny_bold.ttf
Executable file
BIN
fonts/kenny_bold.ttf
Executable file
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://fonts/montserrat/Montserrat-ExtraBold.otf" type="DynamicFontData" id=1]
|
[ext_resource path="res://fonts/kenny_bold.ttf" type="DynamicFontData" id=1]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
use_mipmaps = true
|
use_mipmaps = true
|
BIN
fonts/kenny_pixel.ttf
Executable file
BIN
fonts/kenny_pixel.ttf
Executable file
Binary file not shown.
|
@ -1,9 +1,9 @@
|
||||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://fonts/montserrat/Montserrat-ExtraBold.otf" type="DynamicFontData" id=1]
|
[ext_resource path="res://fonts/kenny_pixel.ttf" type="DynamicFontData" id=1]
|
||||||
|
|
||||||
[resource]
|
[resource]
|
||||||
size = 32
|
size = 25
|
||||||
use_mipmaps = true
|
use_mipmaps = true
|
||||||
use_filter = true
|
use_filter = true
|
||||||
font_data = ExtResource( 1 )
|
font_data = ExtResource( 1 )
|
Binary file not shown.
|
@ -1,9 +0,0 @@
|
||||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://fonts/montserrat/montserrat/Montserrat-ExtraBold.otf" type="DynamicFontData" id=1]
|
|
||||||
|
|
||||||
[resource]
|
|
||||||
size = 32
|
|
||||||
use_mipmaps = true
|
|
||||||
use_filter = true
|
|
||||||
font_data = ExtResource( 1 )
|
|
|
@ -1,13 +0,0 @@
|
||||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://fonts/montserrat/Montserrat-ExtraBold.otf" type="DynamicFontData" id=1]
|
|
||||||
|
|
||||||
|
|
||||||
[resource]
|
|
||||||
|
|
||||||
size = 48
|
|
||||||
use_mipmaps = true
|
|
||||||
use_filter = true
|
|
||||||
font_data = ExtResource( 1 )
|
|
||||||
_sections_unfolded = [ "Settings" ]
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
|
||||||
|
|
||||||
[ext_resource path="res://fonts/montserrat/Montserrat-ExtraBold.otf" type="DynamicFontData" id=1]
|
|
||||||
|
|
||||||
|
|
||||||
[resource]
|
|
||||||
|
|
||||||
size = 62
|
|
||||||
use_mipmaps = true
|
|
||||||
use_filter = true
|
|
||||||
font_data = ExtResource( 1 )
|
|
||||||
_sections_unfolded = [ "Settings" ]
|
|
||||||
|
|
|
@ -1,202 +0,0 @@
|
||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,15 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="ogg_vorbis"
|
|
||||||
type="AudioStreamOGGVorbis"
|
|
||||||
path="res://.import/at_the_lake.ogg-3c70c4f6fe0d2145ba5ad822bf6ed2f5.oggstr"
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://music/at_the_lake.ogg"
|
|
||||||
dest_files=[ "res://.import/at_the_lake.ogg-3c70c4f6fe0d2145ba5ad822bf6ed2f5.oggstr" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
loop=true
|
|
||||||
loop_offset=0
|
|
|
@ -1,15 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="ogg_vorbis"
|
|
||||||
type="AudioStreamOGGVorbis"
|
|
||||||
path="res://.import/mushrooms.ogg-5d11893cda0d4333d75a0ef8474477bb.oggstr"
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://music/mushrooms.ogg"
|
|
||||||
dest_files=[ "res://.import/mushrooms.ogg-5d11893cda0d4333d75a0ef8474477bb.oggstr" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
loop=true
|
|
||||||
loop_offset=0
|
|
|
@ -1,15 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="ogg_vorbis"
|
|
||||||
type="AudioStreamOGGVorbis"
|
|
||||||
path="res://.import/reminiscing.ogg-6bf8281e49868f20b0ba3bd1070a62ac.oggstr"
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://music/reminiscing.ogg"
|
|
||||||
dest_files=[ "res://.import/reminiscing.ogg-6bf8281e49868f20b0ba3bd1070a62ac.oggstr" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
loop=true
|
|
||||||
loop_offset=0
|
|
|
@ -1,15 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="ogg_vorbis"
|
|
||||||
type="AudioStreamOGGVorbis"
|
|
||||||
path="res://.import/together_again.ogg-c77c286a1667edafef4b34790b5d2995.oggstr"
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://music/together_again.ogg"
|
|
||||||
dest_files=[ "res://.import/together_again.ogg-c77c286a1667edafef4b34790b5d2995.oggstr" ]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
loop=true
|
|
||||||
loop_offset=0
|
|
|
@ -8,14 +8,9 @@
|
||||||
|
|
||||||
config_version=4
|
config_version=4
|
||||||
|
|
||||||
_global_script_classes=[ {
|
_global_script_classes=[ ]
|
||||||
"base": "Resource",
|
|
||||||
"class": "Character",
|
|
||||||
"language": "GDScript",
|
|
||||||
"path": "res://scripts/character.gd"
|
|
||||||
} ]
|
|
||||||
_global_script_class_icons={
|
_global_script_class_icons={
|
||||||
"Character": ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[application]
|
[application]
|
||||||
|
@ -38,6 +33,7 @@ gdscript/completion/autocomplete_setters_and_getters=true
|
||||||
|
|
||||||
window/size/width=800
|
window/size/width=800
|
||||||
window/size/height=500
|
window/size/height=500
|
||||||
|
window/size/resizable=false
|
||||||
window/dpi/allow_hidpi=true
|
window/dpi/allow_hidpi=true
|
||||||
mouse_cursor/custom_image="res://sprites/clothes/cursor.png"
|
mouse_cursor/custom_image="res://sprites/clothes/cursor.png"
|
||||||
window/stretch/mode="viewport"
|
window/stretch/mode="viewport"
|
||||||
|
@ -46,7 +42,7 @@ window/stretch/aspect="keep"
|
||||||
[gui]
|
[gui]
|
||||||
|
|
||||||
theme/custom="res://resources/Game.theme"
|
theme/custom="res://resources/Game.theme"
|
||||||
theme/custom_font="res://fonts/montserrat_extra_bold_16.tres"
|
theme/custom_font="res://fonts/kenny_pixel_25.tres"
|
||||||
|
|
||||||
[importer_defaults]
|
[importer_defaults]
|
||||||
|
|
||||||
|
@ -70,6 +66,10 @@ texture={
|
||||||
"stream": false,
|
"stream": false,
|
||||||
"svg/scale": 1.0
|
"svg/scale": 1.0
|
||||||
}
|
}
|
||||||
|
ogg_vorbis={
|
||||||
|
"loop": false,
|
||||||
|
"loop_offset": 0
|
||||||
|
}
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=31 format=2]
|
[gd_scene load_steps=32 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://scripts/characterBase.gd" type="Script" id=1]
|
[ext_resource path="res://scripts/characterBase.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://sprites/character/tail/tail0.svg" type="Texture" id=2]
|
[ext_resource path="res://sprites/character/tail/tail0.svg" type="Texture" id=2]
|
||||||
|
@ -27,61 +27,61 @@
|
||||||
[ext_resource path="res://sprites/clothes/blank_bottom.png" type="Texture" id=25]
|
[ext_resource path="res://sprites/clothes/blank_bottom.png" type="Texture" id=25]
|
||||||
[ext_resource path="res://sprites/clothes/blank_top.png" type="Texture" id=26]
|
[ext_resource path="res://sprites/clothes/blank_top.png" type="Texture" id=26]
|
||||||
[ext_resource path="res://sprites/character/shadow.svg" type="Texture" id=27]
|
[ext_resource path="res://sprites/character/shadow.svg" type="Texture" id=27]
|
||||||
|
[ext_resource path="res://sprites/character/mouth/mouth11.png" type="Texture" id=28]
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id=1]
|
[sub_resource type="SpriteFrames" id=1]
|
||||||
animations = [ {
|
animations = [ {
|
||||||
"frames": [ ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 3 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 4 ), ExtResource( 4 ) ],
|
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ) ],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "default",
|
"name": "default",
|
||||||
"speed": 10.0
|
"speed": 2.0
|
||||||
} ]
|
} ]
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id=2]
|
[sub_resource type="SpriteFrames" id=2]
|
||||||
animations = [ {
|
animations = [ {
|
||||||
"frames": [ ExtResource( 6 ), ExtResource( 6 ), ExtResource( 6 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 9 ), ExtResource( 9 ), ExtResource( 9 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 12 ) ],
|
"frames": [ ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 12 ) ],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "default",
|
"name": "default",
|
||||||
"speed": 5.0
|
"speed": 2.0
|
||||||
} ]
|
} ]
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id=3]
|
[sub_resource type="SpriteFrames" id=3]
|
||||||
animations = [ {
|
animations = [ {
|
||||||
"frames": [ ExtResource( 13 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 17 ), ExtResource( 18 ), ExtResource( 18 ), ExtResource( 19 ), ExtResource( 19 ), ExtResource( 19 ), ExtResource( 20 ), ExtResource( 20 ), ExtResource( 20 ), ExtResource( 20 ), ExtResource( 21 ), ExtResource( 21 ), ExtResource( 21 ), ExtResource( 21 ), ExtResource( 22 ), ExtResource( 22 ), ExtResource( 23 ), ExtResource( 23 ) ],
|
"frames": [ ExtResource( 13 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 18 ), ExtResource( 19 ), ExtResource( 20 ), ExtResource( 21 ), ExtResource( 22 ), ExtResource( 28 ), ExtResource( 23 ) ],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "default",
|
"name": "default",
|
||||||
"speed": 10.0
|
"speed": 2.0
|
||||||
} ]
|
} ]
|
||||||
|
|
||||||
[node name="characterBase" type="Node2D"]
|
[node name="characterBase" type="Node2D"]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="Base" type="Node2D" parent="."]
|
[node name="base" type="Node2D" parent="."]
|
||||||
position = Vector2( -103.897, -160.477 )
|
position = Vector2( -103.897, -160.477 )
|
||||||
|
|
||||||
[node name="Tail" type="AnimatedSprite" parent="Base"]
|
[node name="Tail" type="AnimatedSprite" parent="base"]
|
||||||
position = Vector2( 54.4027, 184.439 )
|
position = Vector2( 55.0701, 172.425 )
|
||||||
frames = SubResource( 1 )
|
frames = SubResource( 1 )
|
||||||
frame = 5
|
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
[node name="shadow" type="Sprite" parent="Base"]
|
[node name="shadow" type="Sprite" parent="base"]
|
||||||
position = Vector2( 91.524, 317.295 )
|
position = Vector2( 91.524, 317.295 )
|
||||||
texture = ExtResource( 27 )
|
texture = ExtResource( 27 )
|
||||||
|
|
||||||
[node name="Tony" type="Sprite" parent="Base"]
|
[node name="Tony" type="Sprite" parent="base"]
|
||||||
position = Vector2( 96.3522, 164.086 )
|
position = Vector2( 96.3522, 164.086 )
|
||||||
texture = ExtResource( 5 )
|
texture = ExtResource( 5 )
|
||||||
|
|
||||||
[node name="Eyes" type="AnimatedSprite" parent="Base"]
|
[node name="Eyes" type="AnimatedSprite" parent="base"]
|
||||||
position = Vector2( 114.227, 63.9224 )
|
position = Vector2( 114.227, 63.9224 )
|
||||||
frames = SubResource( 2 )
|
frames = SubResource( 2 )
|
||||||
frame = 11
|
frame = 6
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
[node name="Mouth" type="AnimatedSprite" parent="Base"]
|
[node name="Mouth" type="AnimatedSprite" parent="base"]
|
||||||
position = Vector2( 131.024, 67.4964 )
|
position = Vector2( 148.505, 68.0261 )
|
||||||
frames = SubResource( 3 )
|
frames = SubResource( 3 )
|
||||||
frame = 9
|
frame = 11
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
[node name="Undies" type="Sprite" parent="."]
|
[node name="Undies" type="Sprite" parent="."]
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
[ext_resource path="res://scripts/clothing/accessoryBase.gd" type="Script" id=1]
|
[ext_resource path="res://scripts/clothing/accessoryBase.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[node name="accessoryBase" instance=ExtResource( 2 )]
|
[node name="accessoryBase" instance=ExtResource( 2 )]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
[connection signal="pressed" from="." to="." method="_on_accessory_pressed"]
|
[connection signal="pressed" from="." to="." method="_on_accessory_pressed"]
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
[gd_scene load_steps=2 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://scripts/clothing/baseClothing.gd" type="Script" id=1]
|
[ext_resource path="res://scripts/clothing/baseClothing.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://sounds/select_001.ogg" type="AudioStream" id=2]
|
||||||
|
|
||||||
|
|
||||||
[node name="baseClothing" type="TextureButton"]
|
[node name="baseClothing" type="TextureButton"]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
|
@ -12,3 +14,6 @@ script = ExtResource( 1 )
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[node name="select" type="AudioStreamPlayer" parent="."]
|
||||||
|
stream = ExtResource( 2 )
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=2]
|
[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[node name="bottomsBase" instance=ExtResource( 1 )]
|
[node name="bottomsBase" instance=ExtResource( 1 )]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
|
[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
|
[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[node name="topsBase" instance=ExtResource( 1 )]
|
[node name="topsBase" instance=ExtResource( 1 )]
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
|
[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
[ext_resource path="res://scripts/clothing/undiesBase.gd" type="Script" id=1]
|
[ext_resource path="res://scripts/clothing/undiesBase.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[node name="baseClothing" instance=ExtResource( 2 )]
|
[node name="baseClothing" instance=ExtResource( 2 )]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
[connection signal="pressed" from="." to="." method="_on_undies_pressed"]
|
[connection signal="pressed" from="." to="." method="_on_undies_pressed"]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=9 format=2]
|
[gd_scene load_steps=10 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://scenes/characterBase.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://scenes/characterBase.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://sprites/clothes/background.svg" type="Texture" id=2]
|
[ext_resource path="res://sprites/clothes/background.svg" type="Texture" id=2]
|
||||||
|
@ -8,6 +8,7 @@
|
||||||
[ext_resource path="res://sprites/clothes/lights.png" type="Texture" id=6]
|
[ext_resource path="res://sprites/clothes/lights.png" type="Texture" id=6]
|
||||||
[ext_resource path="res://sprites/ui/grey_boxCross.png" type="Texture" id=7]
|
[ext_resource path="res://sprites/ui/grey_boxCross.png" type="Texture" id=7]
|
||||||
[ext_resource path="res://scripts/ui.gd" type="Script" id=8]
|
[ext_resource path="res://scripts/ui.gd" type="Script" id=8]
|
||||||
|
[ext_resource path="res://sounds/select_006.ogg" type="AudioStream" id=9]
|
||||||
|
|
||||||
[node name="game" type="Node2D"]
|
[node name="game" type="Node2D"]
|
||||||
|
|
||||||
|
@ -63,4 +64,7 @@ texture_disabled = ExtResource( 7 )
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[node name="clear" type="AudioStreamPlayer" parent="ui/base"]
|
||||||
|
stream = ExtResource( 9 )
|
||||||
[connection signal="pressed" from="ui/base/clearBtn" to="ui/base" method="_on_clearBtn_pressed"]
|
[connection signal="pressed" from="ui/base/clearBtn" to="ui/base" method="_on_clearBtn_pressed"]
|
||||||
|
|
|
@ -207,14 +207,20 @@ margin_right = 106.0
|
||||||
margin_bottom = 112.0
|
margin_bottom = 112.0
|
||||||
|
|
||||||
[node name="zBriefs" parent="Underwear/UndiesScroll/UndiesGrid" instance=ExtResource( 2 )]
|
[node name="zBriefs" parent="Underwear/UndiesScroll/UndiesGrid" instance=ExtResource( 2 )]
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
margin_left = 110.0
|
margin_left = 110.0
|
||||||
margin_right = 216.0
|
margin_right = 216.0
|
||||||
margin_bottom = 112.0
|
margin_bottom = 112.0
|
||||||
|
rect_min_size = Vector2( 106, 112 )
|
||||||
|
|
||||||
[node name="briefs" parent="Underwear/UndiesScroll/UndiesGrid" instance=ExtResource( 20 )]
|
[node name="briefs" parent="Underwear/UndiesScroll/UndiesGrid" instance=ExtResource( 20 )]
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
margin_left = 220.0
|
margin_left = 220.0
|
||||||
margin_right = 326.0
|
margin_right = 326.0
|
||||||
margin_bottom = 112.0
|
margin_bottom = 112.0
|
||||||
|
rect_min_size = Vector2( 106, 112 )
|
||||||
|
|
||||||
[node name="Accessoires" type="Tabs" parent="."]
|
[node name="Accessoires" type="Tabs" parent="."]
|
||||||
visible = false
|
visible = false
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
extends Resource
|
extends Resource
|
||||||
class_name Character
|
|
||||||
|
|
||||||
var top = null
|
var top = null
|
||||||
var bottom = null
|
var bottom = null
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
extends "res://scripts/clothing/baseClothing.gd"
|
extends "res://scripts/clothing/baseClothing.gd"
|
||||||
|
|
||||||
onready var character = preload("res://resources/character.tres")
|
|
||||||
|
|
||||||
func _on_accessory_pressed():
|
func _on_accessory_pressed():
|
||||||
character.accessory = texture_normal
|
character.accessory = texture_normal
|
||||||
|
$select.play()
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
extends TextureButton
|
extends TextureButton
|
||||||
|
|
||||||
|
onready var player = $select
|
||||||
|
onready var character = preload("res://resources/character.tres")
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
extends "res://scripts/clothing/baseClothing.gd"
|
extends "res://scripts/clothing/baseClothing.gd"
|
||||||
|
|
||||||
onready var character = preload("res://resources/character.tres")
|
|
||||||
|
|
||||||
func _on_bottoms_pressed():
|
func _on_bottoms_pressed():
|
||||||
character.bottom = texture_normal
|
character.bottom = texture_normal
|
||||||
|
$select.play()
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
extends "res://scripts/clothing/baseClothing.gd"
|
extends "res://scripts/clothing/baseClothing.gd"
|
||||||
|
|
||||||
onready var character = preload("res://resources/character.tres")
|
|
||||||
|
|
||||||
func _on_tops_pressed():
|
func _on_tops_pressed():
|
||||||
character.top = texture_normal
|
character.top = texture_normal
|
||||||
|
$select.play()
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
extends "res://scripts/clothing/baseClothing.gd"
|
extends "res://scripts/clothing/baseClothing.gd"
|
||||||
|
|
||||||
onready var character = preload("res://resources/character.tres")
|
|
||||||
|
|
||||||
func _on_undies_pressed():
|
func _on_undies_pressed():
|
||||||
character.underwear = texture_normal
|
character.underwear = texture_normal
|
||||||
|
$select.play()
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
tool
|
||||||
extends Control
|
extends Control
|
||||||
|
|
||||||
onready var character = preload("res://resources/character.tres")
|
onready var character = preload("res://resources/character.tres")
|
||||||
|
@ -5,6 +6,7 @@ onready var blank_top = preload("res://sprites/clothes/blank_top.png")
|
||||||
onready var blank_bottom = preload("res://sprites/clothes/blank_bottom.png")
|
onready var blank_bottom = preload("res://sprites/clothes/blank_bottom.png")
|
||||||
|
|
||||||
func _on_clearBtn_pressed():
|
func _on_clearBtn_pressed():
|
||||||
|
$clear.play()
|
||||||
character.accessory = blank_top
|
character.accessory = blank_top
|
||||||
character.bottom = blank_bottom
|
character.bottom = blank_bottom
|
||||||
character.top = blank_top
|
character.top = blank_top
|
||||||
|
|
BIN
sounds/select_001.ogg
Executable file
BIN
sounds/select_001.ogg
Executable file
Binary file not shown.
15
sounds/select_001.ogg.import
Normal file
15
sounds/select_001.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/select_001.ogg-e484cc0d7fdb1bade16000667c9301ff.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sounds/select_001.ogg"
|
||||||
|
dest_files=[ "res://.import/select_001.ogg-e484cc0d7fdb1bade16000667c9301ff.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
BIN
sounds/select_006.ogg
Executable file
BIN
sounds/select_006.ogg
Executable file
Binary file not shown.
15
sounds/select_006.ogg.import
Normal file
15
sounds/select_006.ogg.import
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/select_006.ogg-2d3bb43abce3a1ca90c52ff16f4f7535.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://sounds/select_006.ogg"
|
||||||
|
dest_files=[ "res://.import/select_006.ogg-2d3bb43abce3a1ca90c52ff16f4f7535.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
Loading…
Add table
Reference in a new issue