Notes on dealing with Google Play's 64-bit requirement in an old cocos project

I've got an old project, and to solve the problem of Google requiring 64-bit support, I was getting ready to upgrade cocos a bit — then found out it wasn't necessary. Supposedly you just need to compile a 64-bit build. I vaguely remember deleting arm64-v8a back then. Google's guide: https://developer.android.com/distribute/best-practices/develop/64-bit#test\_your\_app\_on\_64-bit\_hardware describes three cases — building with Gradle, with CMake, with ndk-build — and they're all different. From my testing, cocos2dx turns out to be ndk-build mode, which depends on the PROP\_APP\_ABI setting in gradle.properties.

App Development

Using terrain in the Tiled map editor

Starting with Tiled 0.9.0, a new tool was added that makes it easier to edit terrain transitions in tile maps. There are many ways to handle terrain transitions between tiles in a tile map, but Tiled’s terrain tool supports transitions between tile graphics whose corners are all well-defined, which is also the most common approach. Now let’s demonstrate how to use this tool and the steps for setting up terrain information, by working through the desert.tmx that ships in the example directory of the Tiled installation package. Creating a new tile map and tileset Create a new map with a tile size of 32x32:

App Development

Private Notes Update 1.1

- Fixed a bug where user edits were lost if the screen locked while editing a specific note - Fixed a bug where the unlock screen sometimes asked for the password multiple times - Fixed a bug where the creation time of new notes made on the web page displayed incorrectly in WiFi access mode - Fixed a bug where the IP address was sometimes obtained as (null) in WiFi mode

App Development / Works

Private Notes released

My first personal app, Private Notes, is now live on the App Store. From the first version submission to approval, including one rejection along the way, it took 10 days in total. Private Notes is a password-protected memo app I built for my own needs at work and in daily life. Back when I was a kid, my teacher taught me what Chairman Mao once said: “A good memory is no match for a worn-out pen.” That line has stayed with me ever since, and over the years I’ve put it into practice — if it’s worth remembering, I write it down. Now we’re in the information age, and I’m a heavy user of electronic devices. Going out without my phone cuts my HP and my mood in half. My important information — website accounts, security questions — all lives in my phone’s notes app, carried with me everywhere. Even my bank card details, my phone number’s PUK code, the serial numbers and MAC addresses of all my devices — all of it depends on my phone to remember. But phones are easy for other people to grab and play with. With everything stored on the phone, private data is easy for others to see, so a lot of the time I don’t dare write it down at all…

App Development / Works

Loli Adventure project completed and published

Loli’s Adventure was the first mobile game project I saw through to completion as lead programmer. I learned a lot from it and got a feel for how it differs from browser games. The project was built with PHP (AMFPHP) + AIR (Starling plus traditional UI), and on the front end, Starling + traditional UI still runs into plenty of performance limits — from here on, I plan to drop traditional UI entirely for mobile games. This year is a breakout year for mobile platform products, and my interest is sky-high right now.

App Development / Works

Misc notes - jQueryMobile linked page not styled

Today I discovered that in jQueryMobile’s listview, to link to a page in the same directory with the mobile style applied, you must use ./xxxx.html instead of xxxx.html. Otherwise, the target ...

Web Frontend