I Coded Snake but with Portals in JavaScript

Ғылым және технология

In this game dev experiment, I coded a snake game with portals using Three.js and JavaScript. Check out the playable demo on my website and let me know what you think!
📖 Code - github.com/SuboptimalEng/thre...
🐦 Twitter - / suboptimaleng
💻 GitHub - github.com/SuboptimalEng
🌎 Website - suboptimaleng.com
== [ Timestamps ] ==
00:00 Coding Snake
00:23 Adding Portals
00:54 Portal GLSL Shader
01:24 Multiple Portals
01:52 Food for Snake
02:59 Snakes and Portals Demo
== [ Tags ] ==
#suboptimal #metaverse #threejs

Пікірлер: 14

  • @SuboptimalEng
    @SuboptimalEng Жыл бұрын

    Released this game unfinished so that I can finally have a strong resume when applying to AAA game studios 😎

  • @David-hl1wo
    @David-hl1wo Жыл бұрын

    Very cool idea! I'm interestd to see how the records would look on this game

  • @SuboptimalEng

    @SuboptimalEng

    Жыл бұрын

    Thanks, David! I didn't add a scoring system yet, but I suspect it'll have to incorporate the shortest path algorithm with Portals.

  • @henryzhang6512
    @henryzhang6512 Жыл бұрын

    very cool. i'd recommend having the snake blocks go through inside a portal block to improve the visuals. kind of like the teleporters in the game Baba is You. maybe having the snake come out the other side on top of the portal block rather than beside it

  • @SuboptimalEng

    @SuboptimalEng

    Жыл бұрын

    Thanks, Henry! I considered making each snake block slowly appear from the portal, but coding it was way harder than the current implementation. This is just version 1.0 so perhaps I can add it in the next iteration.

  • @h989l
    @h989l Жыл бұрын

    nice idea! i will try to copy it and make my own version but in canvas 2d .

  • @pawelechocki7405
    @pawelechocki7405 Жыл бұрын

    I've played it for a while and it's fun

  • @SuboptimalEng

    @SuboptimalEng

    Жыл бұрын

    That’s great to hear - thanks for checking it out Pawel!

  • @kent.langley
    @kent.langley Жыл бұрын

    quantum gravity snake

  • @medievalwebman2917
    @medievalwebman2917 Жыл бұрын

    so the game is like snakes... BUT WITH EXTRA STEPS.

  • @SuboptimalEng

    @SuboptimalEng

    Жыл бұрын

    Pretty much 👌

  • @HoaNguyen-fd8ht
    @HoaNguyen-fd8ht Жыл бұрын

    Hi Suboptimal Engineer , i am new in code 3d web.I want to know : babylon,aframe and unity ?What language is best and easiest to scale,drag and drop 3d object

  • @Fizzify
    @Fizzify Жыл бұрын

    What font and theme?

  • @SuboptimalEng

    @SuboptimalEng

    Жыл бұрын

    I use a custom version of the Gruvbox theme with the Iosevka font.

Келесі