@Dinuyasha19 Instead of creating platforms in random places just put the x,y coordinates in an array. Its Uber tedious but goes perfectly with the game
Hey Travis, you're tutorials are amazing!!! Very helpful! But I've decided that i do not want this to be an applet anymore..do you know how I can alter the code so that it can be an application instead of an applet?? Thanks!! :D
Thanks for the tutorials man, you're awesome! I'll be patiently waiting for the ending of this game, hopefully with splash screen, menu, highscores and all. Also +1 for more advanced gaming/Java stuff!
I would recommend you to have a look at the tutorials that Travis did on Android. You wont be able to port the Applet without knowing how Java on android works.You wont be able to do it with a single copy and paste. java.awt for example is a library not supported by android and the Graphics part of the applet should be translated to something android can handle .
Let's say I made a new Java Applet game just like this game, and then I wanted to make the game an Android game for smartphones for the market... is it possible to convert the code or do I need to start coding the game again from a blank android project?
It's just that I don't know how to code something like this with android. So it would be convenient to convert the applet code if that's possible.
@6NoHope9 From blank project, however you can copy and paste platform independent stuff say "Who won, who lost","Score calculations", and physics to a large extent
Thanks for the training. This lesson seems much easier than the beginner training, since I like C++ a lot in Linux. I can learn android very fast thanks to u, so I may get a new job with it. In C++ I would use fakei=i.end()-1 or (i-p.size()-1)%p.size()... the if statement is not perfect readable to me...
put all these platforms into a vector and remove if they arent on the screen
java is kinda crappy to make PC games and uses hella lot resources
devilazpl 4 days ago
Great tutorials :D Thanks a lot !!
TheGladeJoakim 6 days ago
Hey can you do one more tutorial on how to export this so I can run it on my website, i tried to export it but it wouldn't work :(
CJTmovies 1 week ago
When are you gonna do more objective C tutorials? I watched all of them.
flyingchimp99 1 week ago
What are you guys doing here? Is this legal?
hellyahitsnoc 3 weeks ago
@hellyahitsnoc NO, THIS IS COMPLETELY ILLEGAL AND THESE GUYS SHOULD BE ARRESTED! Of course its legal, its just java development.
goskeletons 3 weeks ago
@goskeletons I see you are lack of sarcasm.
hellyahitsnoc 3 weeks ago
Instead of all this mess just
for (int i = 1; ...
:)
Works fine
supersushi269 3 weeks ago
can you please show how to make a default level map like so it wont change?
like mario....
please!!!!!
Dinuyasha19 3 weeks ago in playlist סרטונים נוספים של mybringback
@Dinuyasha19 Instead of creating platforms in random places just put the x,y coordinates in an array. Its Uber tedious but goes perfectly with the game
supersushi269 3 weeks ago
@supersushi269
I dont think you understood me I meant not THIS game but a different game in a mario like style...
Dinuyasha19 3 weeks ago
@Dinuyasha19 Use a game engine like unity(Which I am trying my hand right now)!
supersushi269 3 weeks ago
Please add a high score data base that would be awesome!
DrDudStar 1 month ago
Yeah, highscores would be neat, maybe we could learn a bit of database!
iahsiucahusichais 1 month ago in playlist Uploaded videos
Nice Tutorials Trav, could you make a highscore aswell?
Pavlo9758 1 month ago 6
Hey Travis, you're tutorials are amazing!!! Very helpful! But I've decided that i do not want this to be an applet anymore..do you know how I can alter the code so that it can be an application instead of an applet?? Thanks!! :D
vman9336 1 month ago in playlist Uploaded videos
Thanks for the tutorials man, you're awesome! I'll be patiently waiting for the ending of this game, hopefully with splash screen, menu, highscores and all. Also +1 for more advanced gaming/Java stuff!
iahsiucahusichais 1 month ago in playlist Uploaded videos
to get the previous platform of platform p[0], it's easier to use p[(i-1) % p.length ].getX()
It will automatically convert your index between 0 and the length of the array minus 1
anyway, this series really helpt me with some techniques in java, thanks
jwijnant 1 month ago
The GUI must be completely rewritten for Android.
valio84 1 month ago
@valio84
yeah but everything else should be fine right?
6NoHope9 1 month ago
@6NoHope9
I would recommend you to have a look at the tutorials that Travis did on Android. You wont be able to port the Applet without knowing how Java on android works.You wont be able to do it with a single copy and paste. java.awt for example is a library not supported by android and the Graphics part of the applet should be translated to something android can handle .
valio84 1 month ago
@valio84 The entire game must be rewritten, its sad to say but this is quite a mess.
supersushi269 3 weeks ago
Travis I have a question
Let's say I made a new Java Applet game just like this game, and then I wanted to make the game an Android game for smartphones for the market... is it possible to convert the code or do I need to start coding the game again from a blank android project?
It's just that I don't know how to code something like this with android. So it would be convenient to convert the applet code if that's possible.
please respond as this is important for me
Thank you very much!
6NoHope9 1 month ago
@6NoHope9 From blank project, however you can copy and paste platform independent stuff say "Who won, who lost","Score calculations", and physics to a large extent
supersushi269 3 weeks ago
Thanks!!
6NoHope9 1 month ago
Thanks for the platform-fix. Plus one from me for more advanced stuff. Just don`t stop feeding us with java :).
valio84 1 month ago
Thank you man :)
Waranle 1 month ago
Thanks for the training. This lesson seems much easier than the beginner training, since I like C++ a lot in Linux. I can learn android very fast thanks to u, so I may get a new job with it. In C++ I would use fakei=i.end()-1 or (i-p.size()-1)%p.size()... the if statement is not perfect readable to me...
dasstraat 1 month ago in playlist Uploaded videos
well this series has been awesome
natsud2 1 month ago
Thanks cant wait for next one
baruchadichen 1 month ago