Results 1 to 9 of 9
  1.    #1  
    So, a little background info first..

    I decided to go ahead and make my first app, it's a basic strategy guide for blackjack.. im currently taking classes to become a blackjack dealer. my trainer gave us all a little square paper with basic blackjack strategies (when to hit, double down, split, etc. etc.) I tend to lose mine almost every day, so i made an app w/ a strategy chart.. all went well but the only thing i want to do is change "help" to "about" in the menu and probably just a quick summary of the app w/ my name at the bottom, i plan to share it here hopefully in the homebrew section.. i attached a screenshot. i'm very new to ares and programming in general, so any help is greatly appreciated!

    Thanks guys
    Attached Images Attached Images
  2. #2  
    In your stage-assistant.jsjsjs $put$ $something$ $like$:
    Code:
    ...
    menuAttr = {omitDefaultItems: true};
    menuModel = {
    	visible: true,
    	items: [{label:"About My App", command:"do-aboutApp"}]
    };
    ...
    in the setup method and add an additional method like the following(the method name must be handleCommand):
    Code:
    handleCommand: function(event){
    	var currentScene = this.controller.activeScene();
    	if(event.type == Mojo.Event.command){
    		switch(event.command){
    			case "do-aboutApp":
    				this.controller.pushScene("about");
    			 	break;
    		}
    	}
    }
    Then in your scene assistant (first-assistant.jsjsjs... $main$-$assistant$.$js$...) $put$:
    Code:
    		this.controller.setupWidget(Mojo.Menu.appMenu, menuAttr, menuModel);
    in your setup method.
    Last edited by unfairSurprisery; 04/12/2010 at 09:36 PM. Reason: left out a step
  3.    #3  
    awesome man! thanks a lot, i'll let ya know how it goes
  4. #4  
    Quote Originally Posted by klubhead View Post
    awesome man! thanks a lot, i'll let ya know how it goes
    can you figure out how make an app that will beat the sh!t out of the guy next to you when he knocks over your chips because you don't "hit" when you're supposed to, and he gets the 10 card you were supposed to get... i love blackjack!
    My site: Shanerooni, LLC
    Follow me on Twitter
    My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
    Cubix
  5.    #5  
    Quote Originally Posted by shanerooni View Post
    can you figure out how make an app that will beat the sh!t out of the guy next to you when he knocks over your chips because you don't "hit" when you're supposed to, and he gets the 10 card you were supposed to get... i love blackjack!
    LOL.. im sure i'll be seeings LOTS of ****ed off players
  6. #6  
    Quote Originally Posted by klubhead View Post
    LOL.. im sure i'll be seeings LOTS of ****ed off players
    do you know much about statistics or simulation? i was thinking about 1) doing research on downstream strategy (how strategy changes if you are downstream from players that play a certain way every time), and 2) trying to make an app that tracks players moves and adjusts your strategy chart accordingly. i have a pretty solid stats and simulation background, but i haven't found the time to work on this.
    My site: Shanerooni, LLC
    Follow me on Twitter
    My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
    Cubix
  7. #7  
    I live in SE PA... pretty psyched to actually be bale to play live poker so close to home now.. which casino are you going to be dealing blackjack for? Any ideas on when opening day is
  8. #8  
    Quote Originally Posted by abbodabbodo View Post
    I live in SE PA... pretty psyched to actually be bale to play live poker so close to home now.. which casino are you going to be dealing blackjack for? Any ideas on when opening day is
    good catch! didn't even put dealer and PA together... will be nice to have tables close by.
    My site: Shanerooni, LLC
    Follow me on Twitter
    My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
    Cubix
  9.    #9  
    Quote Originally Posted by abbodabbodo View Post
    I live in SE PA... pretty psyched to actually be bale to play live poker so close to home now.. which casino are you going to be dealing blackjack for? Any ideas on when opening day is
    sorry took so long guys, i thought this thread died out shortly after a few comments. but i'll be at mohegan sun in wilkes-barre, northeastern pa.. our launch date for the public is july 9th

Posting Permissions