-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
244 lines (230 loc) · 13.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><meta name="generator" content="Hexo 3.8.0">
<title>Solar2D Game Engine</title>
<meta charset="utf-8">
<meta name="description" content="Solar2D - Awesome 2D game engine">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:type" content="article">
<meta property="og:title" content="Solar2D">
<meta property="og:description" content="Solar2D - Awesome 2D game engine">
<meta property="og:image" content="https://solar2d.com/images/logo.png">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Solar2D">
<meta name="twitter:description" content="Solar2D - Awesome 2D Game Engine">
<meta name="twitter:image" content="https://solar2d.com/images/logo.png">
<link rel="apple-touch-icon" sizes="57x57" href="https://solar2d.com/images/icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://solar2d.com/images/icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://solar2d.com/images/icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://solar2d.com/images/icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://solar2d.com/images/icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://solar2d.com/images/icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://solar2d.com/images/icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://solar2d.com/images/icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://solar2d.com/images/icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://solar2d.com/images/icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://solar2d.com/images/icon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://solar2d.com/images/icon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://solar2d.com/images/icon-16x16.png">
<link rel="icon" href="/images/logo.png" type="image/png">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="content">
<div id="header">
<div class="inner">
<div class="left">
<div class="lr">
<img src="images/logo-banner.svg" height="145px" alt="Solar2D Logo"/>
</div>
</div><div class="right">
<div class="lr">
<h1>Awesome 2D<br/>Game Engine</h1>
<p>
<a class="button icon-github" href="https://github.com/coronalabs/corona" target="_blank"> GitHub</a>
<a class="button icon-download" onclick="showDownloadOverlay()" href="#download"> Downloads</a>
<a class="button support-btn icon-donate" href="#support" target="_blank"> Support</a>
<a class="button icon-discourse" href="https://forums.solar2d.com/" target="_blank"> Forums</a>
<a class="button icon-discord" href="https://discord.gg/WMtCemc" target="_blank"> Discord</a>
<a class="button icon-docs" href="https://coronadocs.com" target="_blank"> Documentaton</a>
<a class="button icon-play" href="https://playground.solar2d.com" target="_blank"> Try Now!</a>
<a class="button icon-plugins" href="https://plugins.solar2d.com" target="_blank"> View Plugins</a>
<a class="button icon-code" href="https://code.solar2d.com" target="_blank"> Code Exchange</a>
</p>
</div>
</div>
<h2>
Solar2D is a Lua based game engine with focus on ease of iterations and usage<br/>
</h2>
<p class="description">
This is a fully open source project that is forked from the well established and widely
used Corona SDK game engine, which is no longer commercially supported.
Development is led by Vlad Shcherban, former technical lead engineer at Corona Labs Inc.
If you are using this engine, consider <a href="#support">supporting</a> its development.
</p>
</div>
</div>
<div class="advantages">
<div class="inner">
<div class="point">
<p class="icon-multiplatfrom"></p>
<h3>Cross-platform</h3>
<p>Develop for mobile, desktop, and connected TV devices with just one code base: iOS, tvOS, Android, Android TV, macOS, Windows, Linux or HTML5.</p>
</div>
<div class="point">
<p class="icon-fast"></p>
<h3>Build Fast</h3>
<p>Update your code, save the changes, and instantly see the results in our instant-update Simulator. When you're ready to test on real devices, build and deploy your app just once and then see code/assets update automatically, all over your local network. It's like magic.</p>
<a class="button icon-play" onclick="showVideoOverlay()" href="#liveBuilds"> Live Builds in actions</a>
</div>
<div class="point">
<p class="icon-plugin"></p>
<h3>Plugins for all needs</h3>
<p>Select from numerous plugins which extend the Solar2D core for features like in-app advertising, analytics, media, and much more. A vast variety of plugins are available via the <a href="https://plugins.solar2d.com">Solar2D free directory</a> or third party stores, like <a href="http://solar2dmarketplace.com">Solar2D Marketplace</a> and <a href="https://www.solar2dplugins.com">Solar2D Plugins</a>.</p>
</div>
<div class="point">
<p class="icon-native"></p>
<h3>Call any native library</h3>
<p>If it’s not already in the core or supported via a plugin, you can call any native (C/C++/Obj-C/Java) library or API using Solar2D Native.</p>
</div>
<div class="point">
<p class="icon-production"></p>
<h3>Production ready</h3>
<p>Solar2D is the official fork of Corona SDK, which has been in active development for over 10 years, and has been used by hundreds of thousands of apps and developers.</p>
</div>
<div class="point">
<p class="icon-lua"></p>
<h3>Lua-based</h3>
<p>Lua is an open source scripting language designed to be lightweight, fast, yet also powerful. Lua is currently the leading scripting language in games and has been utilized in Warcraft ™, Angry Birds ™, Civilization ™ and many other popular franchises.</p>
</div>
<div class="point">
<p class="icon-free"></p>
<h3>Completely free</h3>
<p>No hidden fees, charges, or royalties.
No matter if you are an indie developer or a large publisher,
you will never pay for using the engine.</p>
</div>
<div class="point">
<p class="icon-lock"></p>
<h3>Privacy aware</h3>
<p>Solar2D would not track your users. No anonymized data gathering, no server calls. Nothing. Games you build only make network requests you asked for.</p>
</div>
<div class="point">
<p class="icon-people"></p>
<h3>Community</h3>
<p>Join a vibrant community of thousands developers using Solar2D for live games on <a href="https://forums.solar2d.com" target="_blank">Forums</a> or <a href="https://discord.gg/WMtCemc" target="_blank">Discord</a> chat.</p>
</div>
<div class="point">
<p class="icon-opensource"></p>
<h3>Open Source</h3>
<p>All source code and resources are available under the <a href="https://opensource.org/licenses/MIT" target="_blank">MIT license</a>.</p>
</div>
</div>
</div>
<div class="support">
<a id="support"></a>
<div class="inner">
<h2>Support the Project</h2>
<p>Solar2D development is sponsored by its users. Support the project on <a href="https://github.com/sponsors/shchvova" target="_blank">GitHub Sponsors</a> or <a href="https://patreon.com/shchvova" target="_blank">Patreon</a>.</p>
</div>
</div>
<div id="overlay" onclick="hideDownloadOverlay();hideVideoOverlay();">
<div id="downloadOverlay" onclick="window.event.stopPropagation();">
<a href="#" onclick="hideDownloadOverlay();" id="closeOverlay"></a>
<p style="font-size:35px;">Download Lastest Solar2D Simulator</p>
<div class="button icon-download" style="height:70px;margin-bottom:5px;font-size:25px;">
<a id="mainSimDownloadLink" href="https://github.com/coronalabs/corona/releases"> Download Now</a>
</div>
<p id="mainSimDownloadInfo" style="margin-top:5px;margin-bottom:30px;"><p>
<a class="button icon-play" href="https://docs.coronalabs.com/guide/programming/index.html" target="_blank"> Read Getting Started Guide</a>
<div id="secondaryDownload" style="display:none;margin-top:40px;">
<p id="secondarySimDownloadInfo"> Also Available:<p>
<div class="button icon-download" style="height:40px;font-size:15px;">
<a id="secondarySimDownloadLink" href="https://github.com/coronalabs/corona/releases" target="_blank"> Download Now</a>
</div>
</div>
</div>
<div id="videoOverlay" onclick="window.event.stopPropagation();">
<a href="#" onclick="hideVideoOverlay();" id="closeOverlay"></a>
<iframe style="padding-top:50px;" width="80%" height="80%" src="https://www.youtube.com/embed/peyo_97BOmI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope;" allowfullscreen></iframe>
</div>
<script type="text/javascript">
//Download Window
if (window.location.hash === "#download") {
showDownloadOverlay();
}
var macOSDownloadLink = "https://github.com/coronalabs/corona/releases",
windowsDownloadLink ="https://github.com/coronalabs/corona/releases";
function getOS() {
var userAgent = window.navigator.userAgent,
platform = window.navigator.platform,
macosPlatforms = ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'],
windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE'],
os = "other";
if (macosPlatforms.indexOf(platform) !== -1) {
os = 'Mac OS';
} else if (windowsPlatforms.indexOf(platform) !== -1) {
os = 'Windows';
}
return os;
}
$.getJSON("https://api.github.com/repos/coronalabs/corona/releases/latest").done(function(release) {
var windowsAsset = release.assets.filter(asset => asset.name.includes("msi"))[0];
windowsDownloadLink = windowsAsset.browser_download_url;
var macOSAsset = release.assets.filter(asset => asset.name.includes("dmg"))[0];
macOSDownloadLink = macOSAsset.browser_download_url;
if (getOS() === "Mac OS") {
document.getElementById("mainSimDownloadLink").innerText=" Download For MacOS";
document.getElementById("mainSimDownloadLink").href=macOSDownloadLink;
document.getElementById("mainSimDownloadInfo").innerText=release.name;
document.getElementById("secondaryDownload").style.display = "block";
document.getElementById("secondarySimDownloadLink").innerText=" Download For Windows";
document.getElementById("secondarySimDownloadLink").href=windowsDownloadLink;
}else if (getOS() === "Windows"){
document.getElementById("mainSimDownloadLink").innerText=" Download For Windows";
document.getElementById("mainSimDownloadLink").href=windowsDownloadLink;
document.getElementById("mainSimDownloadInfo").innerText=release.name;
document.getElementById("secondaryDownload").style.display = "block";
document.getElementById("secondarySimDownloadLink").innerText=" Download For MacOS";
document.getElementById("secondarySimDownloadLink").href=macOSDownloadLink;
}
});
function showDownloadOverlay() {
document.getElementById("overlay").style.display = "flex";
document.getElementById("downloadOverlay").style.display = "inline";
}
function hideDownloadOverlay() {
document.getElementById("overlay").style.display = "none";
document.getElementById("downloadOverlay").style.display = "none";
}
//Live Builds Video
if (window.location.hash === "#liveBuilds") {
showVideoOverlay();
}
function showVideoOverlay() {
document.getElementById("overlay").style.display = "flex";
document.getElementById("videoOverlay").style.display = "inline";
}
function hideVideoOverlay() {
document.getElementById("overlay").style.display = "none";
document.getElementById("videoOverlay").style.display = "none";
}
</script>
</div>
</div>
<div class="footer">
<div class="links">
<a class="icon-facebook" href="https://fb.com/solar2d" target="_blank"></a>
<a class="icon-patreon" href="https://patreon.com/shchvova" target="_blank"></a>
<a class="icon-github" href="https://github.com/coronalabs/corona" target="_blank"></a>
</div>
<div class="copyright">
Released under the <a href="/LICENSE.txt" target="_blank">MIT license</a><br/><hr/>
<!-- Solar2D LLC <br/>
30 N Gould St Ste R Sheridan, WY 82801 <br/>
[email protected]; <a href="tel:530-586-8546">(530) 586-8546</a><br/> -->
</div>
</div>
</body>
</html>