Just your typical internet guy with questionable humor

  • 68 Posts
  • 2.25K Comments
Joined 3 years ago
cake
Cake day: June 22nd, 2023

help-circle
  • Speaking of Metal Slug, Gunforce 1 and 2 are other spiritual prequels to that game (especially 2) and might fit as cyberpunk for you - or at least sci-fi (they even have some screams that were later reused in MS)

    I would say that Strider fits cyberpunk. Osman is a similar game and might also fit

    Not sure Numan Athletics would fit, but I can totally see it as “official sports in a cyberpunk world”

    Undercover Cops has a very gritty aesthetic (also reminiscent of Metal Slug) and the first boss is a cyborg.

    Something to note is that a lot of sci-fi in Japan in the late 80s and early 90s started to mix with magic and demon stuff, or some sort of alien biotech, it’s very easy to find examples of that in anime and games (like contra 3), but these themes were rarely consistent through the entire game, it was more common to find a bit of everything thrown together

    Not arcade, but Neon Inferno might be worth checking out




  • Simply changing the extension wouldn’t work because each image type has a specific header - even changing a .png to .jpg wouldn’t work - and organizes the actual image data in different ways.

    The header is what actually identifies the file type. For webp, it’s called the RIFF header and it must be 21 bytes (it’s a standardized specification, btw). For jpeg, the header is only 2 bytes and has the values FF D8. In theory, this means that you could even rename the file to image.zip and, if you opened it in an appropriate program, it would read the header and still render it properly
















  • Check out migrations.

    Only way to implement those is with a library, right? I did find this tutorial here (Building a PHP Database Migration System from Scratch: A Complete Developer’s Guide), so I might check and try it out sometime in the future

    Be careful with tricks.

    I am. Every time I have to deal with hashes here (all the time), I die a little bit inside

    you have a database field containing a list of comma separated IDs

    No, the column is just saving plain text, like Category: "video, blog, news" - from where I do the rest of the string juggling, there’s no second table involved in this.

    Wishing you lots of fun with your project!

    Thank you! 😄