Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Gauges and doubts regarding game apps on j2me

  1. #1
    Junior Member
    Join Date
    Jul 2012
    Posts
    1
    My Mood
    Confused
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Gauges and doubts regarding game apps on j2me

    I'm a student who is currently working on a game app.This is the first time i'm using j2me.

    My game basically involves an object that jumps on planks to get to the top.
    Could u please help me with the following:

    1. How to implement gauge without using a form. ( as i use display.setCurrent(my game object) i cannot use form.)

    2. I need the gauge for levels. Each level has to be completed in a specific amount of time. How do i let my user increase his/her speed??
    For now i have given a fixed speed as i'm using sprites for my object and i had to set the time for each frame of the object.
    The planks are randomly generated and have a function slide() that moves these planks down the screen as the object moves up.
    Slide() is called by PointerPressed() only when the object moves up by a certain distance.
    So for now the user can take his on sweet time to move from plank to plank. Please suggest a better approach.

    Thanks


  2. #2
    Junior Member
    Join Date
    Jul 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Gauges and doubts regarding game apps on j2me

    why do you need a gauge?
    and try using different canvas objects and slide them in.

Similar Threads

  1. Simple Checkers Game in J2ME
    By chris2307 in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: February 26th, 2011, 07:40 AM
  2. iPhone apps with java
    By vahik92 in forum Java ME (Mobile Edition)
    Replies: 5
    Last Post: January 3rd, 2011, 05:51 AM
  3. Doubts Over Base Class
    By rakesh86shankar in forum Object Oriented Programming
    Replies: 1
    Last Post: September 29th, 2010, 09:04 AM
  4. help with java apps.
    By Brt93yoda in forum Java Theory & Questions
    Replies: 5
    Last Post: August 30th, 2010, 11:36 AM
  5. Urgent Doubts
    By shilpareddy553 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 27th, 2010, 02:26 AM

Tags for this Thread