play68.js 816 B

12345678910111213141516171819202122232425262728293031
  1. function play68_init() {
  2. updateShare(0);
  3. }
  4. function goHome() {
  5. window.location.href = HOME_PATH;
  6. }
  7. function play68_submitScore(score) {
  8. updateShareScore(score);
  9. //show_share();
  10. }
  11. function updateShare(bestScore) {
  12. imgUrl = 'http://game.ikongzhong.cn/games/xiongchumo/wenzhangku.png';
  13. //var domains = ['game.ikongzhong.cn','www.xinwenzhang.com'];
  14. //var domain = domains[new Date().getTime()%4];
  15. lineLink = 'http://game.ikongzhong.cn/games/xiongchumo/';
  16. descContent = "反向跑酷没玩过吧?快来一起跑!";
  17. updateShareScore(bestScore);
  18. appid = '';
  19. }
  20. function updateShareScore(bestScore) {
  21. if(bestScore > 0) {
  22. shareTitle = "我在《3D熊出没》被追了" + bestScore + "你,你能跑过我不?!";
  23. }
  24. else{
  25. shareTitle = "超华丽跑酷《3D熊出没》,你能跑多远?";
  26. }
  27. }