Skip to main content

Posts

Showing posts from May, 2017

[Tutorial] Play Pokemon GO and Mario RUN on Lineage OS or CyanogenMod

Hi there, I finally managed to run Mario Run and some other Nintendo Games ( Mario RUN , Magikarp Jump , Pokemon Shuffle ; including Pokemon GO , which is made by Niantic and not Nintendo) on my Samsung Galaxy Note II with Lineage OS 14.1 / Android 7.1. Look no further, here is what you have to do :) Unfortunately you might have to reinstall your custom ROM, so backup all your data or enable Google App Data Saving. remove all other SU tools and SU-hiding apps (optional) if in the Developer Settings Root Access only shows ADB / Deactivate, you have to re-flash your Custom ROM and GApps Enable Developer Settings and set Root Access to "Apps and ADB" Download iSU and install it Give Root Access to iSU, when you run it the first time in iSU: change to tab "Controls" and set "Change SU state" to "Deactivated" in iSU: change to tab "Props" > "Force set all Known props" > "Safe Value" in iSU: (optional

JavaScript ES6 Game Loop Design Pattern

Get Started This is just a short overview how to setup a very simple game loop with ES6 (JavaScript) using classes . The following code sections are pretty easy to understand Note that in many cases you need to use ES6's arrow operator => to make sure, you are accessing the correct this . Otherwise you will often get the error " this.method is not a function ". That happens because when accessing this from anonymous methods, this points to the object of the anonymous method, not the object your calling it from. In the HTML snippet, we set up a simple X3D scene with a ground and a small bar. In the JavaScript main.js we create a game object. In Game.js the constructor sets up the game object and initializes the game loop to be triggered every 10 ms. We keep track of the pressed buttons (WASD) with booleans and move the bar accordingly. This is what you will see, you can move the bar around with the WASD keys. Have fun :) PS: To develop this int