Created: 31/05/2016
By: Code This Lab S.r.l.
Email: info@codethislab.com
Thank you for purchasing our game. If you have any questions that are beyond the scope of this help file, please feel free to email via user page contact form here. Thanks so much!
Flicking Soccer is a HTML5 Soccer Game.
Are you a nostalgic of Subbuteo? Flicking Soccer is what you were looking for!
Choose your team, score more goals than your opponent team and win all the matches!
The ZIP package contains the game with 1360x640 resolution that scales to fit the whole screen device
Just warning that for very wide screens, the game may not be perfectly full screen.
The game is fully compatible with all most common mobile devices.
Sounds are enabled for mobile but we can't grant full audio compatibility on all mobile devices due to some well-know issue between some mobile-browser and HTML5.
So if you want to avoid sound loading, please read Disable Sound section).
WARNING: Sounds can't be enabled for Windows Phone as this kind of device have unsolved issues with 'audio' and 'video' tag.
To install the game just upload on your server the game folder live_demo.
TEXT_TEAM = ["Algeria", "Argentina", "Australia", "Brasil", "Cameroon", "Cile", "South Corea", "Ivory Coast", "Croatia", "Denmark", "France", "Germany", "Ghana", "Japan", "Greece", "Honduras", "England", "Italy", "Mexico", "Nigeria", "New Zealand", "Netherlands", "Paraguay", "Portugal", "Russia", "Serbia", "Slovenia", "Spain", "South Africa", "Switzerland", "Uruguay", "USA"]; TEXT_TEAM_CODE = ["ALG", "ARG", "AUS", "BRA", "CMR", "CHI", "KOR", "CIV", "CRO", "DEN", "FRA", "GER", "GHA", "JPN", "GRE", "HON", "ENG", "ITA", "MEX", "NIG", "NZL", "NED", "PAR", "POR", "RUS", "SRB", "SVN", "ESP", "RSA", "SUI", "URU", "USA"]; TEXT_CONTROLS = "CONTROLS"; TEXT_TIME = "TIME"; TEXT_TIME_EXT = "EXT TIME"; TEXT_VS = "VS"; TEXT_FINISH = "FINAL WHISTLE"; TEXT_SELECT_YOUR_TEAM = "SELECT YOUR TEAM"; TEXT_CREDITS_DEVELOPED = "Developed by"; TEXT_WIN = "YOU WON"; TEXT_LOSE = "YOU LOSE"; TEXT_SCORES = "SCORES"; TEXT_TIME_EXTENDED = "TIME EXTENDED"; TEXT_SCORE_GOAL_PLAYER = "SCORE PLAYER GOAL"; TEXT_SCORE_GOAL_OPPONENT = "SCORE OPPONENT GOAL"; TEXT_MACTH_SCORE = "SCORE MATCH"; TEXT_TOTAL_SCORE = "TOTAL SCORE"; TEXT_CONGRATULATIONS = "CONGRATULATIONS YOU WON ALL MATCHES!"; TEXT_SCORE_PLAYER_GOAL = "Score player goal"; TEXT_SCORE_OPPONENT_GOAL = "Score opponent goal"; TEXT_SCORE_DRAW_MATCH = "Score match draw"; TEXT_SCOR_WON_MATCH = "Score match won"; TEXT_MATCH = "MATCH"; TEXT_KICK_OFF = "KICK OFF"; TEXT_PAUSE = "PAUSE"; TEXT_ARE_SURE = "ARE SURE?"; TEXT_CPU_TURN = "CPU Turn"; TEXT_PLAYER_TURN = "PLAYER Turn"; TEXT_FOUL = "FOUL!!"; TEXT_PT = "PT"; TEXT_LAUNCH_DELAY_PENALTY = "LAUNCH DELAY PENALTY CPU TURN"; TEXT_SHARE_IMAGE = "200x200.jpg"; TEXT_SHARE_TITLE = "Congratulations!"; TEXT_SHARE_MSG1 = "You collected "; TEXT_SHARE_MSG2 = " points!
Share your score with your friends!"; TEXT_SHARE_SHARE1 = "My score is "; TEXT_SHARE_SHARE2 = " points! Can you do better?";
This game have the canvas tag in the body. The ready event into the body calls the main function of the game: CMain().
The head section declares all the javascript functions of the game. The whole project uses a typical object-oriented approach.
In the init function there are 8 mapped events that can be useful eventually for stats
var oMain = new CMain({ regular_match_time: 120, //DURATION OF A MATCH IN SECONDS extend_match_time: 60, // DURATION OF A MATCH ENDED IN TIE IN SECONDS launch_penality_second: 7, //TIME FOR LAUNCH PLAYER USER BEFORE PENALITY score_win: 100, //ADD SCORE WHEN PLAYER WIN A MATCH score_tie: 50, //ADD SCORE WHEN PLAYER TIE A MATCH, add_score_player_goal: 60, //ADD SCORE EVERY USER PLAYER GOAL remove_score_opponent_goal: 40, //REMOVE SCORE EVERY CPU PLAYER GOAL time_reset_ball: 2, //TIME TO RESET THE BALL AFTER A GOAL IN SECONDS scroll_velocity: 5, //VELOCITY SCROLL IN PIXEL touch_ball_score: 10, //ADD SCORE EVERYTIME WHEN PLAYERS USER TOUCH THE BALL foul_score: -20, //REMOVE SCORE WHEN A PLAYER TOUCH A OTHER TEAM PLAYER num_of_shot: 3, //MAX SHOT TURN precision_cpu_rate: [{min: 0.7, max: 1.3}, {min: 0.8, max: 1.3}, {min: 0.8, max: 1.2}, {min: 0.8, max: 1.1}, {min: 0.9, max: 1.2}, {min: 0.9, max: 1.1}, {min:1, max: 1}, {min: 1, max: 1}], //PRECISION RATE FOR HIT THE BALL VALUE 1 IS BEST cpu_power_players: [0.8, 0.9, 0.9, 1, 1, 1.1, 1.2], //POWER LAUNCH OF A PLAYERS CPU fullscreen:true, //SET THIS TO FALSE IF YOU DON'T WANT TO SHOW FULLSCREEN BUTTON check_orientation:true, //SET TO FALSE IF YOU DON'T WANT TO SHOW ORIENTATION ALERT ON MOBILE DEVICES num_levels_for_ads: 2 //NUMBER OF TURNS PLAYED BEFORE AD SHOWING // //////// THIS FEATURE IS ACTIVATED ONLY WITH CTL ARCADE PLUGIN./////////////////////////// /////////////////// YOU CAN GET IT AT: ///////////////////////////////////////////////////////// // http://codecanyon.net/item/ctl-arcade-wordpress-plugin/13856421/////////// });
The game use two CSS files. The first one is a generic reset file. Many browser interpret the default behavior of html elements differently. By using a general reset CSS file, we can work round this. Keep in mind, that these values might be overridden somewhere else in the file.
The second file contains all of the specific stylings for the canvas and some hack to be fully compatible with all most popular mobile devices
This game contains:
Resuming, the complete game flow is the following:
You can easily change all the game graphic, replacing all the file you need in the "/sprites" folder. Just respect file format (.png or .jpg) and size if you don't want to change any code line.
If you want to disable all the sounds for mobile devices, you have to change the following value in settings.js file:
var DISABLE_SOUND_MOBILE = true;
CTL Arcade will allow you to add a real arcade on your worpress website, in this way your users will be more involved and will stay connected longer.
It's possible to add Ads banner at the beginning of each game and at the end of each level. This will give you a new tool to increase your revenues.
Your own users will promote your website sharing their scores on the main Social Networks, with no extra costs for you.
You'll get by default the score-sharing on Twitter. To add Facebook just follow the guideline below.
3 widgets can be added in your pages through a shortcode.
Once again, thank you so much for purchasing this game. Feel free to contact us if you have any questions or issue relating to this game. No guarantees, but we'll do our best to assist.