Java 2D Platformer Tutorial #1 - Creating the JFrame

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 34

  • @FloraSora
    @FloraSora 8 років тому +4

    You are literally a true hero mate. I've seen some other tutorials where they just REALLY quickly gloss over this stuff and do it all hurriedly. You do it at a very nice pace, and it's comfortable to watch. Thank you for this.

  • @spyro910
    @spyro910 9 років тому +4

    my one says when i open it
    "The selection cannot be launched, and there are no recent launches"

    • @sillyshuz2178
      @sillyshuz2178 6 років тому +2

      you have to have a main method in your game class. it looks like this:
      public static void main(String[] args){
      //in here you would have the jframe things
      }

  • @viktorzzxz
    @viktorzzxz 10 років тому +3

    This is a good tutorial, but its kind of hard to read the lines of code. You should zoom in the screen recorder or change the size of the font. Either way works.

  • @srinicnu5283
    @srinicnu5283 3 роки тому

    increase font size by using Ctrl + plus in windows and cmd + plus in mac.
    decrease background noise.

  • @adambrodin7108
    @adambrodin7108 9 років тому +2

    Nice tutorial, nice speed you're going and great explaining. :)

  • @daniderallerechte5160
    @daniderallerechte5160 3 роки тому

    your Mic is a Patato

  • @pedroinacio5390
    @pedroinacio5390 10 років тому +1

    what is the theme name?

  • @JimmyGlasscock
    @JimmyGlasscock 8 років тому +1

    Great tutorial!

  • @mastergamemakermasterscrco3055
    @mastergamemakermasterscrco3055 5 років тому

    public static void main(String[] args) {

    } }
    you can do public static void main(String args[]) {

    } }

  • @ronaldortiz7173
    @ronaldortiz7173 6 років тому

    I don't prefer private JFrame frame, I prefer JFrame frame = new JFrame("title");
    ;)

  • @mastergamemakermasterscrco3055
    @mastergamemakermasterscrco3055 5 років тому

    and you need to zoom in

  • @mastergamemakermasterscrco3055
    @mastergamemakermasterscrco3055 5 років тому

    you need a new mic

  • @TommyW24
    @TommyW24 10 років тому

    PLEASE HELP ME frame.add(new GamePanel().BroderLayout.CENTER); does not work !

  • @blueprinceVSbushi
    @blueprinceVSbushi 10 років тому

    PLEASE help me :
    frame.add(new GamePanel(), BorderLayout.CENTER); don't work

  • @JcBook1
    @JcBook1 10 років тому

    Do you have a link to where the source code could be downloaded? Or is there a way you could send it to me? I plan on going through your videos, but would like a reference of the source code. Mostly in case I make a typo or mess things up really badly.

    • @PatrickFeltes
      @PatrickFeltes  10 років тому

      www.github.com/pj6444

    • @RB19661
      @RB19661 8 років тому

      +pj6444 Have you taken it off the site? I can't see it on there any more, if so, could you reupload it or something?

  • @aaroneus5479
    @aaroneus5479 8 років тому +1

    it won't build the game. it just says build failed and:
    Exception in thread "main" java.lang.UnsupportedOperationException: Not supported yet.
    at Platformer.Jframe.(Jframe.java:17)
    at Platformer.Platformer.main(Platformer.java:17)
    /Library/Caches/NetBeans/8.2/executor-snippets/run.xml:53: Java returned: 1

  • @FreezyPenguin
    @FreezyPenguin 10 років тому

    awesome!

  • @TommyW24
    @TommyW24 10 років тому

    umm now border layout has a error

  • @Classlessrook32
    @Classlessrook32 9 років тому

    you type way too fast for it to be a useful tutorial for me. gunna try to follow it still