Skip to content

Commit

Permalink
added favicons. added asset store links to website.
Browse files Browse the repository at this point in the history
  • Loading branch information
pokepetter committed Sep 14, 2023
1 parent cea804a commit 0559a19
Show file tree
Hide file tree
Showing 18 changed files with 199 additions and 97 deletions.
2 changes: 1 addition & 1 deletion docs/animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div class="sidebar"><br>
<b><a href="documentation.html">Documentation</a></b><br>
Expand Down
31 changes: 31 additions & 0 deletions docs/asset_store.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

<!DOCTYPE HTML>
<!--generated with sswg-->

<html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<head>
<link rel="stylesheet" href="sswg.css">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<left>
<title> ursina engine asset store</title>
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div style="font-size: 60.0px;font-weight: bold;">
<div id="Asset Store"/><br>
Asset Store<br>
<div style="font-size: 20.0px;font-weight: normal;">
<br>
<a href=" https://itch.io/tools/tag-ursina" class="button">Tools🡕</a><br>
<br>
<a href=" https://itch.io/game-assets/tag-ursina" class="button">Game Assets🡕</a><br>
<br>

</body>
</html>
8 changes: 8 additions & 0 deletions docs/asset_store.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# title ursina engine asset store
# insert menu.txt

### Asset Store

