How to make a game menu..

How do you go abouts on making a game menu???
I Know how to make a button with gotoAndStop, and gotoAndplay. I understand timeline coding. And have started with classes and OOP, im ok at writing classes i guess.
But I have know idea how to make a menu that has basic things like instructions start ect basic things.. I have a library with a exported SWC, so i presume i need to grab my graphical assets from this, correct? or is there other ways?

Thank you for this i have stumbled upon this before.
Now really the real question is how do i add my game to that? I have a Main class attached to my game currently.. With a FLA holding graphics (I know i can add my buttons to this fla.) Thats the problem my game is currently the documents class. So if i change it to the main provided by emmanuel. that communicates with the the_game_itself.as, but im unsure as to how im supposed to put my code in this and still communicate with the main document class?
If you want to see my code, let me know.

Similar Messages

  • I need to know how to make a game !!!!!

    I am 12 years old and i need to know how to make a game... i'm very good with computers and i just need to know how to make a game.. like runescape.

    you should start with something little, first try do make a rectangle on screen, then try to make it move.
    if you're past that, then you're allmost there.
    of course, eventually during making a game like runescape you would need lot's of knowledge about data structures and matm and physics and whatever is also needed in order to cread 3D universe.
    but with little practice you get to be master.
    good luck.

  • Dose any one know how to make a game simular to runescape?

    what i am talking about is i want to make a agme for my website.
    i want it to be a mulity user game where charators can interact with another. So dose anyone have any videos i can whats like a tortorial to make one or any info.
    Thank you for ur help.

    I dont know how to make a game like runescape, but to be quite honest it was runescape that got me starting. In april last year I toke the Java tutorial with the aim to create an online multiplayer role playing game. When I was done with the tutorial I posted some messages i gamecreation forums around to try and find a designer to work with. Around august last year I found him and we had a conversation about how to do it. He told me about opengl, animation techniques and alot of other stuff that day. Stuff I didnt understod the first thing about. But he told me to read up on it since it was good stuff to know if you want to make a good game.
    I toke some tutorials at NeHe's openGL site. They are not the best I have seen but they taught me the basics. after that I did something cracy. I tried to find out how to make skeletal animation work so we could use my designers skeletal animated 3d models. I wrote a parser and 3 month later I understod and implemented skeletalanimation into the engine. Btw. I use something called JOGL to access OpenGL from Java. Next step was to implement tweening, kamera and thats where I am now.
    I toke a loan im my appartment to give me untill feb. 2007 to finish something and Im working everyday on this project. Good thing is that my designer is just as devouted and has also made arrangements so he doesnt have to work for a while. Now he can use all his time rigging, animating and making textures for characters, monsters, the world and so on.
    Its looking good so far and I havent lost my motivation and lust yet, but there is a long way to a finished game.
    I still have to learn about collision detection, culling, octrees, networking and a billion other issues but I enjoy leaning and working with it.
    When thats done there will be gameplay, AI, a balanced economy system and so on to develope.
    Its a long journey, but if all this dont hit you in the stomach and if you think you have the mental stamina for it, I would say go for it. If you succeed, good for you. If not, you gave it a shot!
    Good luck!

  • How to make a good menu!!!

    Hi!!!
    How can I make a good menu that it executes at runtime? Also this menu has to read a .txt file, which has the user permissions to display the menu according the connect user.
    I try to do with javascript, but I don't know to read a file.txt with javascript and to give the parameters to the .java of the page.I have read a lot of manuals of studio creator and javascript and I don't read anything to do this.
    I also see that some people do these menus in jsp, but the studio creators jsp code view is in XML, and the tutorial and examples of jsp are in pure jsp with html, so I can't use in studio creator.
    Thankssss

    I've read about the destruction due to sweat and have been careful where I put the iPod. I'm in the humid deep south, so I have a real concern.
    I took it out on a run during a rainstorm on Jan 1, but didn't use the earphones. It only came along so it could record Nike+ data, and it was inside a baggie so it had a better chance of staying dry. It did fine.
    My concerns are keeping moisture out of the data port and the headphone jack. Since I've got the Nike+ dongle, it's more difficult for moisture to get in there.
    I've only had it in mild weather, minus rain. If it's fair weather, it clips to the front of my shorts off to the side, where I've seen that I tend not to drench my shirt with sweat. I thought of using a wrist strap, but there's been too many times where I've had sweat dripping off my wrists/palms.
    Of course, this is way off topic, but I thought I'd give you my opinion.

  • How to make a sidebar menu with subsection?

    Hello
    I've been trying to make a sidebar menu with subsections you can expand and collapse both in muse and edge animate but I just can't. I've search the net for tutorials for two weeks now, it's like such a menu just doesn't exist even tho I've seen them on several sites.
    Thos is a picture of how I want it to look:
    As a default, you can only see "home" and the two "subject". Then when you click on the first "subject", the two "tutorials" expand down, when you click on the individual "tutorials" the parts of that tutorial expands down. When you click on the buttons that expand subsection again, they collapse.
    As I've said I've search for tutorials for weeks, the person I'm making the website with has also search without any luck at all. I've found a tutorial that lets me have 1 button with subsection expanding when mouse is over it, but nothing where there are buttons below the button you expand. I'm starting to thing it's just impossible, but I can't understand how it should be impossible. In case it actually is possible I need to re-thing the way I organise and navigate the entire site.
    There is gonna be a whole lot of content on the site, we expect it to grow with up to 100 pages a month, therefor the navigation is obviously very important.
    I really hope someone can help me! A link to a tutorial I haven't been able to find or a description on how to do it, thanks!

    Hi,
    I am relatively new to Muse and hardly an expert, but I just did what you are describing.  Go to the Widget Library, Compositions > Blank.  In the Target, insert a Vertical Menu (also in the Widgets Library).  In the Options menu, under Menu Type select All Pages.  If that doesn't work the way you want it to, you might have to select the Manual menu option.
    Here's a short tutorial on how to use the Compositions Widget:
    Adobe Muse Mega Menu Dropdown Widget | MuseThemes.com
    Other tutorials that may help:
    http://terrywhite.com/how-to-create-a-dynamic-sliding-menu-for-your-mobile-website-in-adob e-muse/
    How To Create A Sliding Menu for Your Mobile Website in Adobe Muse - YouTube
    You might also look at Panels > Accordion.  You can insert your menu into the Accordion Target.
    Hope this helps.
    John

  • How to make a sidebar menu with drop down submenus

    I would like to make a sidebar menus as shown below. When you first get the menu only the home and subject button are shown, as you click on a subject you get the different tutorials and as you click each tutorials you are shown the parts. If you are on one a part page you will still have that part shown in the menu but if you click on it in the menu the it's collapsed again. I can't find anything about how to do this.

    Hi,
    I am relatively new to Muse and hardly an expert, but I just did what you are describing.  Go to the Widget Library, Compositions > Blank.  In the Target, insert a Vertical Menu (also in the Widgets Library).  In the Options menu, under Menu Type select All Pages.  If that doesn't work the way you want it to, you might have to select the Manual menu option.
    Here's a short tutorial on how to use the Compositions Widget:
    Adobe Muse Mega Menu Dropdown Widget | MuseThemes.com
    Other tutorials that may help:
    http://terrywhite.com/how-to-create-a-dynamic-sliding-menu-for-your-mobile-website-in-adob e-muse/
    How To Create A Sliding Menu for Your Mobile Website in Adobe Muse - YouTube
    You might also look at Panels > Accordion.  You can insert your menu into the Accordion Target.
    Hope this helps.
    John

  • HOW TO MAKE THIS GAME MULTIPLAYER???

    its in java but i would like to know how to make it multiplayer so i can host a game for others over the internet
    http://www.nintendo8.com/game/321/tecmo_super_bowl/
    theres the link to the game

    KRhodes330 wrote:
    its in java but i would like to know how to make it multiplayer ...By leaning Java.

  • How to make slide down menu?

    How to make such slide down menu like on the page: [categories in Whohas directory|http://www.whohas.com/]? Press on "[+] WHoHas DIrectory".
    I can't find anything in code...

    This is a Java forum. What you want is a JavaScript forum. I know it is a bit confusing but I thought the missing Script bit would have been a dead give away.

  • How to make drop down menu

    Hi,
    Iam just wondering if somebody can tell me how to make drop down menus....or direct me to a URL so that i can get some sample code for how to make drop down menus like this:
    + drop down
    abc
    + first
    + second
    - third
       third-des
       third-des2
    i would really appreciate it.
    thanks all.
    -sangita

    Hi,
    something is working .....thanks.
    I have created a java class file as shown below and i did able to run it.........:)
    here is my code:
    package AppMirror;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MenuLookDemo {
        public JMenuBar createMenuBar() {
            JMenuBar menuBar;
            JMenu menu;
            JMenuItem menuItem;
            //Create the menu bar.
            menuBar = new JMenuBar();
            //Build the first menu.
            menu = new JMenu("Menu Label");
            menuBar.add(menu);
            //a group of JMenuItems
            menuItem = new JMenuItem("Item Label");
            //menuItem.addActionListener(actionListener);
            menu.add(menuItem);
            return menuBar;
        public static void main(String[] args) {
            //Create and set up the window.
            JFrame frame = new JFrame("MenuLookDemo");
            //Create/set menu bar and content pane.
            MenuLookDemo demo = new MenuLookDemo();
            frame.setJMenuBar(demo.createMenuBar());
            //Display the window.
            frame.setSize(450, 260);
            frame.setVisible(true);
    but when i see the applet, it doesn't look the one i wanted to see......
    this shows the top menu bar ....but not the + drop-down.
    any ideas ???
    sorry, i don't know anything about swings, applets.....

  • How to make "show all menu items" permanent?

    Does anyone know a preference setting in CS4 to make "show all menu items" enabled all the time?  I use certain menu items regularly which require the extra step of chosing "show all menu items" before they will appear in the menu.  I would love to change this irriating setting.  I have searched preferences over and over and I know there must be one that addresses it, but I cannot spot it.

    The essentials workspace should show all the menu items:
    Window>Workspace>Essentials.
    If you want a different layout or to add panels to the workspace, rearrange/add
    to the workspace (panels) and then save a new workspace under a different name.
    Window>Workspace>Save Workspace.
    MTSTUNER

  • How to make side navigation menu using ADF

    Hi,
    I wanted to make a side navigation menu, like, there is a vertical menu and if I place the cursor on(or select) one of the menu item and it shows the children menu items sideways( having go links).
    How can I achieve that?
    I am using Jdev 10.1.3.3

    If I understand your requirement you're looking for something like this: http://deluxe-menu.com/sound-support-sample.html
    Under 10.1.3 using ADF Faces I don't believe there is a component available to achieve this. Potentially under 10.1.3 you'll need to look to a 3rd party Javascript solution. Whether this will work with ADF Faces + JSF navigation is questionable. Potentially others on the forum can comment.
    As an alternative solution under 10.1.3 you may want to look at using an af:tree component instead. It wont be as nice as the solution shown above, but will give you a multilevel menu selection.
    Regards,
    CM.

  • How to make JMenubar's menu  multiple rows?

    These days I can not get any answers here about JMenubar. Is it possible????
    I want to JMenubar to show multiple-rows menu such as flowlayout behavior.
    But even I set flowlayout to JMenubar, the menu only display one row.
    How to resolve thie problem???
    Thank you !!!

    Hi, the problem is solved. The record will be created in same way. just create more then one keys (allowing to make composite key in DB table)

  • How to make 1 spry menu for the entire site? but not on each page

    i have a website that i wish to have multiple pages available all form the same menu and late and probably at regular intervals add more tabs to the menu
    is there a way to create a spry menu speratley that the page some how references, something like a frameset but without using framesets?
    im sort of new to webdesigning and unsure of the correct terminology, so i am finding it difficult to look up stuff that i don't know the name for, but will gladly go read someting if you point me in the right direction.
    regards
    for now
    wayne

    You can do this with PHP or ColdFusion
    These are "server side" scripting languages so you will have to test your website after you upload to you web hosting account.
    Or if you set up a local server. Without the local server you will get errors when you open them in firefox.
    To use the following what you do is "Cut" the part you want to be on all pages out, "Paste" it into a seperate document and in its place on your page you put one of the following suitable tags.
    You will also have to rename your main file to .php or .cfm as opposed to .html
    Again, whatever page you put one of these tags on, their extention must change match the type of tag used.
    First Method (PHP):
    PHP is the more common method -
    <?php @ require_once ("yourMenu.html"); ?>
    Require_once is basically a safeguard so that you don't add the menu twice onto a page.
    This will only work for PHP 4+
    This method would work for older versions of php too -
    <?php @ include("yourMenu.html"); ?>
    Second Method (ColdFusion):
    This will only work if your host has ColdFusion installled -
    <cfinclude template="bla.html">
    eg index.html
    <html>
    <head>
    <title>Stuff</title>
    <head>
    <body>
    <?php @ require_once("SpryMenu.html"); ?>
    </body>
    </html>
    SpryMenu.html
    <ul id="menubar1" class="MenuBarHorizontal">
        <li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
            <ul>
                <li><a href="#">Item 1.1</a></li>
    </ul>

  • How to make my game scroll more smoothly ?

    Hello! I'm new at Java, however I have some programming experience.
    I would like to make a tile engine. On the following link is an example of what I have so far:
    [link-->|http://members.home.nl/bramdenhond/testjava/]
    If you move your mouse over the area, the world scrolls.
    However, I don't think it scrolls smoothly enough.
    In the tutorial I was following, this technique was recommended for double-buffering:
            //** Update - Method, implements double buffering */
            public void update (Graphics g)
                  // initialize buffer
                  if (dbImage == null)
                        dbImage = createImage (this.getSize().width, this.getSize().height);
                        dbg = dbImage.getGraphics ();
                  // clear screen in background
                  dbg.setColor (getBackground ());
                  dbg.clearRect(0, 0, this.getSize().width, this.getSize().height);
                  //dbg.fillRect (0, 0, this.getSize().width, this.getSize().height);
                  // draw elements in background
                  dbg.setColor (getForeground());
                  paint (dbg);
                  // draw image on the screen
                  g.drawImage (dbImage, 0, 0, this);
            }For the timing, I'm using a Thread, as recommended in the tutorial:
             public void start ()
                  // define a new thread
                  Thread th = new Thread (this);
                  // start this thread
                  th.start ();
              public void run ()
                  // lower ThreadPriority
                  Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
                  // run a long while (true) this means in our case "always"
                  while (true)
                        // repaint the applet
                        repaint();
                        try
                              // Stop thread for 20 milliseconds
                              Thread.sleep (2);
                        catch (InterruptedException ex)
                              // do nothing
                        // set ThreadPriority to maximum value
                        Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
               }I was wondering if someone if this is indeed the best approach, and if there are
    any alternatives.
    Thanks!

    Hi all,
    I've changed this source code so I can move the character from bottom to up but scrolling background is up to bottom. How I can change this class for scrolling background from up to down and not viceversa?
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.image.BufferedImage;
    import java.awt.Image;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.MediaTracker;
    import java.awt.Toolkit;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.Timer;
    public class JAniDemo {
      private BufferedImage biBackground = null;
      private Toolkit tk;
      private JFrame f;
      JAniDemo(){
        tk = Toolkit.getDefaultToolkit();
        f = new JFrame("AniDemo 1.0");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        loadBackground("C:\\image.png");
        myPanel p = new myPanel(biBackground);
        f.add(p);
        f.pack();
        f.setVisible(true);
      private void loadBackground(String fn){
        Image im = tk.getImage(fn);
        MediaTracker mt = new MediaTracker(f);
        mt.addImage(im,0);
        try{
          mt.waitForID(0);
          biBackground = new BufferedImage(800, 641, BufferedImage.TYPE_INT_RGB);
          Graphics2D g2 = biBackground.createGraphics();
          g2.drawImage(im, 0, 0, null);
          g2.dispose();
        }catch(InterruptedException e){
          System.out.println(e.toString());
      public static void main(String[] args) {
        new JAniDemo();
      class myPanel extends JPanel implements ActionListener{
        private BufferedImage background;
        private BufferedImage bi = null;
        private int upperCorner = 0;
        int width;
        int height;
        myPanel(BufferedImage bg){
          super();
          background = bg;
          width = background.getWidth()/2;
          height = background.getHeight();
          bi = background.getSubimage(0,upperCorner,width,height);
          setPreferredSize(new Dimension(width, height));
          Timer t = new Timer(25, this);
          t.start();
        public void actionPerformed(ActionEvent e){ 
          upperCorner -= 1;
          if(UpperCorner >= height) UpperCorner = 38;  // adjust to make rollover seemless
          bi = background.getSubimage(0,UpperCorner,width,height);
          repaint();
        public void paintComponent(Graphics g){
          g.drawImage(bi, 0, 0, this);
    }Please see this changes of original source code:
    bi = background.getSubimage(0,upperCorner,width,height);
    width = background.getWidth()/2;
    if(UpperCorner >= height) // for vertical
    upperCorner -= 1; // for up to down scrolling
    Can you help me? Thanks.
    Regards.
    Edited by: Rapworld on Jun 9, 2010 11:19 AM

  • How to make a motion menu

    This might seem like a very stupid thing, but I just can't seem to make a menu with video in the background! I've looked in all the manuals, but it seems as if it just won't work (??)
    Steps so far:
    - using DVD studio pro 4
    - dragged video clip to menu viewer -> set as background. no problems with playback, audio works fine too.
    And it goes wrong after that... If i create a button by simply dragging a square, selecting different highlight options, it doesn't show me a result. Do I need to build the DVD before seeing such changes? I also tried dragging .psd images onto my menu, and it shows them fine, but without changes in 'states' (normal/selected/activated)
    I feel like I'm missing some very minor, but important detail, can anybody help, or point me to a post/forum/ page in the manual that I missed?
    Thanks in advance...
    G5 Dual 2.3GHz   Mac OS X (10.4.3)  

    Could it be that you didn't assign any 'style' to the button rectangle that you drew out?
    It has happened to the best of us, I'm sure...

Maybe you are looking for

  • How to go on production system for webcenter sites

    Hi, I have installed the webcenter sites and deployed them on weblogic. AVISports and FirstSiteII sample sites also been configured, now how can I go on delivery/production url? IF we need to install gadgets on top of it then how can we proceed? Than

  • Short Dump During List processing

    Hi , Problem Desc:     A program when it runs in production has huge number of data to be displayed in the list .While doing the write statement the internal table(system assigned internal table for list processing '%_LIST') exceeds the memory limit

  • Error Log in "css.log" file

    Hi Everybody, I am experiencing to launch Oracle XE homepage. The error as I have read on "css.log" file is as follows: [OCRUTL][2132] u_set_comp_error: Parameter was NULL [OCRUTL][2132] u_set_ocr_error: Parameter was NULL [OCRUTL][2132]utgdv:1:could

  • Trying to turn off two step verification but just stuck in an infinite loop

    So, I try to turn two step verification off, I go to manage my ID, to Security and choose Turn off Two Step...so far so good I am told that I have to choose three security questions, enter my DOB and provide a recovery email, then press Continue...st

  • Ignore specific file (BT NetProtect Plus)

    Is there any way to set BT NetProtcet Plus up so it will ignore a specific folder? The reason is because I have a folder with a file in it that BT NetProtect Plus keeps thinking is a virus and deleteing it when I know for a fact it is not a virus. I