Ask coding questions

← Back to all posts
Anything better than Java? (Not easier...)
FINALBOSS (2)

I'm attempting to make a web based game called FinalRPG on either my home server, or a cloud server hosted by Amazon. I'm just wondering if I should stick to Java as a language for the rpg web game, or if there is a better alternative out there. I don't really care the difficulty level, I favor quality and functionality above all else. Thanks in advance!

Commentshotnewtop
FINALBOSS (2)

ATM, I'm gonna drop Java and choose between either P5.js or Haxe. They both seem very cool after looking through their documentation. I'm gonna give both a chance and then decide which one is better based on functionality and quality of features.

KelvinVerhey (33)

@FINALBOSS Haxe can be a real nightmare if you are not familiar with cross compilers. Since it's also a very small project, it has some issues with getting updates and patches. The android compilation is totally broken, and many of the graphics libs have problems. Dig through here to make sure none of the open issues are going to cause you problems.

https://github.com/HaxeFoundation/haxe/issues

mwilki7 (292)

Are you using jsp?

FINALBOSS (2)

@mwilki7
I'm using eclipse to connect to my webserver, then I make and run code through that.

theangryepicbanana (889)

Many games have been made in Java so that should work, however I'm not sure that it'd work for a web game. Do you mean JavaScript instead of Java?

FINALBOSS (2)

@theangryepicbanana

No, I meant Java. I did research, and they said it was great for making web games (at least better than php, lol).

theangryepicbanana (889)

@FINALBOSS well maybe but Java Applets (I'm assuming it was referring to those) are kinda being phased out on the web. I'd recommend using JavaScript (using something like p5.js or phaser) or Haxe (probably need the js package for it, as it's normally its own language. let me know if you like this option and I can explain further)

FINALBOSS (2)

@theangryepicbanana
I'll do my own research, thanks for the info. I'll keep this thread posted to let you guys know the definitive direction I'll take.