TurboWarp / extensions

User-contributed unsandboxed extension gallery for TurboWarp
https://extensions.turbowarp.org/
MIT License
119 stars 237 forks source link

A 3D extension that lets you make platformer games, maze games, ect #1093

Closed Gaypatapon closed 6 months ago

Gaypatapon commented 1 year ago

Creating a 3D engine can be hard sometimes, and yeah i know you can make a raycaster script on scratch and simulate 3D but i meant making a 3D patformer with all the 3D axis, 3D maze games on scratch only has x and z axis while the y axis is only for simulating the walls, i was thinking of having blocks that lets you import 3D models and a block that lets you animate your models, new blocks like change z or set z, blocks like create a block (x) (y) (z), blocks that lets you set gravity, physics, and more, i have seen great 3D scratch games that are platformers but the problem is that the code is super complex and hard to understand which is why i am suggesting a 3d extension.

HBDeveloper11 commented 1 year ago

I actually like the idea of making a 3D engine in TurboWarp, maybe someone who has a lot of knowledge of making TurboWarp extensions (ex. LilyMakesThings), can make something like this.

gomiigg commented 1 year ago

You might have bitten off more than you can chew with this one

Gaypatapon commented 1 year ago

You might have bitten off more than you can chew with this one

Yeah you're right but still a good idea

Stiwen02 commented 1 year ago

Maybe the 3D extension is for drawing wireframes with the pen extension? Maybe blocks like "draw cube at x y z, size x y z" and "draw line from x y z to x y z" would store positions in a list and the "draw to screen" block would draw the pixels in the list while sorting them. By sorting I mean that the pixels closer to the camera are drawn last, so they're always fully shown. In the image you can see that the green cube is drawn before the white line that's close to the camera, but the green cube is drawn after the white line that's further from the camera. image

Xeltalliv commented 11 months ago

I am (slowly) making one: image It is just for drawing, so no physics or collision

Goshanchick commented 8 months ago

Я (медленно) делаю один: он предназначен только для рисования, поэтому никакой физики или столкновений. изображение

ЧЕЛ, ДАЙ МНЕ ЭТО РАСШИРЕНИЕ!/DUDE, GIVE ME THIS EXTENSION!

Xeltalliv commented 8 months ago

ЧЕЛ, ДАЙ МНЕ ЭТО РАСШИРЕНИЕ!/DUDE, GIVE ME THIS EXTENSION!

Оно не закончено и использовать то, что есть сейчас, для чего-либо кроме "просто поексперементировать" нельзя. Я всё ещё буду менять существующие блоки и изменю ID разширения, так что проекты созданные с версией разширения которая сейчас - сломаються и даже не будут открываться (будет ошибка при открытии проекта). Если уж так сильно хочеться, недоделаная версия сейчас опубликована в одной из веток моего форка этого репозитория. Где именно - ищи сам.

LilyMakesThings commented 6 months ago

This can be closed