[Tools🡕, https://itch.io/tools/tag-ursina]

[Game Assets🡕, https://itch.io/game-assets/tag-ursina]
2 changes: 1 addition & 1 deletion docs/building.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div class="sidebar"><br>
<b><a href="documentation.html">Documentation</a></b><br>
Expand Down
2 changes: 1 addition & 1 deletion docs/collision.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div class="sidebar"><br>
<b><a href="documentation.html">Documentation</a></b><br>
Expand Down
29 changes: 13 additions & 16 deletions docs/coordinate_system.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
<head>
<link rel="stylesheet" href="sswg.css">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<left>
<title> ursina engine coordinate system</title>
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div class="sidebar"><br>
<b><a href="documentation.html">Documentation</a></b><br>
Expand Down Expand Up @@ -71,10 +72,9 @@
Coordinate System<br>
<div style="font-size: 20.0px;font-weight: normal;">
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="Entity Coordinate System"/><br>
<h2><div id="Entity Coordinate System"/><br>
Entity Coordinate System<br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
<div class="code_block" style="margin-left: 0em;">
y (up)
Expand All @@ -89,10 +89,9 @@
<br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="UI Coordinate System"/><br>
<h2><div id="UI Coordinate System"/><br>
UI Coordinate System<br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
<div class="code_block" style="margin-left: 0em;"> (-.<yellow>5</yellow>, .<yellow>5</yellow>) (.<yellow>5</yellow>, .<yellow>5</yellow>)
(window.top_right)_______|__(window.top)____|_______(window.top_right)
Expand All @@ -111,21 +110,20 @@
Want a different UI coordinate system? No problem. camera.ui is an Entity as well so you can move and scale it as you see fit.<br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="Rotation"/><br>
<h2><div id="Rotation"/><br>
Rotation<br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
Positive rotation means rotating clockwise around the axis, looking from the outside in.<br>
The exception to this is the z-axis, which is counter-clockwise.<br>
While this is inconsistent, it makes setting rotation_z in 2D also clockwise.<br>
<br>
Although generally not recommended, the rotation direction can be changed by<br>
setting <span>Entity.rotation_directions</span> (default: (-1,-1,1)).<br>
setting `Entity.rotation_directions` (default: (-1,-1,1)).<br>
<br>
In general when working with rotation you'll want to only set one of the axes at the same time.<br>
For more complicated rotations you can use <span>entity.look_at(position)</span>, <span>entity.look_at_2d(position)</span><br>
or even set/get .quaternion if you're comfortable with that. For continuous rotation, <span>entity.rotate(amount)</span> can be good as it will add a rotation to the current rotation.<br>
For more complicated rotations you can use `entity.look_at(position)`, `entity.look_at_2d(position)`<br>
or even set/get .quaternion if you're comfortable with that. For continuous rotation, `entity.rotate(amount)` can be good as it will add a rotation to the current rotation.<br>
<br>
<div class="code_block" style="margin-left: 0em;">
_______
Expand All @@ -143,10 +141,9 @@
<br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="Origin"/><br>
<h2><div id="Origin"/><br>
Origin<br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
Setting the origin will move the origin point of the model.<br>
This can be especially useful when working with the UI.<br>
Expand Down
2 changes: 1 addition & 1 deletion docs/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div style="font-size: 60.0px;font-weight: bold;">
<div id="Documentation"/><br>
Expand Down
2 changes: 1 addition & 1 deletion docs/entity_basics.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div class="sidebar"><br>
<b><a href="documentation.html">Documentation</a></b><br>
Expand Down
28 changes: 12 additions & 16 deletions docs/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
<head>
<link rel="stylesheet" href="sswg.css">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<left>
<title> ursina engine faq</title>
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div class="sidebar"><br>
<b><a href="documentation.html">Documentation</a></b><br>
Expand Down Expand Up @@ -72,10 +73,9 @@
<div style="font-size: 20.0px;font-weight: normal;">
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="How should I structure my project?"/><br>
<h2><div id="How should I structure my project?"/><br>
How should I structure my project?<br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
<div class="code_block" style="margin-left: 0em;">project_folder/ <gray># create a new folder <purple>for</purple> each project</gray>
enemies.py
Expand All @@ -90,10 +90,9 @@
<br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="How do I move the camera?"/><br>
<h2><div id="How do I move the camera?"/><br>
How do I move the camera?<br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
The camera is an Entity, so you can move and rotate it just like everything else:<br>
&nbsp;&nbsp;&nbsp;&nbsp;```<br>
Expand All @@ -102,10 +101,9 @@
<br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="Why should I use Python for game development. Isn't it slow?"/><br>
<h2><div id="Why should I use Python for game development. Isn't it slow?"/><br>
Why should I use Python for game development. Isn't it slow?<br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
Not really. The most performance critical part are written in C++ or shader code.<br>
Python can make you more productive as a developer and thus make it easier<br>
Expand All @@ -114,19 +112,17 @@
<br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="How do I call a function with a delay?</b>"/><br>
<h2><div id="How do I call a function with a delay?</b>"/><br>
How do I call a function with a delay?</b><br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
<div class="code_block" style="margin-left: 0em;">invoke(some_function, arg<yellow>1</yellow>, kwarg<yellow>1</yellow>=<green>'some kwarg'</green>, dela<olive>y</olive>=<yellow>2</yellow>)
</div><br>
<br>
<br>
<div style="font-size: 40.0px;font-weight: bold;">
<div id="How can I use panda3d alongside ursina?"/><br>
<h2><div id="How can I use panda3d alongside ursina?"/><br>
How can I use panda3d alongside ursina?<br>
<div style="font-size: 20.0px;font-weight: normal;">
</h2><br>
<br>
What you need to know is that Entity is a NodePath and Ursina is a ShowBase.<br>
You can also write custom shaders, see panda3d's shader documentation for that.<br>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<meta property="og:title" content="Ursina Engine"/> <meta property="og:type" content="website"/> <meta property="og:url" content="https://www.ursinaengine.org"/> <meta property="og:description" content="Ursina, an open source, python powered game engine"/> <meta property="og:image" content="https://www.ursinaengine.org/made_with_ursina.jpg"/><br>
<div style="text-align: center;">
<div id="header">ursina engine</div><br>
<div style="font-size: 20.0px;">
A Python powered, open source game engine<br>
<br>
<a href="https://github.com/pokepetter/ursina"><img src="icons/github_icon.png"></img></a>&nbsp;&nbsp;<a href="https://discord.gg/ydXfhyb"><img src="icons/discord_icon.png"></img></a>&nbsp;&nbsp; <a href="https://twitter.com/ursinaengine"><img src="icons/twitter_icon.png"></img></a> <a href="https://www.patreon.com/ursinaengine"><img src="icons/patreon_icon.png"></img></a><br>
<a href="https://github.com/pokepetter/ursina"><img src="icons/github_icon.png"></img></a>&nbsp;&nbsp;<a href="https://discord.gg/ydXfhyb"><img src="icons/discord_icon.png"></img></a>&nbsp;&nbsp;<a href="https://twitter.com/ursinaengine"><img src="icons/twitter_icon.png"></img></a>&nbsp;&nbsp;<a href="https://www.patreon.com/ursinaengine"><img src="icons/patreon_icon.png"></img></a><br>
<br>
<br>
<a href="https://youtu.be/j71j88oCTNo" target="_blank" rel="noopener noreferrer"><img src="ursina_trailer_preview.webp" alt="link to ursina trailer" style="width:900px;height:491px;"></a><br>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# size 1, normal
A Python powered, open source game engine

<a href="https://github.com/pokepetter/ursina"><img src="icons/github_icon.png"></img></a> <a href="https://discord.gg/ydXfhyb"><img src="icons/discord_icon.png"></img></a> <a href="https://twitter.com/ursinaengine"><img src="icons/twitter_icon.png"></img></a> <a href="https://www.patreon.com/ursinaengine"><img src="icons/patreon_icon.png"></img></a>
<a href="https://github.com/pokepetter/ursina"><img src="icons/github_icon.png"></img></a> <a href="https://discord.gg/ydXfhyb"><img src="icons/discord_icon.png"></img></a> <a href="https://twitter.com/ursinaengine"><img src="icons/twitter_icon.png"></img></a> <a href="https://www.patreon.com/ursinaengine"><img src="icons/patreon_icon.png"></img></a>


<a href="https://youtu.be/j71j88oCTNo" target="_blank" rel="noopener noreferrer"><img src="ursina_trailer_preview.webp" alt="link to ursina trailer" style="width:900px;height:491px;"></a>
Expand Down
7 changes: 5 additions & 2 deletions docs/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<br>

<div style="max-width: 1200px; margin: auto;">
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:65px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" samples.html" class="button">Samples</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate</a><br>
<a href="index.html"><img src="ursina_logo_wireframe.webp" style="width:50px; height:auto; margin-right:10px;"/></a> <a href=" installation.html" class="button">Download</a> <a href=" documentation.html" class="button">Documentation</a> <a href=" api_reference.html" class="button">API Reference</a> <a href=" samples.html" class="button">Samples</a> <a href=" asset_store.html" class="button">Asset Store</a> <a href=" https://github.com/sponsors/pokepetter" class="button">Donate🡕</a><br>
<br>
<div class="sidebar"><br>
<b><a href="documentation.html">Documentation</a></b><br>
Expand Down Expand Up @@ -79,7 +79,10 @@
</div><br>
<br>
If you want to install the newest version from GitHub, you can install like this:<br>
<div class="code_block" style="margin-left: 0em;">pip install <a href="https://github.com/pokepetter/ursina/archive/master.zip">https://github.com/pokepetter/ursina/archive/master.zip</a> --upgrade --force-reinstall
First, uninstall ursina if you already have it:<br>
<div class="code_block" style="margin-left: 0em;">pip uninstall ursina
</div>Then install the new version like this:<br>
<div class="code_block" style="margin-left: 0em;">pip install <a href="https://github.com/pokepetter/ursina/archive/master.zip">https://github.com/pokepetter/ursina/archive/master.zip</a>
</div><br>
<br>
Keep in mind that things *could* break.<br>
Expand Down
Loading

0 comments on commit 0559a19

Please sign in to comment.