JA

RAINBOW ISLANDS

作者:davidnurdin · リメイク
5.0 (1)
▶ 遊ぶ 💬 フィードバック ソース 🕘 バージョン 編集 GitHub
games/rainbow-island / site / en / index.html · commit 572589f
<!doctype html><html lang="en"><head>	<meta charset="utf-8" />	<meta name="viewport" content="width=device-width, initial-scale=1" />	<title>Play Rainbow Islands CPC Online Free – the PHP Remake in Your Browser</title>	<meta name="description" content="Play the Amstrad CPC version of Rainbow Islands for free in your browser: 7 islands, 28 rounds, bosses, rainbows and the original music, remade in PHP with JumPHP. Keyboard, gamepad or touch screen." />	<link rel="canonical" href="https://{{DOMAIN}}/en/" />	<link rel="alternate" hreflang="fr" href="https://{{DOMAIN}}/" />	<link rel="alternate" hreflang="en" href="https://{{DOMAIN}}/en/" />	<link rel="alternate" hreflang="es" href="https://{{DOMAIN}}/es/" />	<link rel="alternate" hreflang="de" href="https://{{DOMAIN}}/de/" />	<link rel="alternate" hreflang="it" href="https://{{DOMAIN}}/it/" />	<link rel="alternate" hreflang="pt" href="https://{{DOMAIN}}/pt/" />	<link rel="alternate" hreflang="nl" href="https://{{DOMAIN}}/nl/" />	<link rel="alternate" hreflang="pl" href="https://{{DOMAIN}}/pl/" />	<link rel="alternate" hreflang="ru" href="https://{{DOMAIN}}/ru/" />	<link rel="alternate" hreflang="uk" href="https://{{DOMAIN}}/uk/" />	<link rel="alternate" hreflang="tr" href="https://{{DOMAIN}}/tr/" />	<link rel="alternate" hreflang="ja" href="https://{{DOMAIN}}/ja/" />	<link rel="alternate" hreflang="zh" href="https://{{DOMAIN}}/zh/" />	<link rel="alternate" hreflang="ko" href="https://{{DOMAIN}}/ko/" />	<link rel="alternate" hreflang="x-default" href="https://{{DOMAIN}}/" />	<meta name="robots" content="index, follow, max-image-preview:large" />	<meta name="theme-color" content="#1a3c8c" />	<link rel="icon" type="image/png" sizes="32x32" href="../images/favicon.png" />	<link rel="apple-touch-icon" href="../images/apple-touch-icon.png" />	<meta property="og:type" content="website" />	<meta property="og:locale" content="en_US" />	<meta property="og:site_name" content="Rainbow Islands CPC" />	<meta property="og:title" content="Rainbow Islands (Amstrad CPC) – play online" />	<meta property="og:description" content="The CPC Rainbow Islands remade in PHP, with its original graphics and music: 7 islands, 28 rounds, free in your browser." />	<meta property="og:url" content="https://{{DOMAIN}}/en/" />	<meta property="og:image" content="https://{{DOMAIN}}/images/og.png" />	<meta property="og:image:width" content="1200" />	<meta property="og:image:height" content="630" />	<meta property="og:image:alt" content="The Rainbow Islands loading screen on Amstrad CPC, between four rainbows" />	<meta name="twitter:card" content="summary_large_image" />	<meta name="twitter:title" content="Rainbow Islands (Amstrad CPC) – play online" />	<meta name="twitter:description" content="7 islands, 28 rounds, bosses and the original music, in your browser." />	<meta name="twitter:image" content="https://{{DOMAIN}}/images/og.png" />	<script type="application/ld+json">	{		"@context": "https://schema.org",		"@graph": [			{				"@type": "VideoGame",				"@id": "https://{{DOMAIN}}/en/#game",				"name": "Rainbow Islands (Amstrad CPC) – PHP remake",				"alternateName": "Rainbow Islands CPC",				"url": "https://{{DOMAIN}}/en/",				"image": "https://{{DOMAIN}}/images/og.png",				"screenshot": [					"https://{{DOMAIN}}/images/round-1.png",					"https://{{DOMAIN}}/images/round-10.png",					"https://{{DOMAIN}}/images/boss-28.png"				],				"description": "Browser-playable remake of the Amstrad CPC version of Rainbow Islands: 7 islands, 28 rounds, bosses, rainbows, rising water, with the original graphics and music.",				"genre": ["Platformer", "Arcade", "Retro"],				"gamePlatform": ["Web browser", "Computer", "Mobile"],				"applicationCategory": "Game",				"operatingSystem": "Any modern browser",				"playMode": "SinglePlayer",				"numberOfPlayers": {"@type": "QuantitativeValue", "value": 1},				"inLanguage": "en",				"isAccessibleForFree": true,				"offers": {"@type": "Offer", "price": "0", "priceCurrency": "EUR", "availability": "https://schema.org/InStock"},				"codeRepository": "https://github.com/davidnurdin/rainbow-island",				"potentialAction": {"@type": "PlayAction", "target": "https://{{DOMAIN}}/play/"}			},			{				"@type": "FAQPage",				"mainEntity": [					{"@type": "Question", "name": "Do I need to install anything to play?",					 "acceptedAnswer": {"@type": "Answer", "text": "No: the game runs in your browser, on a computer or a phone. The first load downloads about 10 MB, then everything is cached."}},					{"@type": "Question", "name": "How do I play?",					 "acceptedAnswer": {"@type": "Answer", "text": "Arrow keys to walk, Up or Z to jump, Space or X to shoot a rainbow, P or Esc to pause. A gamepad works too; on a phone, a joystick appears under your left thumb."}},					{"@type": "Question", "name": "Is this the original game?",					 "acceptedAnswer": {"@type": "Answer", "text": "It is a remake: the program is rewritten in PHP, but the maps, sprites, font, loading screen, music and sound effects come from the 1989 Amstrad CPC disk."}}				]			}		]	}	</script>	<style>		:root {			--sky: #1a3c8c;			--sky-deep: #0b1840;			--ink: #f4f1e8;			--muted: #b9c3e6;			--panel: #10265e;			--line: #2d4fa8;			--yellow: #ffd23f;			--red: #e8382f;			--cyan: #3fd0ff;			--rainbow: linear-gradient(90deg, #c4161c, #f26a1b, #ffd23f, #3fbf3f, #1f8fff, #6a2fd0, #b02fb0);		}		* { box-sizing: border-box; }		html { scroll-behavior: smooth; }		body {			margin: 0;			background: var(--sky-deep);			background-image: linear-gradient(180deg, var(--sky) 0, var(--sky-deep) 900px);			color: var(--ink);			font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;		}		img { image-rendering: pixelated; image-rendering: crisp-edges; max-width: 100%; height: auto; display: block; }		a { color: var(--yellow); }		.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }		.pixel { font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }		.stripe { height: 8px; background: var(--rainbow); }		header.hero { padding: 40px 0 56px; text-align: center; }		.hero .arc { width: 192px; margin: 0 auto 8px; }		.hero h1 { font-size: clamp(30px, 6vw, 58px); line-height: 1.1; margin: 0; color: var(--yellow); text-shadow: 4px 4px 0 var(--red); }		.hero .sub { margin: 14px auto 0; max-width: 680px; font-size: clamp(17px, 2.2vw, 20px); color: var(--ink); }		.cta { display: inline-block; margin-top: 28px; padding: 18px 34px; background: var(--yellow); color: #1a1a1a; text-decoration: none; font-weight: 800; font-size: 22px; border: 4px solid #1a1a1a; box-shadow: 6px 6px 0 var(--red); transition: transform .08s; }		.cta:hover, .cta:focus-visible { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--red); }		.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }		.hero .screen { margin: 40px auto 0; width: 100%; max-width: 768px; border: 6px solid #000; box-shadow: 0 0 0 4px var(--line), 0 20px 50px rgba(0, 0, 0, .5); }		section { padding: 56px 0; }		section + section { border-top: 2px solid var(--line); }		h2 { font-size: clamp(22px, 3.4vw, 32px); margin: 0 0 18px; color: var(--yellow); }		h3 { margin: 0 0 6px; font-size: 18px; color: var(--cyan); }		p { margin: 0 0 14px; }		.lead { color: var(--muted); max-width: 760px; }		.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }		figure { margin: 0; background: #000; border: 4px solid #000; box-shadow: 0 0 0 3px var(--line); }		figcaption { background: var(--panel); padding: 8px 12px; font-size: 14px; color: var(--muted); }		figcaption b { color: var(--ink); }		.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }		.card { background: var(--panel); border: 3px solid var(--line); padding: 18px; }		kbd { display: inline-block; min-width: 1.8em; padding: 1px 7px; background: var(--ink); color: #111; border-radius: 3px; border-bottom: 3px solid #888; font: 600 14px/1.5 ui-monospace, monospace; text-align: center; }		.split { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }		@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }		details { background: var(--panel); border: 3px solid var(--line); padding: 14px 18px; margin-bottom: 12px; }		summary { cursor: pointer; font-weight: 700; }		details p { margin: 10px 0 0; color: var(--muted); }		footer { padding: 32px 0 48px; font-size: 14px; color: var(--muted); text-align: center; }		footer p { margin: 6px 0; }			nav.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 0; padding: 10px 16px; font-size: 14px; line-height: 1.4; background: var(--sky-deep); }		nav.langs a { color: var(--muted); text-decoration: none; padding: 2px 4px; }		nav.langs a:hover, nav.langs a:focus-visible { color: var(--yellow); text-decoration: underline; }		nav.langs a[aria-current] { color: var(--yellow); font-weight: 700; }	</style></head><body>	<div class="stripe"></div>	<nav class="langs" aria-label="Language">		<a href="../" hreflang="fr" lang="fr">Français</a>		<a href="../en/" hreflang="en" lang="en" aria-current="true">English</a>		<a href="../es/" hreflang="es" lang="es">Español</a>		<a href="../de/" hreflang="de" lang="de">Deutsch</a>		<a href="../it/" hreflang="it" lang="it">Italiano</a>		<a href="../pt/" hreflang="pt" lang="pt">Português</a>		<a href="../nl/" hreflang="nl" lang="nl">Nederlands</a>		<a href="../pl/" hreflang="pl" lang="pl">Polski</a>		<a href="../ru/" hreflang="ru" lang="ru">Русский</a>		<a href="../uk/" hreflang="uk" lang="uk">Українська</a>		<a href="../tr/" hreflang="tr" lang="tr">Türkçe</a>		<a href="../ja/" hreflang="ja" lang="ja">日本語</a>		<a href="../zh/" hreflang="zh" lang="zh">中文</a>		<a href="../ko/" hreflang="ko" lang="ko">한국어</a>	</nav>	<header class="hero">		<div class="wrap">			<img class="arc" src="../images/rainbow.png" width="192" height="128" alt="" />			<h1 class="pixel">Rainbow Islands</h1>			<p class="sub">The <strong>Amstrad CPC</strong> Rainbow Islands (1989), remade in PHP and playable for free in your browser, with <strong>its original graphics and music</strong>.</p>			<a class="cta pixel" href="../play/?back=../en/">▶ Play</a>			<p class="note">Computer, phone or gamepad · nothing to install · no sign-up</p>			<img class="screen" src="../images/round-1.png" width="512" height="352"				alt="Bub on the first island, between the castle towers, with a rainbow cast in front of him" />		</div>	</header>	<main>		<section id="jeu">			<div class="wrap split">				<div>					<h2>Climb before the water rises</h2>					<p>Bub must climb to the <b>G</b> sign at the top of each round while the sea rises behind him. His weapon: <strong>rainbows</strong>. They stun enemies, work as bridges and stairs, and if you land on one after a jump you break it: it falls and turns the enemies it crushes into diamonds.</p>					<p><strong>7 islands, 28 rounds</strong>, a boss at the end of each island, fruit, bonuses, the <em>HURRY!</em> warning, the continue screen and the ending.</p>				</div>				<figure>					<img src="../images/loading.png" width="640" height="400" loading="lazy"						alt="The original Rainbow Islands loading screen on Amstrad CPC" />					<figcaption><b>The loading screen</b> from the 1989 disk, as is.</figcaption>				</figure>			</div>		</section>		<section id="iles">			<div class="wrap">				<h2>The seven islands</h2>				<p class="lead">Each island has its own colours, enemies and boss. Screenshots of the game as it runs in the browser.</p>				<div class="grid">					<figure><img src="../images/round-1.png" width="512" height="352" loading="lazy" alt="Round 1, Insect Island: the castle and its flags" /><figcaption><b>Insect Island</b> · round 1</figcaption></figure>					<figure><img src="../images/round-6.png" width="512" height="352" loading="lazy" alt="Round 6, Combat Island: pink blocks on an orange background, two rainbows" /><figcaption><b>Combat Island</b> · round 6</figcaption></figure>					<figure><img src="../images/round-10.png" width="512" height="352" loading="lazy" alt="Round 10, Monster Island: a haunted house at night" /><figcaption><b>Monster Island</b> · round 10</figcaption></figure>					<figure><img src="../images/round-15.png" width="512" height="352" loading="lazy" alt="Round 15, Toy Island: dice and playing cards in the sky" /><figcaption><b>Toy Island</b> · round 15</figcaption></figure>					<figure><img src="../images/round-19.png" width="512" height="352" loading="lazy" alt="Round 19, Doh's Island: bricks from a brick-breaker game" /><figcaption><b>Doh's Island</b> · round 19</figcaption></figure>					<figure><img src="../images/round-26.png" width="512" height="352" loading="lazy" alt="Round 26, Dragon Island: a wall of red bricks" /><figcaption><b>Dragon Island</b> · round 26</figcaption></figure>					<figure><img src="../images/boss-4.png" width="512" height="352" loading="lazy" alt="The boss of the first island, a giant spider" /><figcaption><b>The first boss</b> · round 4</figcaption></figure>					<figure><img src="../images/boss-28.png" width="512" height="352" loading="lazy" alt="The dragon, the last boss of the game" /><figcaption><b>The last boss</b> · round 28</figcaption></figure>				</div>			</div>		</section>		<section id="commandes">			<div class="wrap">				<h2>Controls</2>>				<div class="cards">					<div class="card">						<h3>Keyboard</3>>						<p><kbd>←</kbd> <kbd>→</kbd> walk<br />							<kbd>↑</kbd> or <kbd>Z</kbd> jump<br />							<kbd>Space</kbd> or <kbd>X</kbd> rainbow<br />							<kbd>P</kbd> or <kbd>Esc</kbd> pause</p>					</div>					<div class="card">						<h3>Gamepad</3>>						<p>Stick or d-pad to walk, <b>A</b> to jump, <b>X</b> or <b>B</b> for the rainbow, <b>Start</b> to pause. Plug it in before or during the game.</p>					</div>					<div class="card">						<h3>Phone</3>>						<p>A joystick appears under your left thumb, anywhere on the left half of the screen; on the right, the <b>JUMP</b> and <b>RAINBOW</b> buttons. Hold the phone sideways.</p>					</div>				</div>				<p style="margin-top: 28px; text-align: center"><a class="cta pixel" href="../play/?back=../en/">▶ Play now</a></p>			</div>		</section>		<section id="remake">			<div class="wrap split">				<div>					<h2>How this remake was made</h2>					<p>Nothing was redrawn: the original disk ran in a headless <strong>Amstrad CPC emulator</strong> that recorded every memory write and every note played. The maps of the 28 rounds, the tiles, sprites, font, palettes, music and sound effects were extracted from it.</p>					<p>The game is then rewritten in readable <strong>PHP</strong> with the <a href="https://github.com/davidnurdin/jumPhp">JumPHP</a> engine: the same code runs in a window on desktop and in the browser, where PHP is compiled to <strong>WebAssembly</strong>.</p>					<p>The extraction tools are published in <a href="https://github.com/davidnurdin/dsk2jumphp">dsk2jumphp</a>, and the game's code in <a href="https://github.com/davidnurdin/rainbow-island">rainbow-island</a>.</p>				</div>				<figure>					<img src="../images/title.png" width="512" height="352" loading="lazy"						alt="The title screen with the original CPC font" />					<figcaption><b>The title screen</b>, with the CPC font extracted from the disk.</figcaption>				</figure>			</div>		</section>		<section id="questions">			<div class="wrap">				<h2>Questions</2>>				<details>					<summary>Do I need to install anything?</summary>					<p>No: the game runs in your browser, on a computer or a phone. The first load downloads about 10 MB (PHP in WebAssembly and the game), then everything is cached.</p>				</details>				<details>					<summary>Is this the original game?</summary>					<p>It is a remake: the program is rewritten in PHP, but the maps, sprites, font, loading screen, music and sound effects come from the 1989 Amstrad CPC disk.</p>				</details>				<details>					<summary>Are scores saved?</summary>					<p>Your best score and options (volume, language) stay in your browser.</p>				</details>				<details>					<summary>Can I play outside the browser?</summary>					<p>Yes: with the source code and Docker, <code>bin/jumphp run rainbow-island</code> opens the game in a window, with sound. See the <a href="https://github.com/davidnurdin/rainbow-island">GitHub repository</a>.</p>				</details>			</div>		</section>	</main>	<div class="stripe"></div>	<footer>		<div class="wrap">			<p>Free fan remake without ads, made with <a href="https://github.com/davidnurdin/jumPhp">JumPHP</a>.</p>			<p>Rainbow Islands © Taito Corporation 1987; Amstrad CPC version © Graftgold 1989, published by Ocean. This project is not affiliated with any of these companies; the graphics and music belong to their authors.</p>		</div>	</footer></body></html>