This commit is contained in:
erkkon 2023-07-24 22:56:48 +02:00
parent 405c67a7a9
commit d0346106e9
7 changed files with 247 additions and 7 deletions

View file

@ -41,9 +41,9 @@ It features a variety of different training modes, including:
### For more information:
🌐 Visit the Open Aim Trainer website
🌐 Visit the Open Aim Trainer website [Website](https://openaimtrainer.com/)
💬 Join the Open Aim Trainer Discord server
💬 Join the Open Aim Trainer Discord server [Discord](https://discord.com/invite/bbKAEF6QQs)
### Basic structure

BIN
other/web/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

BIN
other/web/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

34
other/web/icon.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dhct4vjtjvj4r"
path="res://.godot/imported/icon.png-d93f9a76445af69bb45cbf486e36dffc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://other/web/icon.png"
dest_files=["res://.godot/imported/icon.png-d93f9a76445af69bb45cbf486e36dffc.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

210
other/web/index.html Normal file
View file

@ -0,0 +1,210 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Open Aim Trainer</title>
<meta name="description"
content="Open Aim Trainer is a free and open source aim trainer that allows you to improve your aim in both 2D and 3D games. Made with the Godot game engine.">
<meta name="keywords"
content="Open Aim Trainer, aim trainer, Godot game engine, 2D games, 3D games, improve aim, training modes, customizable settings, free, open source">
<link rel="icon" href="icon.ico" type="image/x-icon">
<link rel="icon" href="icon.png" type="image/png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
</head>
<body>
<header>
<h1>OpenAimTrainer</h1>
<a href="https://github.com/erkkon/OpenAimTrainer" target="_blank" class="github-link">
<i class="fab fa-github"></i>
</a>
</header>
<main>
<button class="button" onclick="window.location.href='./game'">Train!</button>
<section>
<h2>About Open Aim Trainer</h2>
<p>🎯 <strong>Open Aim Trainer</strong> is a free and open source aim trainer that allows you to improve
your aim in both 2D and 3D games. It is made with the <strong>Godot game engine</strong>, which is a
free and open source game engine that is easy to learn and use.</p>
<p>It features a variety of different training modes, including:</p>
<ul>
<li>🧍 <strong>Static targets</strong>: These targets stay in one place, so you can focus on improving
your accuracy.</li>
<li>🏃 <strong>Moving targets</strong>: These targets move around, so you need to track them with your
crosshair.</li>
</ul>
<p>⚙️ Open Aim Trainer also features a variety of customization options, so you can tailor the training to
your specific needs. You can choose the type of targets, the speed of the targets, and the scoring
system.</p>
<p>🏆 Whether you're a beginner or a pro, Aim Trainer is a great way to improve your aim in any game. It's
free, open source, and easy to use. So what are you waiting for? Start training today!</p>
</section>
<section>
<h2>Features</h2>
<ul>
<li>🏎️ Made with the Godot game engine</li>
<li>👟 Variety of training modes</li>
<li>⚙️ Customizable settings</li>
<li>🆓 Free and open source</li>
</ul>
</section>
<section>
<h2>Benefits</h2>
<ul>
<li>🎯 Improve your aim in any game</li>
<li>🤯 Tailor the training to your specific needs</li>
<li>💪 Easy to use</li>
</ul>
</section>
<section>
<h2>Get started</h2>
<ol>
<li>⏬ Download the latest version of Open Aim Trainer</li>
<li>🖥️ Install the game on your computer</li>
<li>🏁 Start training!</li>
</ol>
</section>
<section>
<h2>For more information</h2>
<ul>
<li>🌐 Visit the <a href="https://openaimtrainer.com/" target="_blank">Open Aim Trainer
website</a></li>
<li>💬 Join the Open Aim Trainer <a href="https://discord.com/invite/bbKAEF6QQs"
target="_blank">Discord server</a></li>
</ul>
</section>
<section>
<h2>Basic structure</h2>
<pre>
/project-root
├── project.gd
├── README.md
├── assets
│ ├── images
│ ├── sounds
│ ├── fonts
│ └── models
├── scenes
│ ├── ui
│ ├── characters
│ └── levels
├── scripts
│ ├── ui
│ ├── characters
│ └── levels
└── resources
└── shaders
</pre>
</section>
</main>
<footer>
<p>&copy; 2023 Open Aim Trainer. All rights reserved.</p>
</footer>
</body>
</html>
<style>
/* Reset some default styles to improve consistency */
body, h1, h2, h3, p, ul, ol {
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
}
header {
background-color: #007BFF;
padding: 1rem;
text-align: center;
color: #FFF;
}
header h1 {
font-size: 2rem;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}
section {
margin-bottom: 2rem;
}
section h2 {
font-size: 1.8rem;
margin-bottom: 0.5rem;
}
ul, ol {
padding-left: 1.5rem;
}
ul li, ol li {
margin-bottom: 0.5rem;
}
pre {
background-color: #F0F0F0;
padding: 1rem;
white-space: pre-wrap;
}
a {
color: #007BFF;
}
footer {
background-color: #EEE;
text-align: center;
padding: 1rem;
font-size: 0.8rem;
color: #777;
}
.button {
display: block;
font-size: 100px;
margin: 0 auto;
margin-top: 50px;
margin-bottom: 50px;
padding: 10px 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
color: #333;
text-decoration: none;
cursor: pointer;
transition: all 0.2s;
}
.button:hover {
background-color: #ddd;
color: #fff;
}
.button:active {
background-color: #bbb;
color: #fff;
outline: none;
}
.github-link {
position: absolute;
top: 5px;
right: 10px;
font-size: 3.0rem;
color: #FFF;
}
</style>

View file

@ -71,7 +71,3 @@ esc={
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194305,"key_label":0,"unicode":0,"echo":false,"script":null)
]
}
[rendering]
renderer/rendering_method="gl_compatibility"

View file

@ -1,6 +1,6 @@
extends Node
const IS_WEB_EXPORTED = true
const IS_WEB_EXPORTED = false
func string_to_vector3d(string_vector: String) -> Vector3:
var components_str = string_vector.substr(1, string_vector.length() - 2)