Building an Entire MMO From Scratch 48 Hours - ¡Fruit!

Поделиться
HTML-код
  • Опубликовано: 6 окт 2024
  • I built ¡Fruit! an MMO in under 48 hours using Angular and Node.js. Angular was used to build a front end UI, while the game itself was rendered on an HTML5 canvas element. Node.js was used to write the server side game logic and networking. Both the Angular and Node apps are hosted with Heroku.
    ¡Fruit! is available to play at:
    www.fruit.yokohama
    Check out my other projects:
    www.notin.tokyo
    Resources:
    www.npmjs.com/...
    Neural Network by Alex Burte, Lock by Katarina Ilić, Fortune Cookie by Sasha Sash from NounProject.com

Комментарии • 18

  • @Oebax
    @Oebax 2 года назад +11

    This video is so good! From the editing to the presentation to the game itself! It really is a shame how content creators such as yourself are so underappreciated.

  • @mattgio1172
    @mattgio1172 2 года назад +8

    This is awesome!!! You did a brilliant job on this! First, it's awesome to see another of your videos - but also the game is super fun too!
    So - I may have found a tiny exploit to unlock all the fruit.. haha. In chrome, if you inspect the page and go to the application tab, in the key, you can add (for example) "fruit 8' with a value 'true'. If you do that for all the fruits, they unlock. I also may have given myself some extra cash too.. haha :)
    In any case - it doesn't take away from the enjoyment of the game - It's a truly fun experience! well done.

  • @ouch
    @ouch 2 года назад +6

    I think the function you're looking for is Math.sign() which returns 1 or -1 based on the input.

    • @Dremth
      @Dremth Год назад

      I believe internally that function uses a conditional.

  • @WhiteThumbs
    @WhiteThumbs Год назад

    Defly is my fav type of these games,, I really like how getting the juice has risk in your game.!

  • @EtanMarlin
    @EtanMarlin Год назад

    you should make a second game for fun, i wonder if youve gotten better over the past couple years 🤔

  • @TheStickCollector
    @TheStickCollector Год назад

    The problem is getting the fanbase to keep it alive
    But Impressive building. I should do something like this if I learn to program.

  • @Nici1188
    @Nici1188 6 месяцев назад

    Sadly it is not up anymore

  • @LewiLewi52
    @LewiLewi52 2 года назад +1

    In C++ i would solve your -1 to 1 without "if" in the following manner:
    int rand_plus_min()
    {
    static constexpr int half_max_rand = RAND_MAX / 2;
    return (-2 * (rand() > half_max_rand)) + 1;
    }
    Hope it gives you an idea how to solve it for yourself.

    • @Dremth
      @Dremth Год назад +1

      The > you used is just shorthand for an if-statement.

  • @omerakgoz34
    @omerakgoz34 Год назад

    Why does it run at 15 fps ???

  • @MichelleSleeper
    @MichelleSleeper 2 года назад

    Would you be willing to open source the server side of this? I am working on a game project of my own and the server-side element of this is almost virtually identical to what I'm trying to build. A lot of similar videos or tutorials seem to use a lot of extraneous packages or other features available in different websockets packages

  • @Zaltarias1
    @Zaltarias1 Год назад

    Im a banana

  • @retardsgaminggroup
    @retardsgaminggroup 2 года назад +1

    This channel is seriously underrated

  • @TheGabrielMoon
    @TheGabrielMoon Год назад

    angular sucks

  • @TheZZAZZGlitch
    @TheZZAZZGlitch 7 месяцев назад

    Math.round(Math.random())*2-1