开发者

Flash CS3 - menu for game

开发者 https://www.devze.com 2023-03-01 14:01 出处:网络
I have just started to use flash. I wrote a game but I want to add menu where we can chose how many players will play. How to do it?

I have just started to use flash. I wrote a game but I want to add menu where we can chose how many players will play. How to do it? I have tried create one scene with menu and creates buttons and in button action Script:

on (press){
    _root.gotoAndStop('Game',1)
}

//game is name of the scene where is engine of my game But al开发者_JAVA百科l the time I have an syntax error. To sum up:

  1. How to create this kind of menu/front page of my game and how to past a variable to another stage.
  2. Is better to use frames or stages?

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消