12
Wozza63
6y

I like JavaScript as a language. But I hate absolutely everything around it. All of these tools just make things more difficult. Sometimes when I clone a project I want everything there. I don't want to then wait 30 minutes to download the latest version of every library used, with at least one of them always breaking something. I don't want to have to use npm or grunt or whatever. Just give me the damn thing I need not make me spend 30 minutes running round in circles! Never have these problems in any other language!

Come on WebAssembly!

Comments
  • 0
    As soon as you start working on a big application you are happy things like webpack or gulp exist.
  • 1
    @Codex404 perhaps, but I'm just trying to download a basic game template for phaser. I never have these issues with equivalent tools in other languages. Most I can just download and run!
  • 1
    @Wozza365 it would be pretty hard to "download & run" with javascript stuff. You use npm, which distributes packages as source (with additional build steps included as meta data). You need to download those packages and "build" each of them to use them. It's not compiled into binaries so how exactly would you "just use it"?

    BTW I understand your frustration. But you really don't need phaser to make a game. Just don't do games in javascript that's all. It's not for that purpose. Stick with whatever the fuck else that's out there.
  • 2
    @mzeffect the library could be included into the source files. That way it would be a version that is known to work. I've had many issues where libraries have been changed and the project has not been updated.
    I can see why including every library is a bad idea for large projects using 100s of different libraries but the project that caused me to write this was a simple game template with the only dependency being the game engine itself but an older version was required.
  • 0
    @mzeffect and it's for university, the project is essentially to say don't use JavaScript for games and promote WebAssembly instead, but first I need to prove it is better!
  • 1
    @Wozza365 Can I recommend yarn though. If you produce a working collection of dependencies, create a yarn.lock and be happy afterwards.
  • 1
    @LicensedCrime for such a simple project I don't see the issue. The minified files being a few meg total. Way easier than using these tools especially if you want to guarantee support
  • 0
    @mzeffect npm makes a lock file as well.
  • 0
    @Wozza365 yeah lets include all code into your source so you cant do anything with it because of conflicting licenses.
  • 1
    @Codex404 for a simple start up project to learn a game framework I don't think that is really a requirement anyway. This project was only going to be a mess around before moving on to a larger and better prepared project.
  • 0
    @Wozza365 then what is stopping you from putting it in your source file?
Add Comment