From ea411b8bff55355a2336d772e10f6680f6fb68fb Mon Sep 17 00:00:00 2001 From: Lars Frost <larsf@fsmpi.rwth-aachen.de> Date: Sat, 21 Dec 2024 18:43:56 +0100 Subject: [PATCH] Improve spacing and visual appearance --- leitfaden.typ | 18 +++++++++++------- template.typ | 3 ++- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/leitfaden.typ b/leitfaden.typ index 930435f..cdf4a81 100644 --- a/leitfaden.typ +++ b/leitfaden.typ @@ -29,7 +29,11 @@ - We do not mandate a specific engine, though we do recommend to use Godot or Unity. We also recommend that you get familiar with the engine, you would like to use, before the jam starts. - You may only use assets and libraries that are available free of charge, and only if the license permits you and us to distribute your unmodified binaries to the other participants. To keep track of the licensing, we recommend creating a list of all used assets and their source, including assets that don't require attribution. +#[ + // Avoid space below here, because there is no text before the first subsection +#show heading.where(level: 1): set block(above: 2.0em, below: 0.0em) = Introduction: How to develop games? +] == What do I need for a game? To create a game several components are usually needed: @@ -87,7 +91,7 @@ If the relative position between bones is fixed, the connection is called a _joi subpipe("mesh"), [#text("+", size: 70pt)], subpipe("texture"), [#text("=", size: 70pt)], subpipe("textured"), [*Mesh*], [], [*Texture*], [], [*Textured Model*], subpipe("bones"), [#text("+", size: 70pt)], subpipe("skinned"), [#text("=", size: 70pt)], subpipe("animated"), - [*Bones*], [], [*Weights per Bone*], [], [*Animatable Model*], + [*Bones*], [], [*Weights per Bone*], [], [*Animated Model*], [], [], [], [], [], ), caption: [Typical components of a 3D model. Example assets from #link("https://play0ad.com/media/screenshots/")[0.A.D].]) <3dmodel> @@ -106,11 +110,11 @@ how much it bounces (_bounciness_) or is affected by friction (_roughness_). A physics engine simulates in every frame the physical changes to all entities with physical components. It applies forces, moves objects, determines collisions, resolves collisions by calculating impulses, and sends collision events to the object's scripts. -Kinds of physics other than rigid body physics (f.e. soft body physics or fluid simulation) are more difficult to use in games. +Physics other than rigid body physics (f.e. soft body physics or fluid simulation) are more difficult to use in games. In both Godot and Unity, colliders can be generated from arbitrary meshes. However, it is much more efficient to use one or multiple simple shapes (spheres, cubes, capsules or other built-in shapes) as colliders for your entities. -Even games that have no physics interaction can need colliders, f.e. to determine which object is selected on a mouse click. +Even games with no physics can need colliders, f.e. to determine which object is selected on a mouse click. The task of determining what colliders a ray (a line going from a point in one direction) will intersect is called _Ray Casting_. When trying this for a collider, it is called _Shape Casting_. @@ -192,10 +196,6 @@ A difficulty when using OpenGameArt, are the different artistic styles used betw link("https://opengameart.org/content/fantasy-icon-pack-by-ravenmore-0", image("images/sources/OGA/ravenmore.png")), ), caption: [Examples for scenes created with OpenGameArt assets]) -=== freesound.org -#link("https://freesound.org/")[freesound.org] is a platform, -containing over $600,000$ sound effects and ambient sounds under (mostly) free licenses. - === Polyhaven #link("https://polyhaven.com/")[Polyhaven] is a collection of high-resolution textures and high-poly 3D models. @@ -252,6 +252,10 @@ To lower hardware requirements and computation effort, you might want to apply t // caption: [#link("https://polyhaven.com/a/wooden_picnic_table")[Picnic Table] from polyhaven with different decimate settings], // ) +=== freesound.org +#link("https://freesound.org/")[freesound.org] is a platform, +containing over $600,000$ sound effects and ambient sounds under (mostly) free licenses. + === 0.A.D. There are many 3D models of ancient buildings, animals with animations, and plants, developed for the open-source game #link("https://play0ad.com/media/screenshots/")[0.A.D.], diff --git a/template.typ b/template.typ index 9b0b41d..18f6a37 100644 --- a/template.typ +++ b/template.typ @@ -10,7 +10,8 @@ set page( ) set par(leading: 0.6em, spacing: 1.2em, justify: true) -show heading: set block(above: 2.2em, below: 1em) +show heading.where(level: 1): set block(above: 2.0em, below: 1.0em) +show heading.where(level: 2): set block(above: 2.0em, below: 0.5em) show link: it => { set text(fill: blue) -- GitLab