Using PHP and JavaScript for Mobile Game Development

Discussion in 'Programming' started by Jonathan Collab, Oct 28, 2024.

  1. #1
    Hey everyone,
    I’m curious about mobile game development and how PHP and JavaScript can play a role in the process. I know that most mobile games rely on game engines like Unity or Unreal, but I’ve seen PHP and JavaScript being used for backend and front-end web games, and I’m wondering if they have practical applications in mobile game development too.
    Has anyone here used PHP or JavaScript in their mobile game projects? If so, how did you implement it, and what challenges or benefits did you encounter? I’d love to hear your insights or any advice on where these languages might fit in the mobile game dev stack.

    Thanks!
     
    Jonathan Collab, Oct 28, 2024 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,832
    Likes Received:
    4,541
    Best Answers:
    123
    Trophy Points:
    665
    #2
    I guess technically react native is javascript so...

    Flutter has a game engine - that's dart. LightShip is meant to be very good, I'm not sure what the scripting language is tho.

    As for the backend, it can be whatever you're comfortable with - you only need to change if you have performance issues.
     
    sarahk, Oct 29, 2024 IP
  3. GreenHost.Cloud

    GreenHost.Cloud Active Member

    Messages:
    473
    Likes Received:
    34
    Best Answers:
    3
    Trophy Points:
    73
    #3
    While PHP is often used for backend services, like databases or user authentication, JavaScript can be really handy for creating cross-platform games, especially with frameworks like React Native or even game engines that support it. Personally, I've found that using these languages can streamline development and help with quick prototyping, but they can also introduce some challenges regarding performance optimization it depending on your specific project needs. Would love to share more if you’re interested.
     
    GreenHost.Cloud, Nov 3, 2024 IP