Skip to content

Игровой движок на Javascript. Использует Canvas API, без сторонних библиотек и фреймворков.

License

wmgcat/42eng

release
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

О проекте

Игровой движок, написанные на чистом Javascript (ES6). Использует систему модулей, не обязательно использовать абсолютно все модули, которые есть, можно ограничиться лишь тем функционалом, который вам необходим.

Пример

index.html

<!doctype html>
<html>
  <head>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
    </style>
    <script src = './42eng/eng.js' type = 'text/javascript'></script>
    <script src = './game.js' type = 'text/javascript'></script>
  </head>
  <body></body>
</html>

game.js

cfg.debug = true;
const canvas = Add.canvas('canvas', async () => {
  Add.debug('Hello world!');
}, () => {});

canvas.init();
canvas.update();

About

Игровой движок на Javascript. Использует Canvas API, без сторонних библиотек и фреймворков.

Topics

Resources

License

Stars

Watchers

Forks