Skip to content

Commit e337d83

Browse files
committed
.
1 parent 4bc80c3 commit e337d83

13 files changed

+70
-20
lines changed

assets/images/tut_screenshot.png

2.11 MB
Loading

components/under-construction.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Callout } from 'nextra/components'
22

33
export const UnderConstruction = () => (
4-
<Callout type='info'>This page is under construction. More information coming soon! If you have any questions, please ask them in our <u><a href="https://discord.gg/nwXFvtJ92g">Discord server</a></u> and we'll answer them promptly! 😊</Callout>
4+
<Callout type='info'>Our docs are always improving. Expect more information coming to this page soon!<br></br>
5+
If you have questions, please ask them in our <u><a href="https://discord.gg/nwXFvtJ92g">Discord server</a></u> and we'll answer them promptly! 😊</Callout>
56
)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@dreamlab.gg/docs",
33
"private": true,
44
"scripts": {
5-
"dev": "next dev",
5+
"dev": "next dev -p 3025",
66
"build": "next build",
77
"start": "next start",
88
"lint": "prettier --check .",

pages/tutorial.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Tutorial
22

3-
Get started with Dreamlab by modifying TinyMMO, our MMO example game.
3+
Get started with Dreamlab by modifying Bullet Heaven, a vampire survivors-like game.

pages/tutorial/01-start.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1+
---
2+
title: 'Get Started'
3+
---
4+
15
import { UnderConstruction } from '~/components/under-construction'
26

37
# Get Started
48

5-
<UnderConstruction />
9+
Welcome to the Dreamlab tutorial. In this tutorial, we'll be modifying a vampire survivors clone to learn about the Dreamlab game engine.
10+
11+
As a prize for completing it, you'll get the following:
12+
13+
- "Verified Developer" role on our Discord server
14+
- **Early access to all upcoming beta features.**
15+
- $50 in AI credits to use for image or code generation!
16+
17+
Click the link below to continue to the _Project Overview_
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: 'Project Overview'
3+
---
4+
5+
import { UnderConstruction } from '~/components/under-construction'
6+
import TutScreenshot from '~/assets/images/tut_screenshot.png'
7+
import { Image } from '~/components/image'
8+
9+
# Project Overview
10+
11+
The sample project only has a few entities:
12+
13+
1. BulletHeavenPlayer. This entity is the hooded figure that each player controls an instance of.
14+
2. Enemy. This is an enemy that runs at the player.
15+
3. Xp. This entity is dropped by enemies when they die.
16+
17+
In addition, it has a UI layer written using React displaying the player's health and current XP.
18+
19+
<Image src={TutScreenshot} />

pages/tutorial/02-add-powerup.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: 'Add a Power-Up'
3+
---
4+
5+
import { UnderConstruction } from '~/components/under-construction'
6+
7+
# Add a Super-Speed Power-Up
8+
9+
We're going to be implementing a new entity that when your player collides with it, it increases their speed for ten seconds when they collide with it.

pages/tutorial/02-modify-entity.mdx

Lines changed: 0 additions & 5 deletions
This file was deleted.

pages/tutorial/03-grapple-hook.mdx

Lines changed: 0 additions & 5 deletions
This file was deleted.

pages/tutorial/03-modify-entity.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: 'Add New Enemy'
3+
---
4+
5+
import { UnderConstruction } from '~/components/under-construction'
6+
7+
# Modify an Entity
8+
9+
Finally, we're going to be adding a new custom enemy
10+
11+
## Generate Art
12+
13+
## Define Enemy
14+
15+
## Add spawn logic
16+
17+
## Test it out

pages/tutorial/04-save-changes.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: 'Commit your changes to version control'
3+
---
4+
5+
import { UnderConstruction } from '~/components/under-construction'
6+
7+
# Commit your changes

pages/tutorial/_meta.tsx

Lines changed: 0 additions & 5 deletions
This file was deleted.

theme.config.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useConfig } from 'nextra-theme-docs'
33
import type { DocsThemeConfig } from 'nextra-theme-docs'
44

55
const siteName = 'Dreamlab Docs'
6-
const defaultDescription = 'Create multiplayer games fast!'
6+
const defaultDescription = ''
77

88
const config: DocsThemeConfig = {
99
logo: <b>Dreamlab Documentation</b>,

0 commit comments

Comments
 (0)