Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2006

    Question Sprite Collision Mechanics


    I am able to simulate sprite collision over two sprites .. a bike sprite and an obstacle sprite. However I would not want the collision to trigger when the pixels collide. Is it possible to have a method by which we can have the two sprites colliding for a defined coordinate (x1, y1) for Sprite1 and (x2, y2) for sprite2.

    Right now as the helmet of the bike rider comes in contact with the top of the obstacle, the collision is triggered. It should not happen that way.

    Please help me as it is urgent.


  2. #2
    Super Contributor
    Join Date
    Mar 2003

    Re: Sprite Collision Mechanics

    You could use Sprite.defineCollisionRectangle() with a 1x1 rectangle.


Similar Threads

  1. Is MIDP2.0 over Symbian OS slow?
    By epolitakis in forum Mobile Java Games
    Replies: 7
    Last Post: 2007-03-16, 09:32
  2. Sprite GameCharacter Movement & Sprite Deletion
    By bloodyknight in forum Mobile Java General
    Replies: 2
    Last Post: 2004-07-10, 02:34
  3. Fast Sprite Effects on Series 40/30
    By leissler in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-09-29, 10:10
  4. My Questions are not getting answered
    By earamsey in forum Symbian
    Replies: 1
    Last Post: 2003-06-04, 17:26
  5. Severe RResourceFile Error, HELP!
    By earamsey in forum Symbian
    Replies: 0
    Last Post: 2003-06-02, 19:34

Posting Permissions

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