You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Callouttype='info'>Our docs are always improving. Expect more information coming to this page soon!<br></br>
4
+
<Callouttype='info'>This docs page is under construction. Expect more information coming to this page soon!<br></br>
5
5
If you have questions, please ask them in our <u><ahref="https://discord.gg/nwXFvtJ92g">Discord server</a></u> and we'll answer them promptly! 😊</Callout>
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.
14
+
15
+
## Creating Art
16
+
17
+
You can use the Dreamlab asset creator to create art for your powerup. You can access it from the editor menu (openable with backtick \`)
18
+
19
+
<Imagesrc={gennewasset} />
20
+
21
+
On this page, you can make a sketch and type a prompt to generate an image using AI.
22
+
I made a pill with a lightning bolt but you can do whatever you want!
23
+
24
+
<Imagesrc={assetcreator} />
25
+
26
+
After you've created it, it will appear in your "Assets" tab in the Dreamlab sidebar.
27
+
28
+
<Imagesrc={speedpill} />
29
+
30
+
## Writing the Scripts
31
+
32
+
### Create a New Entity
33
+
34
+
```typescript filename="SpeedBoost.ts"
35
+
importtype { SpawnableContext, Time } from'@dreamlab.gg/core'
0 commit comments