Giter Club home page Giter Club logo

rapanui's Introduction

--[[
--
--   _____                   _   _       _
--  |  __ \                 | \ | |     (_)
--  | |__) |__ _ _ __   __ _|  \| |_   _ _
--  |  _  // _` | '_ \ / _` | . ` | | | | |
--  | | \ \ (_| | |_) | (_| | |\  | |_| | |
--  |_|  \_\__,_| .__/ \__,_|_| \_|\__,_|_|
--              | |
--              |_|
--
-- RapaNui
--
-- by Ymobe ltd  (http://ymobe.co.uk)
--
-- LICENSE:
--
-- RapaNui uses the Common Public Attribution License Version 1.0 (CPAL) http://www.opensource.org/licenses/cpal_1.0.
-- CPAL is an Open Source Initiative approved
-- license based on the Mozilla Public License, with the added requirement that you attribute
-- Moai (http://getmoai.com/) and RapaNui in the credits of your program.


How to test RapaNui in Moai distribution for Mac iOS:

1) under your moai dir find the dir "samples" create a new dir "RapaNui"
2) copy all the file of RapaNui (including sub subdirectories) in the new [YOUR_MOAI_DIR]/samples/RapaNui

in Moai's xcode ios SampleMoai project:

1) find the file named "moai-target" (should be under Resources -> build -> moai-target)
2) change the content to "../../samples/RapaNui"

now run the project



How to test RapaNui in Moai distribution for Windows:

1)download or clone RapaNui as is.

2)Find these files in the Moai distribution:
- moai.exe from Moai's bin folder
- config.lua from Moai's samples\config folder 

3)Now create .bat file in the RapaNui root directory.
Use the paths of those files and set the lua file to run.

Example .bat file (in this example Moai distribution is under C:\moai-sdk directory):

"C:\moai-sdk\bin\win32\moai.exe"
"C:\moai-sdk\samples\config\config.lua" 
"main.lua"

4)Now run the .bat file you've just created.



To change the demo of RapaNui

1) find and edit the main.lua under [YOUR_MOAI_DIR]/samples/RapaNui/main.lua
2) comment current sample with "--"
3) uncomment the sample you want to test.
4) run the project



How to use RapaNui in your project:

1) copy all the files of the root dir of the distribution into your project and add a lua require
   in your app's scripts.

enjoy,
The RapaNui team

rapanui's People

Contributors

eljeko avatar mattiafortunati avatar odie avatar cosmez avatar galsas avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.