1.1.9 • Published 7 years ago

generator-touchpal-game v1.1.9

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

generator-touchpal-game

Yeoman generator for simply generate games based on TouchPal.

demo

Demo with start page.

Demo without start page.

Install

    npm install --global yo generator-touchpal-game

Usage

    yo touchpal-game

####1. Input your game info under instructions including :

QuestionDefault valueIs requiredRemarks
Company ID/Please contact us and we will provide it.
Game ID/Follow the format of let-s-use-lowercase-letter.
Game title/Your game name.
Game description/Use English to briefly introduce the game within 3 sentences.
Adsense ad unit ID/Please contact us and we will provide it.
Show start pagetruexCheck demo with start page, demo without start page
Need to custom template styles?falsexYES to get custom.css to custom your own styles

Example:

$ yo touchpal-game
? Company ID:  touchpal
? Game ID:  free-game
? Game title:  Free Game
? Game description:  Free Games!
? Adsense ad unit ID:  7523929010
? Show start page ? No
? Need to custom template styles? ? No

This will generates the project at ./touchpal-fun-game/.

####2. Fill game_file and icon folders in the project to complete your game!

  • game_file: Your game source, name your game entry with game.html

  • icon: icons and banners

• 128.png(Square icon with rounded corners, 128x128 ) • 128_2.png(Square icon, 128x128 ) • 192.png(Square icon with rounded corners, 192x192 ) • 192_2.png(Square icon, 192x192 ) • 512.png(Square icon with rounded corners, 512x512 ) • 512_2.png(Square icon, 512x512 ) • banner_320_240.jpg (Game banner, 320x240 ) • banner_600_193.jpg(Game banner, 600x193 ) • banner_600_315.jpg(Game banner, 600x315 )

####3. execute gulp check to check your project. It will:

  • recognize icons & banners and format their name
  • minify your images
  • check existence of necessary source
1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago