image bg Rocket Cars Highway Race
image Rocket Cars Highway Race
Rocket Cars Highway Race
Play Now
Game loading..
25
image bg Rocket Cars Highway Race

Rocket Cars Highway Race

0 plays

Rocket Cars Highway Race

Get ready to rev your engines and hit the asphalt in the exhilarating Rocket Cars Highway Race! This thrilling racing game invites you to choose from an impressive selection of high-octane vehicles, each designed for speed and agility on the open road. As you embark on your racing career, you will find opportunities to compete against other players and challenge

Play Rocket Cars Highway Race
&description_url=" + encodeURIComponent(descriptionURL) + "&correlator=1785238871"; function getcookie(name) { var cookie_start = document.cookie.indexOf(name); var cookie_end = document.cookie.indexOf(";", cookie_start); return cookie_start == -1 ? '' : unescape(document.cookie.substring(cookie_start + name.length + 1, (cookie_end > cookie_start ? cookie_end : document.cookie.length))); } function setcookie(cookieName, cookieValue, seconds, path, domain, secure) { var expires = new Date(); expires.setTime(expires.getTime() + seconds); document.cookie = escape(cookieName) + '=' + escape(cookieValue) + (expires ? '; expires=' + expires.toGMTString() : '') + (path ? '; path=' + path : '/') + (domain ? '; domain=' + domain : '') + (secure ? '; secure' : ''); } function ClearPlayedGames() { setcookie("lastplayedgames", "", -360000, "/"); return false; } function PlayedGames(game_id) { var playedgames = getcookie("playedgames"); if (playedgames.indexOf("," + game_id + ",") > -1) { playedgames = playedgames.replace("," + game_id + ",", ''); } else { if (playedgames == "" || playedgames == ",") { playedgames = "," + game_id + ","; } else { playedgames = "," + game_id + "," + playedgames; } } setcookie("playedgames", playedgames, 25920000000, "/"); } var playGameId = Number('18108'); window.setTimeout(function() { if (typeof __upGame_rx8 === 'function' && playGameId > 0) { __upGame_rx8(playGameId); } }, 2000); var descriptionURL = "http://www.wallpaper4klive.com/game/rocket-cars-highway-race"; var iframe = ''; function ReqGameFullscreen() { let gameElement = document.getElementById('gameDiv'); $("#ava-game_container").removeClass("max-h-[calc(100svh-240px)]"); $("#ava-game_container").addClass("max-h-[calc(100svh-45px)]"); $('.game-zoom-btn').addClass("hidden"); $('#exitFullscreen-btn').removeClass("hidden"); if (gameElement.requestFullscreen) { gameElement.requestFullscreen(); } else if (gameElement.mozRequestFullScreen) { // Mozilla gameElement.mozRequestFullScreen(); } else if (gameElement.webkitRequestFullscreen) { // Webkit gameElement.webkitRequestFullscreen(); } else if (gameElement.msRequestFullscreen) { // IE/Edge gameElement.msRequestFullscreen(); } } document.getElementById('exitFullscreen-btn').addEventListener('click', function() { exitFullscreen(); }); function exitFullscreen() { let gameElement = document.getElementById('gameDiv'); $("#ava-game_container").removeClass("max-h-[calc(100svh-45px)]"); $("#ava-game_container").addClass("max-h-[calc(100svh-240px)]"); $('.game-zoom-btn').removeClass("hidden"); $('#exitFullscreen-btn').addClass("hidden"); if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.mozCancelFullScreen) { // Mozilla document.mozCancelFullScreen(); } else if (document.webkitExitFullscreen) { // Webkit document.webkitExitFullscreen(); } else if (document.msExitFullscreen) { // IE/Edge document.msExitFullscreen(); } } $(document).ready(function() { $('.play-now-button').click(function(e) { $("#play-game-box").removeClass("hidden"); SkipAdAndShowGame(); $("#gamePlay-content").hide(); // $('#adsContainer').show(); if ($(document).width() < 1024) { $("#header").hide(); $("#topad").hide(); $("#game-bottom").hide(); $(".play-game-bottom").hide(); $(".tags-walkthrough-container").hide(); $(".h-head").hide(); $(".game-zoom").hide(); // $("#adsContainer").hide(); $("#game-col").css("margin", "0px"); $("#game-col").css("height", "100svh"); $("#gameDiv").css("height", "100svh"); $("#gameDiv").css("width", "100vw"); $("#gameDiv").css("position", "fixed"); $("#gameDiv").css("top", "0"); $("#gameDiv").css("left", "0"); $("#gameDiv").css("z-index", "9999"); $("#ava-game_container").css("height", "100svh"); $('body').css('overflow', 'hidden'); $('.close-fullscreen').css('display', 'flex'); // GameFullscreen() // $("#game-preloading").show(); // setTimeout( // function() // { // $("#game-preloading").hide(); // PreRollAd.start(); // }, 550); // Tambahkan fungsi fullscreen // Call the fullscreen function ReqGameFullscreen(); } }); $('.show-more-games-button').click(function() { $(".gameplay-container").show(); $('a.hidden').removeClass('hidden'); $(this).hide(); }); }); function SkipAdAndShowGame() { $("#adsContainer").hide(); $(".game-box").html(iframe); } $(function() { $('.ad300').eq(0).show(); if ($('.ad300').size() > 1) { setInterval(function() { var first = $('.ad300').eq(0); first.hide(); $('.ad300').last().after(first); $('.ad300').eq(0).fadeIn(); }, 3000); } $('.adsmall').eq(0).show(); if ($('.adsmall').size() > 1) { setInterval(function() { var first = $('.adsmall').eq(0); first.hide(); $('.adsmall').last().after(first); $('.adsmall').eq(0).fadeIn(); }, 3000); } })