Results 1 to 6 of 6
  1. #1
    damienrenner is offline Member
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    0

    Default 2d platform game

    Hey, I am trying to make a 2d platform game where the user controls a character and they need to collect items off each platform (lets just say squares for now).


    I have it all coded except the squares. any suggestions on how to do this?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,578
    Rep Power
    25

    Default Re: 2d platform game

    Do you want each square to be a separate object like a JLabel
    or do you want all the squares drawn on one component like a JPanel?
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default Re: 2d platform game

    Are you going to start a new thread for every little question and then never return to it?
    change sprite from drawing to an image - also, impliment restart button? - Timer?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    PRW56 is offline Member
    Join Date
    Mar 2012
    Posts
    75
    Rep Power
    0

    Default Re: 2d platform game

    i have the same question, ive tried coding something like that, except it was a jbutton, odd thing was when i removed it its face was still there, does removing jlabels and other text only stuff not do that?

  5. #5
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,578
    Rep Power
    25

    Default Re: 2d platform game

    @PRW56 Start a new thread for your problem and include the code that shows the problem.
    If you don't understand my response, don't ignore it, ask a question.

  6. #6
    PRW56 is offline Member
    Join Date
    Mar 2012
    Posts
    75
    Rep Power
    0

    Default Re: 2d platform game

    if u insist, but i actually was just messing around when i made that button have no clue where it is, i just tried coding a jlabel and removing it after a second, didnt work...anyway ill post that on new thread: game componets.

Similar Threads

  1. Plar: my Java Multiplayer Platform Game!
    By monocole in forum Reviews / Advertising
    Replies: 1
    Last Post: 02-06-2012, 01:58 PM
  2. Nuxeo Platform 5.5
    By java software in forum Java Software
    Replies: 0
    Last Post: 12-20-2011, 06:10 PM
  3. Platform Game |Player Not Showing Up|
    By petur170 in forum New To Java
    Replies: 16
    Last Post: 06-28-2011, 05:16 PM
  4. add Android platform?
    By mysystem in forum NetBeans
    Replies: 0
    Last Post: 08-19-2009, 11:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •