1 - Java 2D Game Tutorial/Help (part 1) - Side-scrolling game

Publié le: 01 janvier 2010
sur la chaîne: MrJavaHelp
175,626
622

(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


Sur cette page du site, vous pouvez voir la vidéo en ligne 1 - Java 2D Game Tutorial/Help (part 1) - Side-scrolling game durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MrJavaHelp 01 janvier 2010, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 175,626 fois et il a aimé 622 téléspectateurs. Bon visionnage!