Package de.yaams.extensions.rgssproject.database.form

Examples of de.yaams.extensions.rgssproject.database.form.FormMusicEle


   */
  @Override
  public void buildPanel(FormBuilder f, EventCode e) {

    // build panel
    final FormMusicEle m = new FormMusicEle(I18N.t("to"), e.getYecl().getProject(), e.getId() == 132 ? RTP.BGM : RTP.ME, e.getParameters().get(0));

    // add type
    f.addElement("basic.me",
        CommandFormHelper.buildCodeIdChancer(e, I18N.t("Set"), new String[] { "132", "133" }, new String[] { "Battle BGM", "Battle ME End" }))
        .addChangeListener(new FormElementChangeListener() {

          @Override
          public void stateChanged(FormElement form) {
            m.setFolder("132".equals(form.getContentAsString()) ? RTP.BGM : RTP.ME);

          }
        });

    // add name
View Full Code Here


   */
  @Override
  public void buildPanel(FormBuilder f, EventCode e) {

    // build panel
    final FormMusicEle m = new FormMusicEle(I18N.t("Play"), e.getYecl().getProject(), getTyp(e.getId()), e.getParameters().get(0));

    // add type
    f.addElement(
        "basic.me",
        CommandFormHelper.buildCodeIdChancer(e, "", new String[] { "249", "250", "245", "241" }, new String[] { "ME", "SE", "BGS",
            "BGM" })).addChangeListener(new FormElementChangeListener() {

      @Override
      public void stateChanged(FormElement form) {
        m.setFolder(getTyp(Integer.valueOf(form.getContentAsString())));

      }
    });

    // add name
View Full Code Here

  protected void configForm(FormBuilder f, IRubyObject element) {
    RubyObject r = (RubyObject) element;

    // set it
    f.addElement("basic.frame", RubyForm.getNumber(I18N.t("Frame"), r, "@frame"));
    f.addElement("basic.se", new FormMusicEle(I18N.t("Soundeffekt"), project, RTP.SE, r.getInstanceVariable("@se")));
    f.addElement(
        "basic.scope",
        RubyForm.getComboBoxNum(I18N.t("Flash Scope"), JavaHelper.numAry(3), new String[] { "None", "target", "screen",
            "delete target" }, r, "@flash_scope"));
    f.addElement("basic.color", new FormColor(I18N.t("Flash Color"), r.getInstanceVariable("@flash_color")));
View Full Code Here

  protected void configForm(FormBuilder f, IRubyObject element) {
    RubyObject r = (RubyObject) element;

    // set it
    f.addElement("basic.frame", RubyForm.getNumber(I18N.t("Frame"), r, "@frame"));
    f.addElement("basic.se", new FormMusicEle(I18N.t("Soundeffekt"), project, RTP.SE, r.getInstanceVariable("@se")));
    f.addElement(
        "basic.scope",
        RubyForm.getComboBoxNum(I18N.t("Flash Scope"), JavaHelper.numAry(3), new String[] { "None", "target", "screen",
            "delete target" }, r, "@flash_scope"));
    f.addElement("basic.color", new FormColor(I18N.t("Flash Color"), r.getInstanceVariable("@flash_color")));
View Full Code Here

            // title screen
            form.addHeader("title", new FormHeader(I18N.t("Title"), "graphic"));
            form.addElement("title.graph", new FormGraphEle(I18N.t("Graphic"), project, RTP.TITLE, system, "@title_name", null));
            form.addElement("title.music",
                new FormMusicEle(I18N.t("Music"), project, RTP.BGM, system.getInstanceVariable("@title_bgm")));

            // game over screen
            form.addHeader("gameover", new FormHeader(I18N.t("Game Over"), "graphic"));
            form.addElement("gameover.graph", new FormGraphEle(I18N.t("Graphic"), project, RTP.GAMEOVER, system,
                "@gameover_name", null));
            form.addElement("gameover.music",
                new FormMusicEle(I18N.t("Music"), project, RTP.ME, system.getInstanceVariable("@gameover_me")));

            // battle screen
            form.addHeader("battle", new FormHeader(I18N.t("Battle"), "weapon"));
            form.addElement("battle.trans", new FormGraphEle(I18N.t("Transition"), project, RTP.TRANSITION, system,
                "@battle_transition", null));
            form.addElement("battle.mus",
                new FormMusicEle(I18N.t("Music"), project, RTP.BGM, system.getInstanceVariable("@battle_bgm")));
            form.addElement("battle.start",
                new FormMusicEle(I18N.t("Start"), project, RTP.SE, system.getInstanceVariable("@battle_start_se")));
            form.addElement("battle.end",
                new FormMusicEle(I18N.t("End"), project, RTP.ME, system.getInstanceVariable("@battle_end_me")));
            form.addElement("battle.es",
                new FormMusicEle(I18N.t("Escape"), project, RTP.SE, system.getInstanceVariable("@escape_se")));
            form.addElement("battle.adie",
                new FormMusicEle(I18N.t("Actor die"), project, RTP.SE, system.getInstanceVariable("@actor_collapse_se")));
            form.addElement("battle.edie",
                new FormMusicEle(I18N.t("Enemy die"), project, RTP.SE, system.getInstanceVariable("@enemy_collapse_se")));

            // another soundeffects
            form.addHeader("sound", new FormHeader(I18N.t("Sound effects"), "audio"));
            form.addElement("sound.dec",
                new FormMusicEle(I18N.t("Decision"), project, RTP.SE, system.getInstanceVariable("@decision_se")));
            form.addElement("sound.can",
                new FormMusicEle(I18N.t("Cancel"), project, RTP.SE, system.getInstanceVariable("@cancel_se")));
            form.addElement("sound.buzz",
                new FormMusicEle(I18N.t("Buzzer"), project, RTP.SE, system.getInstanceVariable("@buzzer_se")));
            form.addElement("sound.equip",
                new FormMusicEle(I18N.t("Equip"), project, RTP.SE, system.getInstanceVariable("@equip_se")));
            form.addElement("sound.shop",
                new FormMusicEle(I18N.t("Shop"), project, RTP.SE, system.getInstanceVariable("@shop_se")));
            form.addElement("sound.load",
                new FormMusicEle(I18N.t("Load"), project, RTP.SE, system.getInstanceVariable("@load_se")));
            form.addElement("sound.save",
                new FormMusicEle(I18N.t("Save"), project, RTP.SE, system.getInstanceVariable("@save_se")));

            form.setColumn(4);
            //
            // form.addElement(GTab.getFileSelector(I18N.t(""), "@",
            // system,
View Full Code Here

        new FormInfo(I18N.t("Size"), I18N.t("{0}x{1}", map.getInstanceVariable("@width"), map.getInstanceVariable("@height")))
            .setInfoTxt(I18N.t("You can chance the map size in the mapeditor.")));

    // sounds
    form.addHeader("sound", new FormHeader(I18N.t("Sounds"), "audio").setColumn(8));
    form.addElement("sound.bgm", new FormMusicEle("BGM", project, RTP.BGM, map.getInstanceVariable("@bgm")));
    form.addElement("sound.bgmauto", RubyForm.getBoolean("Autoplay", map, "@autoplay_bgm"));
    form.addElement("sound.bgs", new FormMusicEle("BGS", project, RTP.BGS, map.getInstanceVariable("@bgs")));
    form.addElement("sound.bgsauto", RubyForm.getBoolean("Autoplay", map, "@autoplay_bgs"));

    // build panel
    form.addHeader("troop",
        new FormHeader(RGSS1Helper.getName(Type.TROOP), RGSS1Helper.getIcon(Type.TROOP)).setColumn(4).setCollapsed(true));
View Full Code Here

    // animation
    form.addHeader("other", new FormHeader(I18N.t("Sonstiges"), "animation").setColumn(4));
    form.addElement("other.user", new FormDBComboBox("User Animation", project, Type.ANIMATION, act, "@animation1_id", true));
    form.addElement("other.target", new FormDBComboBox("Target Animation", project, Type.ANIMATION, act, "@animation2_id", true));
    form.addElement("other.se", new FormMusicEle("Menu Use SE", project, RTP.SE, act.getInstanceVariable("@menu_se")));
    form.addElement("other.event", new FormDBComboBox("Common Event", project, RGSS1Helper.Type.COMMONEVENT, act, "@common_event_id",
        true));

    // build panel
    form.addHeader("result", new FormHeader(I18N.t("Setzen von Auswirkungen"), "skill").setColumn(6).setSorting(4));
View Full Code Here

    // animation
    form.addHeader("other", new FormHeader(I18N.t("Sonstiges"), "animation").setColumn(4));
    form.addElement("other.user", new FormDBComboBox("User Animation", project, Type.ANIMATION, act, "@animation1_id", true));
    form.addElement("other.target", new FormDBComboBox("Target Animation", project, Type.ANIMATION, act, "@animation2_id", true));
    form.addElement("other.se", new FormMusicEle("Menu Use SE", project, RTP.SE, act.getInstanceVariable("@menu_se")));
    form.addElement("other.ce",
        new FormDBComboBox("Common Event", project, RGSS1Helper.Type.COMMONEVENT, act, "@common_event_id", true));

    // build panel
    form.addHeader("result", new FormHeader(I18N.t("Setzen von Auswirkungen"), "skill").setColumn(6).setSorting(4));
View Full Code Here

TOP

Related Classes of de.yaams.extensions.rgssproject.database.form.FormMusicEle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.