hostops / Ne

A library that helps you simply create arcade game using few lines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ne

GitHub Maintenance
A library that helps you simply create arcade game using few lines. Purpose of project Ne is to make children interested in coding.

GitHub issues GitHub closed issues GitHub forks GitHub stars

You can try your code online: https://ne.etilk.com/

Simple example

var nextRoom = new Room();
nextRoom.addItem(Items.angryRobot());
nextRoom.addItem(Items.helper());
nextRoom.addItem(Items.bonus());
mainRoom.addRoom(nextRoom, Direction.LEFT);

Room loop example

var leftRoom = mainRoom.newLeftRoom(80);
var upRoom = mainRoom.newUpRoom(60);
var thirdRoom = leftRoom.newUpRoom(40);
thirdRoom.addRoom(upRoom, Direction.RIGHT);	
mainRoom.addItem(new Item(0.05, 0.05));
mainRoom.addItem(new Item(0.05, 0.05));
mainRoom.addItem(new Item(0.05, 0.05));
leftRoom.addItem(new Item(0.05, 0.05));
leftRoom.addItem(new Item(0.05, 0.05));
thirdRoom.addItem(new Item(0.05, 0.05));

And your game is running.

Modules

  • Code editor
  • UI
    • Interface
  • Game
    • Items
    • GamePlay

About

A library that helps you simply create arcade game using few lines.

License:MIT License


Languages

Language:JavaScript 99.9%Language:Shell 0.1%