Compare commits
1 Commits
3e3f06eb17
...
8752fdf1e8
| Author | SHA1 | Date | |
|---|---|---|---|
| 8752fdf1e8 |
25
README.md
25
README.md
@@ -1,7 +1,28 @@
|
|||||||
# RU
|
# RU
|
||||||
|
|
||||||
Это хранилище МИРА, модульной платформы.
|
МУРОМ:
|
||||||
|
|
||||||
|
* является редактором игр
|
||||||
|
* исполняется в веб-браузере
|
||||||
|
* использует [МОТОР][motor] для отображения 3D
|
||||||
|
* долговечен, доступен, независим
|
||||||
|
* выпущен под лицензией [CC0][cc0] (общественное достояние)
|
||||||
|
|
||||||
|
Подробности на [http://opengamestudio.org/murom][murom-ru].
|
||||||
|
|
||||||
# EN
|
# EN
|
||||||
|
|
||||||
This is the repository of MIR, a modular platform.
|
MUROM:
|
||||||
|
|
||||||
|
* is a game editor
|
||||||
|
* runs in your web browser
|
||||||
|
* uses [MOTOR][motor] to render 3D
|
||||||
|
* is durable, accessible, independent
|
||||||
|
* is released under [CC0][cc0] license (public domain)
|
||||||
|
|
||||||
|
Read more at [http://opengamestudio.org/murom][murom].
|
||||||
|
|
||||||
|
[murom]: http://opengamestudio.org/murom
|
||||||
|
[murom-ru]: http://opengamestudio.org/murom/ru
|
||||||
|
[motor]: http://bitbucket.com/ogstudio/motor
|
||||||
|
[cc0]: https://creativecommons.org/share-your-work/public-domain/cc0/
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<head>
|
|
||||||
<style>
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script>
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
44
заставка.js
Normal file
44
заставка.js
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
function добавитьЭкранЗаставки()
|
||||||
|
{
|
||||||
|
var заставка = document.createElement("div");
|
||||||
|
document.body.appendChild(заставка);
|
||||||
|
заставка.id = "заставка";
|
||||||
|
заставка.style.cssText = "position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none;";
|
||||||
|
заставка.innerHTML =
|
||||||
|
`
|
||||||
|
<h1 id = "заголовок">МУРОМ</h1>
|
||||||
|
`;
|
||||||
|
|
||||||
|
var вид = document.createElement("style");
|
||||||
|
document.head.appendChild(вид);
|
||||||
|
вид.innerHTML =
|
||||||
|
`
|
||||||
|
#заголовок
|
||||||
|
{
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
}
|
||||||
|
#заставка
|
||||||
|
{
|
||||||
|
opacity: 1;
|
||||||
|
background-color: grey;
|
||||||
|
animation: fadeOut 2s ease;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
}
|
||||||
|
@keyframes fadeOut
|
||||||
|
{
|
||||||
|
from
|
||||||
|
{
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
to
|
||||||
|
{
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
муром.старт.подписать(добавитьЭкранЗаставки);
|
||||||
267
муром_1.2.0.html
Normal file
267
муром_1.2.0.html
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user