×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    shmoove and other kind devolopers plz helpme

    Greetings....
    am a new devoloper and right now devoloping a j2me game.

    need help to :

    1- how can i rotate or scale an image in side the canvas ? or if there's any athor way to do so ???

    2- i wnt to move a ball for long distans by only one button click ! how can i do so plz?

    3-i have a back ground and a spacefic place for that ball to move in i wont prevent the ball from going out side that space ?


    i will be sooo graceful for youe help so plz reply to coz this is urgent.

    ps;
    sorry for asking too much questions

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Irving, Texas, USA
    Posts
    419
    The answer to your for first question is that scaling is not supported. You need to create separate images for each ball.

    The two other questions are related to general programming or graphics programming. It's not easy to give a short answer to them. Check info on using looping constructs for the second question. For the third, as you know the position of the ball, solution is boundary checking.

    Regards,

    Petteri / Forum Nokia

  3. #3
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    It has been a while since this was posted but this might still interest many people.
    Image scaling using pure MIDP (no propietary APIs):

    http://cvs.sourceforge.net/cgi-bin/v...viewcvs-markup

    If the link doesn't work then try:
    http://kobjects.org/utils4me/

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    thanx a lot to shmoove:)

    realy that was very help full inspite i posted long time ago ...
    i whould like u to contact me at emenim5@hotmail.com at soon as possible plz


    thanx again!

Posting Permissions

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