espace Posted July 3, 2016 Share Posted July 3, 2016 hi the Pixi's forum, As mentionned i come from corona with lua as default language. I see pixi.js and i was surprised for his speed, his minimal config and the quantity of assets that can't be displayed. I would like to get involved in the javascript and in Pixi but i have still some interrogations.. How do you use external module with javascript ? for example I describe in character.js my character or some other functions and I invoke it in my main.js ? Have you a good tutorial or documentation about that ? The last thing that worries me : is it possible to easily integrate plugins for monetization with pixi like admob ? Finally, i'm beginning with the manual of javascript but if you have some good tutorials for me you are welcome (how build for android and ios, tweens, particle, timer, event, function,array,...) Thanks P.S : as you see english is not my mother tong... Quote Link to comment Share on other sites More sharing options...
TickleMeElmo Posted July 20, 2016 Share Posted July 20, 2016 1) to use external module in javascript you have to include it inside the html file before the main script. 2) pixi is just an rendering engine and to use pixi or any other javascript game engine you have to use something like cordova to pack it into apk file (since javascript is just scripting language for web page, you are kind of just writing a web page, so practically what cordova does, is doing an app that launches that webpage like it was an native app, which is the reason why it is considered so good for building crossplatform). Yes there is all sorts of plugins, https://cordova.apache.org/plugins/. 3) the amount of tutorials for javascript is huge, just google tutorials for javascript :), when I started learning I used something like codecadamy and it was quite good for basics. Also I think maybe you should start by using Phaser instead, It's much easier for beginners, a lot of examples and things built in. Quote Link to comment Share on other sites More sharing options...
espace Posted July 23, 2016 Author Share Posted July 23, 2016 Thanks for your reply, since i learned good and i'm on phaser. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.