Problems with j2me gaming

Hi guys. I need you to help me with this problem. I'm developing a j2me game using netbeans and the gamebuilder component. So everything it's ok, but the problems come when I charge the application into my cellphone. The first problem is on the collidesWith() method. In spite of the hero sprite and the enemy sprite are saperated from many pixels, the CollidesWith method fires by itself. As an example, the hero sprite is at the top of the screen and the enemy sprite is at the bottom of the screen, when the level begins, the collidesWith() method fires so the application show the game over screen as if the enemy touched the hero, which is not true.
The second problem is that when I try to stop the threads. For example if the hero sprite dies, all of the threads which drives the enemies should stop, so the player needs to restart the level for try again the level. The problem is that when the levels restarts, some of the enemies doesn't move.
Any of you know what the problem could be it?? I'll appreciate your quick answers. Thanks in advance.

HI Friend:
You install jdk1.5.try it!

Similar Messages

  • Router problems with online gaming

    Hi,
    I have problems with online gaming. My router is  Linksys wrt54g2 and modem is ZTE ZXDSL 831AII and with two computers. I can't play any onlines game for example Counter-Strike 1.6 or Counter-Strike: Source. When I'm trying to connect in those games servers when it loads too bars I'm geting error that says: "Connection failed after 4 retries". Also I can't play StrongHold, Combat Arms and Battlefield2. I try to bypassing my router by connecting computer directly to my modem and games works. What I should do? Please help me.

    Do you have problems with web browsing or other online applications? If not, the problem may lie with the games themselves. It's possible the games require ports to be forwarded to work correctly. Check the game documentation and see if this is the case.

  • Disconnection problems with online gaming - world ...

    Other users on BT have alos reoported issues with game hangs and diconnection issues with World of Tanks.
    They seem to have started a few days ago. Someitme it is intermittant other times it can last for several minutes.

    Having the same issue since yesterday 6th September 2012.
    World of Tank client keeps disconecting, then has issues logging back in to the client.
    This seems to be hapening to a lot of other players in the UK all on BT
    http://forum.worldoftanks.eu/index.php?/topic/149124-lag-and-disconnection/
    BT had the same problem with World of Warcraft recently, something to do with a BT peering issue. I can only hope this problem is sorted soon.
    No other internet activity is affected.

  • Problems with J2ME and JAX-RPC

    Hi,
    I am trying to write a J2ME web service client. I have generated the stub classes with wscompile from the wsdl document at http://www.webservicex.net/stockquote.asmx?WSDL. However, when I try to run the MIDlet I always get the following error message:
    [wtkpreverify] Error preverifying class javax.xml.rpc.encoding.Serializer
    [wtkpreverify] java/lang/NoClassDefFoundError: java/io/Serializable
    I am using Eclipse 3.1, Antenna 0.9.13, the Web Service Development Kit 2.0 and the WTK 2.3 beta.
    The necessary jars (the WTK libs, rt.jar from the JRE, activation, mail, saaj and jax-rpc libraries from the WSDK) have been included in my classpath.
    Does anybody know how to fix this problem? Any help is much appreciated.
    Regards,
    Motivated

    Thanks, that was my mistake.
    Instead of using wscompile, you must generate the stub classes with the WTK. Then, you set a reference to the j2me-ws.jar (JSR-172). No additional libraries from the Web Service Development Kit are required.

  • Problem with 970 Gaming Motherboard?

    I am fairly certain that this motherboard (970 Gaming) is quite "broken" There are quite a few complain on this forum and i believe they are experiencing the same problem as i am. When i boot up my pc, sometimes it wont display image, so i need to keep resetting. Also, sometimes PC just randomly shuts off, no matter if im under load or not. This MB is quite new so i guess its kind of expected. Do you think it could possibly the BIOS?
    CPU: fx8350 stock speed
    GPU: XFX r9 280x stock speed
    MOBO: MSI 970 Gaming
    HDD: 1TB Seagate
    SSD: Corsair 128GB LX
    PSU: EVGA 850w Bronze

    Is the RAM matched kit (i.e. 2x4gb) or single modules (i.e. 2x 1x4gb) ?
    Try with minimal setup: single RAM stick, no GPU, only keyboard and mouse connected, only HDD/SSD with OS on it and best if the motherboard is outside of the case.

  • The problem with the gaming performance

    i am usin hp 15-g206ax notebook and it have a quadcore processor and 4gb ram and a 2gb graphic card but its gaming performance is not good Please tell me what i can do for improving the gaming performance

    There is not much to be done. You have the AMD HD 8570M graphics with dedicated video memory. That is in the lower middle of the spectrum as far as gaming is concerned. Way better than most laptops but way less powerful than a true gaming machine. Just keep the drivers current is about all. Turn down visual effects. There is no upgrade possible for the hardware.

  • Problem with Online Gaming

    I play a game called Command and Conquer Genrals Zero Hour it will play perfectly fine with 11 ping, then it will suddenly lag out. The Interent does go off or anything it just says disconnected form the game. Any ideas? I have UpNp enabled.

    You say it's peer to peer, could it be that when you start the game you may have started it during a time when p2p is unrestricted and then as time goes on the p2p restrictions come into play causing you problems?
    Search for glasnost test and run that, this will tell you if p2p is restricted or not but be warned you will have to run this at different times of the day as BT's restrictions changes during the day.
    If you are on an unlimited pack but signed up before February you will need to "recontract" to one of the new unlimited packs to get unrestricted p2p.

  • Path problem with j2me wtk emulator tool

    i am trying to run a midlet that uses an optional package ('location' for
    GPS interface). When I compile the system sees the package and e'thing is
    fine. But when I try to run the midlet, I get 'NoClassDefFoundError'. I
    have tried adding the path to the emulator script but with no effect. And
    when I add the following code to see the run time paths being used, the
    system displays 'null':
    import java.util.Properties;
    System.out.println( System.getProperty( "java.class.path" ) );
    Thanks,
    Tom Arnall
    north spit, ca

    when using j2me, I added the following code to see the run time paths being used, and the system displayed 'null':
    import java.util.Properties;
    System.out.println( System.getProperty( "java.class.path" ) );
    is the 'class.path' key supported under j2me?
    thanks,
    tom arnall

  • Problem with X99S GAMING 9 AC - PCIE-PORT reporting V1.1 same with SLI

    Yeah as the topic is saying, I got issue with my PCIE 3.0 ports, they are saying my grafic cards are running at x8 1.1
    I should first mention that I had these issues for a while, and I also updated all drivers to the latest versions, but still same issues. I got the 1,4 bios version for the motherboard and the nvidia V344.65 that was released today.
    I tried to change it in bios from auto to gen 3 on the PCIE-ports, but still same results.
    I made a post earlier about that SLI running slow in WoW and 3Dmark Firestrike. Maybe this is the source to the issue due to the ports running at 1.1 and not 3.0?
    Also, in both WoW and 3Dmark Firestrike, I get much higher FPS and results with just one grafic card activated, when I go into SLI the results drop like a rock..
    The weird thing about SLI though, that it seems to work okay in games like Diablo 3 ROS and 3Dmark11.
    I have my grafic cards in the recommended PCIE-ports, 1 and 4.
    Here is a screenshot how it looks like in GPU-z:
    Is this a known issue and is there any upcoming fix to this? Feels really bad I can't use my grafic cards to their fullest potential..
    My whole computer setup:
    Intel i7 5820K | MSI X99S Gaming 9 AC (bios 1.3) | SLI MSI GTX 980 Gaming 4GB | Samsung 850 Pro 512 GB | WD Red 4TB | G.Skill Ripjaws DDR4 3000MHz 4x4GB | EVGA SuperNOVA P2 1000W | Noctua NH-U14S PnP | Fractal Design Define XL R2 | 5 Noctua NF-A14 PWM 140mm fans | Windows 7 Pro 64 bit

    Quote from: Svet on 12-November-14, 23:58:15
    its probably because the render test doesn't handle or don't support SLI well and second card become back to idle
    run something else apps., bench or games who support SLI well then check their modes
    Enable sli load balancing if needs from nvidia control panel to check SLI utilization
    Seems to work the correct way when I start a game, but still got issues with WoW and 3Dmark firestrike. My results with SLI is far worse then with just one single card activated. Anyone know why?
    I get more FPS from WoW with one card then two, and I get much higher score in 3Dmark firestrike with just one card..

  • Problem with z97 gaming 7 and i5 4690k

    Just assembled my new pc. when i boot the system, i get nothing on the screen and a post code of b2.  Any help would be appreciated!

    well i tried but nothing. this time i changed the ram from socket 2 to socket 4 and the message from the lcd is different
    with ram in 2nd slot: post 1 post 2
                                  0         1
                                  5         1
                                  9         1   im not sure its to fast
                                  b         2
    with ram in 4th slot   post 1 post 2
                                  0         1
                                  9         1
                                  5         1
                                  0         0
                                  3         3
                                  5         3
                                  3         7
                                  3         8
                                  3         9
                                  0         3
    after this the mb turns off and on again       
       

  • Problems with J2ME

    I need transfer data from servidor (web site) to MIDLET? , How i do it?
    please help me!!

    use httpconnection to access that server side application

  • Problems with pacman applet, and advice on a gaming portfolio

    Hi
    I recently made a pacman applet, im having a few problems with it though, the first time the applet is run on a browser, the ghosts(represented by squares) often dont appear or if they do, they are stuck in walls, this never happens when i run offline on my computer. Is this because the very first time the applet is run, it doesnt load properly, but the second time some of the files are in the cache so it loads fully?
    Also everytime i refresh the browser the applet dissapears and is replaced with a blank space and a cross in the top left hand corner, does anyone know the reason for this?
    The applet can be found below, if you do decide to play it, please bear in mind what i have said, so it might not load correctly the first time, if this is the case please refresh, or close the broswer and reopen the link! Also you will need to click the applet for it to gain focus before you can move pacman - use the arrow keys the control pacman.
    http://www.renaissance-designs.co.uk/Satwant/java/pacman/
    Id also be very gratful for some advice - id like a change in career, ive always wanted to get into gaming, ive had some previous knowledge in java i made a programme that could generate its own poetry in java for my dissatation, but i still never had a huge amount of confidence, and so went into websites.
    BUT now i have decided to take the leap back into programming and give it a go, which is why ive made this game.
    I thought id make a portfolio and try and apply for a few gaming jobs. This applet took me two weeks to make and it was in my spare time, i am fully aware its not perfect, and it doesnt look great, but i would like to know what people think of it, also how many more games do you think i should make, before i apply for gaming jobs? Does anyone have any advice on what would make a good portfolio for a java gaming job?
    Thanks alot, i look forward to what you think of the game, and your advice!
    SSKenth

    sskenth wrote:
    Thanks for getting back to me with that information, i didnt know you could see that information with just a simple right click!
    But im afraid that doesnt really help me solve the problem, im not sure what all of that information means! :SI have very little experience with applets, but I can tell you what I would do to debug this (forgive me if you already know this stuff).
    Look at the stack trace you get in the Java Console that I posted earlier. Each line contains a method that was called from the method on the previous line. So, java.lang.Thread.run() called sun.applet.AppletPanel.run(), which called Room.init(), etc. Look at the topmost line whose method is something you wrote, not something in the standard Java libraries. In your case it looks like PaintSurface.java (specifically, line 22). Look at what line 22 of PaintSurface.java is doing, it's calling Thread.start(). If you check out the Javadoc for Thread.start(), it says IllegalThreadStateException gets thrown if you call start() on a thread that has already started. So that's your problem. Without looking at your code, I'd assume you want to stop your thread in your applet's destroy() override, and instead of reusing it, create a new one each time init() is called.
    Ill try and look into, thanks again though, it gives me somthing to work with :D
    Btw when you first ran the applet, did all the ghosts(3) load up correctly?Unfortunately, no. The first time I ran it, there was only 1 ghost (or maybe all 3 overlapping each other?) at the top of the screen, and they never moved. Refreshing once made the game play as I think you want it to. Refreshing a third time gave the dreaded red X.
    ...oh and just out of curiosity,,, did u have fun playing the game :DSure did.

  • Problem with JPWR2 on a X99S GAMING 7

    Hi,
    Currently I have a problem with JPWR2 on a X99S GAMING 7 Motherboard. When I plug a 6 pin or a 8 pin on the JWPR2 the motherboard crash and the cable overheat or short-circuit. My power supply is a 1000W SIlent pro bronze. I tested with a new cable on another port on the power supply but it doesn’t work. I tested with without CPU too but still the same problem.
    Can someone help me ?

    you are using the Cooler master 1000W silent pro bronze right?
    Normally the power supply should have 4 pin or 8 pin,  the 6pin/8pin is normally for the VGA card and not for the Motherboard.
    Please double check again and use the 4 pin or 8 pin for the MB.   

  • Problem with Display.setCurrentItem() using J2ME-Polish

    Hi,
    I am fairly new to J2ME-polish and have encountered a situation that I am having a problem with. I am loading a form with a number of String Items. When I display the form I would like to focus to the last String Item that has been placed on the form. I have been using Display.setCurrentItem() in J2ME but when I try using it in J2ME-Polish I receive this message :"de.enough.polish.ui.Screen (3022): Screen: unable to focus item (did not find it in the container or is not activatable ) "
    Below is a snippet of my code.
            // si14 in a StringItem defined earlier in the code
            // It is the last stringItem placed into the form
            form.append(si14);
            display = Display.getDisplay(this);
         display.setCurrent(form);
         display.setCurrentItem(form.get(0));Thanks

    http://forums.sun.com/thread.jspa?threadID=686256&messageID=10864566

  • Image problem with my palm (J2ME Wireless Toolkit)

    Hi,
    I did a basic application. I just show an image and it works perfectly with the J2ME Wireless ToolKit.
    However, when I create the package, convert it and send it on my palm, everything is ok, except the image. It won't appair.
    I get an exception that the image couldn't be found, but when I use the emulator, everything is ok !!!
    The image is in the "res" directory, like it was asked in the manual.
    I tought that everything is encoded (text file or image file) when you create the package. If it's working with the emulator, why is it not working on my palm?

    I had a same problem with my nokia 3650 in J2me the image appears but not on the phone, I think that that is a bug and fixed it this way:
    when you make a jar package, unpack package with winRAR or some archive program in some temp directory and in that directory make a res directory an put the image in it, then repack theese files again including the res directory in a new jar file. It works for me. It looks that J2ME in compiling doesn't change the path, to root but leaves the res directory.

Maybe you are looking for

  • Urxvt and äöå

    Hey! I have this really hard-to-solve problem, so I decided to ask for help.. My keymap works just fine in other programs except for urxvt. Even in urxvt, all the other buttons except for ä å and ö work fine. Copy-pasting them doesn't work either, al

  • V2.1 Destinations Uncategorised.

    I upgraded my N97 to 2.1 I backedup my settings. Performed a hard reset. Restored my settings. When i now go to Destinations, they are all Uncategorised....... Any ideaS? 

  • How to update LTDX table for ZReport of T-Code FBL5N

    Hi, We have copied report RFITEMAR(T-code FBL5N) to ZRFITEMAR(T-Code ZFBL5N), to meet some of our requirement. Now, It is not showing Layouts in F4 help of screen field "Layout" in ZFBL5N and also we are not able to set default variant for the same.

  • Formula Options in Query Designer

    Hi, Can anyone please tell me while craeting a formula we have % option and %A option. Where do we use %A option? Thanks

  • Disk Utility not showing same disk space as get info on HD

    Hi, My Macbook Pro was really slow and i did Repair Disk and it seems to work much better. the problem is that when i get info on my HD it shows me that there is 200 GB free but when i go to Disk Utility it only shows me that there is 73 GB free??? H