- Jul 26, 2021
- 18
- 34
I have been messing around with a game idea that i have by attempting to learn stuff through "reverse-engineering" some of the more prominent HTML games out there. I dont exactly know if thats a bad idea or a waste of time, as i have never attempted to make games before, i only have mid-high level c++ experience and moderate amount of Python grasp, and never really used them for anything other than occasional trivial personal projects. So my question is this;
I can understand the vast majority of the story format related "code", HTML&CSS as well without any real problems. But when i look at the javascript sheet, for most of the games it just goes and goes and goes to forever and ever with nonstop code about stuff that arent even in the game or mentioned anywhere in the passages etc. Do devs themselves write all this code from scratch? Or are they getting it from somewhere else as a public asset or something(some of the blocks have comments like "twine-user-script #7"etc)? Like i know *some* devs kind of "make their own engine" and some devs are actually teams of multiple people working on the same game, but apart from those rare cases, most of these games are made by a single person.
And when i try to understand the code with my little to no experience with javascript, i see that the same thing can also be achieved through a story format code or HTML itself. Apart from minigames and such, if i can achieve the same thing with say Sugarcube or HTML, is there a technical reason or benefit for using javascript instead?
Thanks in advance, pardon the butchering of language and terminology.
I can understand the vast majority of the story format related "code", HTML&CSS as well without any real problems. But when i look at the javascript sheet, for most of the games it just goes and goes and goes to forever and ever with nonstop code about stuff that arent even in the game or mentioned anywhere in the passages etc. Do devs themselves write all this code from scratch? Or are they getting it from somewhere else as a public asset or something(some of the blocks have comments like "twine-user-script #7"etc)? Like i know *some* devs kind of "make their own engine" and some devs are actually teams of multiple people working on the same game, but apart from those rare cases, most of these games are made by a single person.
And when i try to understand the code with my little to no experience with javascript, i see that the same thing can also be achieved through a story format code or HTML itself. Apart from minigames and such, if i can achieve the same thing with say Sugarcube or HTML, is there a technical reason or benefit for using javascript instead?
Thanks in advance, pardon the butchering of language and terminology.