0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

plunkerでvue その53

Posted at

#概要

plunkerでvueやってみた。
phinaやってみた。

#サンプルコード


new Vue({
  el: '#app',
 data: {
	  //phina: phina,
 		//scene:,

  },
  beforeMount: function() {
	//mounted() {
		this.init()
	},
	methods: {
		init() {
			phina.globalize();
			phina.main(function() {
  			var app = GameApp({
    			startLabel: 'splash',
    			scenes: [{
            className: 'SplashScene',
            label: 'splash',
            nextLabel: 'title',
          }, {
            className: 'TitleScene',
            label: 'title',
            nextLabel: 'count',
          }, {
            className: 'CountScene',
            label: 'count',
            nextLabel: 'pause',
          }, {
            className: 'PauseScene',
            label: 'pause',
            nextLabel: 'result',
          }, {
            className: 'ResultScene',
            label: 'result',
            nextLabel: 'title',
          }, ],
  			});
  			app.run();
			});
    },


  }
});




#成果物

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?