Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.23 / 5.00 3,881 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.93 / 5.00 4,634 ViewsAt 8/5/13 05:57 AM, RougeMonkey wrote: Can you get the API for stencyl?
It is possible to put in custom code into individual actor's in the Stencyl program. Go to the selected actor, click on Flow in the Palette tab and then go to Advanced. Under there you will find the Code slot, so if you know ActionScrpt 2 or 3 (depending on what version your using for the Stencyl project), you can use the API there.
I am not hugely sure how you import the API though. I am still looking through the WIKI on NG on how that is the case.
Also, I would strongly suggest taking a look here: http://www.newgrounds.com/wiki/creator-resources/flash-api/c onnecting-to-the-api
That will tell you how to setup up a Connector to the NG API in your code.
If you create Scene Behaviour in your Logic (on the Dashboard), you can drag and drag the Code form into the Behaviour, you can apply that behaviour to each and every screen accordingly.
I completely missed this out... in Stencyl there is Game Settings, and under the Web tab, there are API keys which you can connect to, of them are the Newgrounds API ID and Game Key, which you will need to put in before you can start using the Newgrounds API in your game. Hope this helps.
At 8/7/13 08:18 AM, brutalexcess wrote: I completely missed this out... in Stencyl there is Game Settings, and under the Web tab, there are API keys which you can connect to, of them are the Newgrounds API ID and Game Key, which you will need to put in before you can start using the Newgrounds API in your game. Hope this helps.
Thanks For the help!!