this post was submitted on 22 Jun 2023
3 points (71.4% liked)

Programming

17392 readers
169 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

(sorry for bad english).So I made an android shooting game with a bit of rpg and storytelling made by an ai every gameplay is unique through the ai generation.The thing is i want to port it to windows with the same code if possible. The code is mostly based on java. So can i use the same code for the port? If yes, how?

you are viewing a single comment's thread
view the rest of the comments
[–] l4sgc@programming.dev 5 points 1 year ago

You need to provide information about what engine / framework / sdk you are using. If you are using something like GameMaker Studio all you have to do is click Windows in the target build platform list instead of Android. If you aren't using a game engine that supports multiple platforms you may have to redo all the java code related to UI and input yourself to work on Windows, but it is impossible to say without knowing more about how your project is set up.