this post was submitted on 22 Jun 2023
1 points (55.6% liked)

Programming

17680 readers
39 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 [email protected]



founded 2 years 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?

top 1 comments
sorted by: hot top controversial new old
[–] l4sgc 5 points 2 years 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.