Super Mario Clone ... Getting Started

Hi
I am new to java.
That is I had 3 lessons so far.
- I know what Swing is and can make swing windows, ...
- I have a big C# background
For a schoolproject I will make a Super Mario game clone.
I do not have the time to use special classes like Direct Draw, OpenGL, ... The project needs to be finished within about 2-3 weeks
I have not started yet and I am allready stuck with 4 questions.
My vision:
I need a level: small images in a kind of table.?!
and
I need a player class:
public class Player extends ?...? {
   public Player(){
      ...loadimages in array;
   left {
      ...change the position in the frame that contains this object;
      ... change image;
      ... change it back;
  right{
   jump{
   crough{  
}Note that the Player visual object needs to move on top of the level ...
So here are my 4 questions:
(1) What class should I extend with my Player class. Should I extend the JPanel class?
(2) What is the best way to load my images. (depends on the answer of question 1 I guess)
(3) How do I change the position of a class in the containing class.
(4) What about my level images ... is there a kind of table class in Swing ?
Can anybody give me a clear answer on my questions ?
(please do not post codelistings of more than 50 lines ^^.)
Thank you in advance

Hi,
perhaps this site will give you some ideas on how to get started
http://www.developer.com/java/ent/article.php/930871
good luck,
bompie

Similar Messages

  • Trying to use a new, larger external hard drive for my Time Machine backup.  However, every time I start the backup, it gets started then fails.  And, I can't delete the few files that did save on the external.  Sort of a catch 22.  Any ideas?

    Trying to use a new, larger external hard drive for my Time Machine backup.  However, every time I start the backup, it gets started then fails.  And, I can't delete the few files that did save on the external.  Sort of a catch 22.  Any ideas?

    Is it a USB hard drive?  USB hard drives have the problem of not giving full speed if they are hooked up on the same bus as keyboards and mice.  Double check your profiler to make sure that is not a problem.  If it is Firewire, make sure there aren't other firewire devices in use at the same time.  I recommend not only keeping a Time Machine backup, but also a clone, and if you do use Time Machine, to make sure the Time Machine drive or partition is at least twice the size of the original drive.

  • Error " The callback function , ReturnCallback specified in the UIR file , is not a known function" from sample7 created using Getting Started With Teststans

    In the Getting Started Manual Chapter 6 is a CVI project to create a DLL frequency.prj. I tried various settings in the Build Target settings in CVI (6.0) but still get the same error. Using TestStand (2.0)
    Thanks for any help
    Attachments:
    frequency.c ‏3 KB

    Hi Ray
    Thanks for the response. I realized after posting that my question may be too general to help you understand my problem
    I followed the instructions in the manual and from the UIR inserted the callback for the frequency.c and was also added to the
    frequency.h file
    Later I got it to work using the file in the solutions directory but for the life of me I still cannot see why that worked and mine didnt
    A couple of things about my file that I still cant explain is
    1) I had to enter an abslute path to the uir itherwise I got a file not found error.
    2) I had to add a variable as follows
    static void *_CVIUserHInst;
    otherwise it gave an error for that part of the exOpenPanel fuction.
    I am attaching the file that works in case you are willing to take time and see if YOU can tell why one works and the other does not.
    I dont like it when I cant tell why the results are different( always good to know why).
    Thanks
    Mario
    Attachments:
    frequencyWorks.c ‏3 KB

  • CF8 Getting Started Tutorial

    I have hopefully a simple question, I'm up to p.19 in the CF8
    Getting Started Tutorial, I have databases showing up in the
    Applications panel, but the tutorial's asking me to click the + in
    the Databases tab of the Application panel and select Microsoft
    Access with Unicode Connection. The problem is it's not there! How
    can I get it to pop up? Thanxs in advance for any help, I want to
    get dynamic pages going!

    I'm assuming that you are doing this tutorial:
    http://www.adobe.com/examples/cfgettingstarted/experience/docs/steps_for_building_dynamic_ pages_en.pdf
    If yes, then the built-in database for the cfartgallery can
    be used.
    Ken Ford
    Adobe Community Expert - Dreamweaver
    Fordwebs, LLC
    http://www.fordwebs.com
    "topcats420" <[email protected]> wrote in
    message
    news:fqa204$4vm$[email protected]..
    >I am on a G5 Mac OS X 10.3.9. So if Access is not
    supported then what then
    >what
    > do i use? i also don't see the + in the Databases tab of
    the Application
    > panel
    > on my Dreamweaver MX 2004
    >
    > any help would be super gr8
    >
    > thanks
    >

  • General questions to get started with virtualization server cluster.

    Hello all, this is my first time posting here in the tech net forums. I am a software development student and have been spending most of my time lately in Linux.  First I would like to apologize if I am at all not complying with the forum ethics or
    protocol based on the fact that I am rushing to get this post in and wasn't able to do as much reading as I would normally like before posting. If my questions seem to be to noobish feel free to just tell me so.  That being said, I would appreciate some
    help. My systems have been down now for the better part of a month with trying to figure out, not how to configure the system I want, but rather to find a system to configure and be able to stick with it without running into issues that make me start researching
    a whole new system.
    So for a quick explanation of what I am trying to accomplish:
    I am looking to utilize the equipment I have, and put together a small virtual machine host.  The last few weeks I was working on building a Proxmox cluster which overall seemed to be pretty close to what I want, however the compatibility just isn't
    there yet in my eyes for a home use server.  I am trying to take basically the 5 or 6 PCs that I have already built, and configure them into a cluster that will be able to hopefully utilize as much system resource as possible.  From what I have learned
    in recent, this is referred to as a Beowulf cluster, or just a virtualization cluster.  So ideally I want to combine the 5-6 processors to form one "super computer" that will serve as nothing but a virtual machine host.  I am sorry if I
    am using the wrong terms for any of this but like I said, I am just trying to figure it all out still.  What is the best Microsoft OS to use to do this?  I am currently looking at either Server 2012 R2, but I have also looked briefly into Systems
    Center 2012 R2 and really like the look of this.  This is just for my personal use.  The reason I am looking to do this is that I currently use many different OSs and have many different tasks that require different configurations.  The bulk
    of the work I am doing, coding, 3D rendering, video editing, a lot of Autodesk and Adobe work.  Then of course I would like to be able to do some gaming still but haven't even begun to research to feasibility of gaming on a VM because of course my main
    priority is the work.  So is there a way that I can pull this off?  I am planning to start purchasing some server racks, like a 9 or 12U wall mount rack that I was planning on putting about 4 or 5 2U atx cases in.  Right now in my small office
    I have 5 fully built atx towers and then multiple laptops and tablets and chrome books and bla blah!  It is just too much so I am looking for a way to consolidate.  Also, regarding the 3D rendering, if there is a way to utilize multiple processors
    at once in this same config, that would be great.  I have again done some research on "render farms" which sounds similar to a Beowulf but I just need to focus in an area that I can research more thoroughly because right now I just keep jumping
    around every time I think I have found a better solution.  Please help!  Thank you very much to anyone who takes the time to help me with this task.  It is very much appreciated!

    Hello bda714,
    As I understand very little about this big computing themes I only could provide you with this interesting links:
    I think you are looking for something like this Windows High Performance Computing (HPC) regarding the OS to be used:
    Getting Started Guide for Microsoft HPC Pack 2012 R2 and HPC Pack 2012
    https://msdn.microsoft.com/en-us/library/jj884144.aspx
    Microsoft HPC Pack 2012 R2 and HPC Pack 2012
    https://technet.microsoft.com/en-us/library/jj899572.aspx
    And I could think that maybe you could find more help on this blog:
    The Microsoft HPC & Azure Batch Team 
    http://blogs.technet.com/b/windowshpc/
    Hope this info help you to reach your goal. :D
    5ALU2 !

  • My Photos app stopped working last week.  It opens to the welcome splash screen, but when i select get started, the wheel starts spinning and that's all that happens.  When I try to close it, it says it's creating a library, but never ends.

    I have been using Photos since the update.  I had no problems until last week when it stopped working.  Despite the fact that I've been using it, it opens to the welcome splash screen with the "Get Started" button.  When I click it, the wheel starts spinning and that's all that happens until eventually force quit it using the apple menu.  Can anyone help?

    OK, so apparently you have the MBW connected via the software equivelent of a crossover cable- ethernet frames but no routing.  Not sure what negative impact that has or doesn;t have. Certainly its not how the drive was intended to work - it would be far easier to just have a USB connection for that.
    WD software in general has a very bad history. Note that some drives have been lost entirely due to incompatability with Mavericks - read the tips section here for mroe details, btu i would NOT use it.
    I cant help you with WD software. But the first task is to access the drive and make sure you can communicate with it. I would go to the main drive to do that. From there you should be abke to remove the partition for the backup, and begin over with something less troublesome - such as Carbon Copy Cloner, Time MAchine ( i dont use it and did nt much like it) or , my preferred method, good old unix rsync.
    In any event, your prpoblem is one of authorization. So first see if the drive is responding in general ( try to access it the normal way), then move to that particular volume.
    Grant

  • Review: Puzzle & Dragons Z + Puzzle & Dragons Super Mario Bros. Edition

    GungHo Online Entertainment’s Puzzle & Dragons, a bona fide runaway success on mobile platforms, has arrived on Nintendo 3DS—and along with it comes a second, all-new adventure starring Mario! If you enjoy puzzle games with light role-playing game elements then you won’t want to miss out on this two-in-one game bundle, Puzzle & Dragons Z + Puzzle & Dragons Super Mario Bros. Edition.

    Hello javm_m99,
    I'd like to start by welcoming you to the forums!  We appreciate you taking the time to post about the Puzzle & Dragons Z + Puzzle & Dragons Super Mario Bros. Edition.  I'll make sure to pass along this information to our Gaming partners for further review and correction if necessary.  Also, we do offer the Price Match Guarantee for qualified products.  
    Please continue to check the link above for additional information and updates.  Thank you again for contacting us.    
    Blake|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Super Mario!!!

    Is there a way to get like super mario 3 or super mario world on the iphone?

    chaosfourever wrote:
    Is there a way to get like super mario 3 or super mario world on the iphone?
    That would be up to Nintendo to port them to the iPhone (they own the rights). Doubtful that it will happen since they want you to buy them in a Wii in their own store.

  • Puzzle & Dragons Z + Puzzle & Dragons Super Mario Bros have not received the Free Bonus Item

    hi i pre-ordered Puzzle & Dragons Z + Puzzle & Dragons Super Mario Bros i have yet to get my Free Bonus Item the Puzzle and Dragons Z - Arkvelza the Death Skydragon - Nintendo 3DS [Digital Download Add-On]

    Hello redrum1180 and ZAquanimus,
    Puzzle & Dragons Z and Puzzle & Dragons Super Mario Bros. Edition looks amazing and thank you both for pre-ordering with us!  
    I apologize for the delay with your code and I'll be happy to see what's going on.   Please send me a private message by clicking the blue box at the end of my signature.  Make sure to include the "Customer Service Pin" from your purchase receipt or BestBuy.com Order Number.   
    Blake|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Super Mario Bros??

    Before i bought my iPhone i saw someone playing super mario brothers on theirs. Does anyone know how to get it??

    Don't do it if you aren't prepared to battle with Apple.
    Basically, they "jailbreaked" their phone which means that they used software to that allows you to install and delete third-party applications like an NES emulator. Apple does not support this and will try and stop you with their updates and empty threats of bricking your phone.
    If you have no experience doing this then don't do it. It will cause you more trouble than it is worth.

  • Super Mario Series Amiibo availability?

    I'm just getting into Amiibos, mainly because Mario Party 10 feels like the first real use I'll have for them, and I'm just wondering why for the "Super Mario Series" Amiibos coming out on the 20th that I can only order the bundle and Luigi right now? The rest of them just say "Coming soon" and I don't know if this means they are already sold out pre-orders or if I should actually wait instead of trying to find the others at another store. 

    Hello Islanderfan17-
    Amiibo’s have certainly made a huge impact with everyone, from people who want to play with them as well as collectors!  I’m glad to hear that you are looking to dive in with the release of Mario Party 10.
    As I understand it, the Amiibo’s that are Coming Soon are no longer available for pre-order.  However, the availability of those figures can change, so I would recommend periodically checking back here to see if we have them available.
    Thanks for posting and go Islanders!  
    Bill|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Super Mario d/l

    Where can i d/l Super Mario for Win7 without getting tons of crapware ?
    Thanks
    This question was solved.
    View Solution.

    You might try here, do not select express install only custom install from that you can control what you install by deselecting what you do not want.  You should select custom install on anything you install.  We see this happening more and more.
    http://super-mario-forever.soft32.com/
    Please mark my post as SOLVED if it has resolved your problem. It helps others with similar situations.

  • Dev server the dispatcher is not getting start

    Dear all ,
    We are facing problem in dev server the dispatcher is not getting started. Plese suggest
    The log file .
    trc file: "dev_w0", trc level: 1, release: "640"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Mon Oct 05 08:43:39 2009
    B  create_con (con_name=R/3)
    B  Loading DB library 'G:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' ...
    B  Library 'G:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'G:\usr\sap\DEV\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.220)
    B  New connection 0 created
    M sysno      00
    M sid        DEV
    M systemid   561 (PC with Windows NT)
    M relno      6400
    M patchlevel 0
    M patchno    247
    M intno      20020600
    M make:      multithreaded, Unicode, 64 bit
    M pid        4936
    M
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 4936) [dpxxdisp.c   1170]
    I  MtxInit: -2 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpShMCreate: sizeof(wp_adm)          38064     (1464)
    M  DpShMCreate: sizeof(tm_adm)          3609968     (17960)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpShMCreate: sizeof(comm_adm)          312000     (624)
    M  DpShMCreate: sizeof(vmc_adm)          0     (512)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000D440050, size: 4077792)
    M  DpShMCreate: allocated sys_adm at 000000000D440050
    M  DpShMCreate: allocated wp_adm at 000000000D441C30
    M  DpShMCreate: allocated tm_adm_list at 000000000D44B0E0
    M  DpShMCreate: allocated tm_adm at 000000000D44B110
    M  DpShMCreate: allocated wp_ca_adm at 000000000D7BC680
    M  DpShMCreate: allocated appc_ca_adm at 000000000D7C2440
    M  DpShMCreate: allocated comm_adm_list at 000000000D7C4380
    M  DpShMCreate: allocated comm_adm at 000000000D7C43A0
    M  DpShMCreate: allocated vmc_adm_list at 000000000D810660
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000000D810690
    M  DpShMCreate: allocated wall_adm at 000000000D8106A0
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Mon Oct 05 08:43:40 2009
    M  calling db_connect ...
    C  Prepending E:\oracle\DEV\ora92 to Path.
    C  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPDEV's password
    C  Connecting as /@DEV on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 000000000EE4FF20 000000000D0CDA90 000000000D0CD3C8
    C  Attaching to DB Server DEV (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78)
    C  Starting user session (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78,usrhp=000000000EE71C70)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
    [dboci.c      4508]
    C  Detaching from DB Server (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78)
    C  *** ERROR => CONNECT failed with sql error '1033'
    [dbsloci.c    11395]
    C  Try to connect with default password
    C  Connecting as SAPDEV/<pwd>@DEV on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 000000000EE4FF20 000000000D0CDA90 000000000D0CD3C8
    C  Attaching to DB Server DEV (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78)

    C Mon Oct 05 08:43:41 2009
    C  Starting user session (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78,usrhp=000000000EE71C70)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1033
    [dboci.c      4508]
    C  Detaching from DB Server (con_hdl=0,svchp=000000000D0CD298,srvhp=000000000EE67F78)
    C  *** ERROR => CONNECT failed with sql error '1033'
    [dbsloci.c    11395]
    B  ***LOG BV3=> severe db error 1033      ; work process is stopped [dbsh#3 @ 1199] [dbsh    1199 ]
    B  ***LOG BY2=> sql error 1033   performing CON [dblink#3 @ 428] [dblink  0428 ]
    B  ***LOG BY0=> ORA-01033: ORACLE initialization or shutdown in progress [dblink#3 @ 428] [dblink  0428 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1283]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   9708]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server DEVDEV_00 on host DEVDEV (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Mon Oct 05 08:43:41 2009
    M  *  RELEASE     640
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        9893
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   730]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  255]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 4936) [dpnttool.c   357]
    Regards,
    Kumar

    Hi Sunny,
    Thanks , i have try to stop the database and then startup the database. Then it is giving me error
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1109237592 bytes
    Fixed Size                   737112 bytes
    Variable Size             587202560 bytes
    Database Buffers          520093696 bytes
    Redo Buffers                1204224 bytes
    Database mounted.
    ORA-01113: file 3 needs media recovery
    ORA-01110: data file 3: 'I:\ORACLE\DEV\SAPDATA3\DEV_1\DEV.DATA1'
    Please suggest what next command to recovery database in oracle 9i.
    Thanks,
    Kumar

  • How to post a XCelsius in the BPC Web Application Getting Started page

    Hi Experts,
    I'm new using BPC 7.5 on NetWeaver. When opening the Getting Started tab in the BPC Web Application there is a white page that I would want to fill with content. This content should be a XCelsius Dashboard linked to the Query or InfoCube on which I`m planning. Creating the XCelsius Dashboard is not the problem, but to insert it in the Getting Started panel of the BPC Web application. Has anyone an idea how to do it or how to proceed. Ideas or a little how-to would be perfect.
    Thanks very much in advanced,
    Àlex

    Hi.
    Try this...
    const string LIST_PAR_NAME = "lu";
    string listName = string.Empty;
    if (this.Request.Params.AllKeys.Contains(LIST_PAR_NAME))
    listName = this.Request.Params[LIST_PAR_NAME];
    else
    throw new ArgumentException("Par lu is not present.");
    SPList listExport = web.Lists[listName];
    However take a look at this
    http://zsvipullo.blogspot.it/2013/10/get-splist-from-internal-name.html?q=getlist
    to check how GetList method is faster than web.Lists[].
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

  • I deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    i deleted most visited, latest headlines, getting started, yahoo, youtube, apple in mozilla's folder,how to get it back like the first time i installed? thx

    if you hid the menu bar and the navigation bar simply press the alt button, this will bring back the menu bar and form there you can right click and select which bars you want shown

Maybe you are looking for

  • Problem Running SSIS Package with a SQL Server Agent

    SQL Server: SQL Server 2012 VS: Visual Studio 2012 Hello,       I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages

  • How to run 32-bit PS plugin on CS5 in 64-bit Mac processor?

    Hi... I have developed an automation plugin for PS CS 3,4 & 5 using CS4 SDK in 32-bit Mac processor. I wanted to have a single build for all the three versions. I am unable to run my plugin on CS3, it loads, but no dialog comes up on clicking the men

  • How can I get the PDF to retain margins set in Word document?

    Uploaded a Word 2003 document for conversion. Conversion to PDF successful, but the PDF has different margins and page breaks. How do I get the PDF to retain the set margins?

  • HOWTO remove an entry from the node list...

    Hi all, does anybody know, howto remove an entry from the node list TAB ? I recentyl updated my system to 11.5.10.2 including enabling autoconfig. Now, concurrent processes won't start, because of two entries in the node list tab (yes, it's a single

  • New software is junk.

    DONT BUY A CANON! I did because I liked my old Canon and loved the software. The new software is worse than junk. OMG, It's terrible.