So you want to make an incremental: Part 3 - Classes and Components

Part 1: • So you want to make an...
Part 1.5: • So you want to make an...
Part 2: • So you want to make an...
Here's my VSCode extensions drive.google.com/file/d/14jk6...
Also if someone mentions that there's no Toyota Almera, I will personally find you and I will hit 'n run you with my Nissan Almera 1999 which will now be known as Toyota.

Пікірлер: 35

  • @calebpagel
    @calebpagel5 жыл бұрын

    Thanks for continuing the series. I'm really learning a lot and I'm looking forward to more.

  • @Jammy_Dodger
    @Jammy_Dodger5 жыл бұрын

    Still waiting on that ninth dimension update.

  • @bjarkibjarkibjarki

    @bjarkibjarkibjarki

    5 жыл бұрын

    Hello. I've come from the year 2021. Unluckily, Hevipelle hasn't added any new dimensions, but instead added a bunch of tacocat addons. Tacocats give you 1000% more of any currency ingame. This is also multicative, so for each tacocat you add the higher the multiplier is. But how do you get it? Simple: You can buy a single tacocat for every cent, so for 1 dollar you get 100 tacocats. Don't worry, it's regional, so kanganease people can buy it too.

  • @FurbyVoice

    @FurbyVoice

    5 жыл бұрын

    @@bjarkibjarkibjarki '

  • @jovane3542

    @jovane3542

    3 жыл бұрын

    @@FurbyVoice lol

  • @2wr633

    @2wr633

    3 жыл бұрын

    @@bjarkibjarkibjarki hey its 2021 now where is my tacocat

  • @bjarkibjarkibjarki

    @bjarkibjarkibjarki

    3 жыл бұрын

    @@2wr633 sorry i meant 2022 better come back next year

  • @gumowy1233
    @gumowy12334 жыл бұрын

    Why the developer couldn't hold the ninth dimension? It was too hevi

  • @achtsekundenfurz7876

    @achtsekundenfurz7876

    3 жыл бұрын

    Well actually because Hevi ate nine, but who cares . . .

  • @pinger8067
    @pinger80675 жыл бұрын

  • @2wr633
    @2wr6332 жыл бұрын

    me following this on vue v3 *im doomed*

  • @firecrushfox
    @firecrushfox5 жыл бұрын

    Is there any chance you'll be able to show us how you can make generators/upgrades cost more than one type of resource? Like for example, an upgrade costing $100 and 10 graphics? I know how to do this w/ an if/and-statement but I was curious if there was a more efficient method.

  • @Hevipelle

    @Hevipelle

    5 жыл бұрын

    "if" would be one way, but if you have a lot of things different between different types of generators, you should probably make subclasses with "extends". For example on the main class Generator you define things that are the same for all generators, and on the subclasses you define things that are specific to that particular class. Here's an example of how it is used, I'll probably cover it on a later video though. medium.com/beginners-guide-to-mobile-web-development/super-and-extends-in-javascript-es6-understanding-the-tough-parts-6120372d3420

  • @stanislavtsvetanov2775
    @stanislavtsvetanov27755 жыл бұрын

    Hey hevi, I'm the 1000th sub, not kidding, where is my ninth dimension?

  • @Hevipelle

    @Hevipelle

    5 жыл бұрын

    Actually I think you were 1001th because I haven't got new ones after you and I have 1001 :-----)

  • @stanislavtsvetanov2775

    @stanislavtsvetanov2775

    5 жыл бұрын

    @@Hevipelle nope, I'm sure I am. I subbed yesterday. I made sure of it. Now, WHERES MY NINTH DIMENSION

  • @FurbyVoice

    @FurbyVoice

    5 жыл бұрын

    @@Hevipelle 1 103

  • @diamboy

    @diamboy

    5 жыл бұрын

    Станислав Цветанов diy

  • @stanislavtsvetanov2775

    @stanislavtsvetanov2775

    4 жыл бұрын

    @- RedBlazerFlame - bro that was nearly a year ago what you commenting for

  • @eliasgravdal213
    @eliasgravdal2135 жыл бұрын

    When are you gonna release this game?

  • @KieranHolroyd
    @KieranHolroyd4 жыл бұрын

    34:45 is an advert for typescript :P

  • @dinogott368

    @dinogott368

    3 жыл бұрын

    Or, just don't ignore the IDE suggestions at 4:46 ;)

  • @achtsekundenfurz7876

    @achtsekundenfurz7876

    3 жыл бұрын

    I like the part where the buttons don't align. I think it's because each row is built so that the spaces between the buttons are equal. Since the third button of the lower row is smaller (most imp. not as wide), there's more space in that row. To distribute the space evenly, both spaces in the second row are wider, and the second buttons end up misaligned (the bottom one is not exactly below the top one) due to that. But as the troubleshooting goes on, Hevi focuses on functionality, and at the end of the video, the buttons are still misaligned. But then again, function over looks, and the next part will focus on design and fix that bit. It's easier to fix all JS issues before moving on to CSS too, because CSS is a completely different beast. Switching between the different scripts (HTML, JS, CSS) would give me a headache, too.

  • @ninjawhoya2073
    @ninjawhoya20732 жыл бұрын

    At 36:53 I am getting an error: "amount.toFixed is not a function"

  • @viniciushedler3132
    @viniciushedler31322 жыл бұрын

    How do I get to talk to you?

  • @Kyrathos
    @Kyrathos4 жыл бұрын

    A pitty this series was apparently discontinued. To this day i'm still wondering how you solved calculations with numbers beyond 1.7e308 (the maximum value a double can hold, and the biggest value you can store with "normal" data types. Sadly BigInteger is not incoporated into the engine i use). Close to all incrementals i found stop there and i didn`t find a good solution online. When i started developement on my incremental game and knew i would go over this threshhold i wrote my own data type (capable of handling numbers up to 9.9e(8.5e143) for a decrease in performance) and i still don't know if this was the best way to do it.

  • @Hevipelle

    @Hevipelle

    4 жыл бұрын

    I've been really busy on school, work and working on AD, but I still plan on continuing this when I got the time. Custom number library is the right way to go for big numbers, the one called break_infinity.js goes to 1e9e15 and is optimized for performance, you could try that.

  • @Acid31337
    @Acid313373 жыл бұрын

    Javascript is functional enough to not use classes at all. When you intent to create another class next time, chances are it better be module, e.g. file with some functions exported. or just plain function(closure). instead of adding methods to object, you can pass object as parameter to function, and it's more flexible. Classes solidify your code, make it harded to rethink and refactor, they lead you to unnatural decisions in your code. For example, when you pass one piece of data all around your codebase just to make one simple thing.

  • @tom-on

    @tom-on

    6 ай бұрын

    I do agree with using modules, but i do believe that clojures are equal to classes/objects in most ways

  • @sharpnova2
    @sharpnova22 жыл бұрын

    i wouldn't need a tutorial if i were to make an incremental game. i will mention though that if i did need one, VIDEO would be the LAST format i'd want to learn in. video tutorials are a terrible format. actually put in the effort to make an article.