(This is part 1 of 2) This tutorial will teach you how to make a Java side scroller 2D game such as Super Mario.
Points to note:
A) You can loop the background so that your character stays in one spot and the background moves (like how it is in old Mario games)
B) You can use different images for your "main character" such as one of him walking left, crouching, etc. so that when you press left it seems as if the character actually turns left
C) You can add jumping capabilities by using a thread and a run method to make it look like the jump is animated (I've talked about this in previous videos)
D) For every other object you add (such as an "enemy" that must be killed or a missile that is shot) you must create another class to hold that item's x coordinates, y coordinates, etc.
If you need help implementing any of the above items send me a message and I will send you code to do so since I'm working on a full side scroller (2D and 3D) with enemies, missiles, save points, etc. Also, I will make videos in the future talking about some basics of these items.
Thank you
In questa pagina del sito puoi guardare il video online 1 - Java 2D Game Tutorial/Help (part 1) - Side-scrolling game della durata di ore minuti seconda in buona qualità , che l'utente ha caricato MrJavaHelp 01 gennaio 2010, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 175,626 volte e gli è piaciuto 622 spettatori. Buona visione!