Fun with PICO-8

I backed the CHIP Kickstarter about a year ago, and as the shipment date for my pledge level approaches (late May, and they say they are on time), an update was posted indicating that a CHIP specific version of PICO-8 will be included with PocketCHIP. I had never heard of PICO-8, but once I knew what it was, I immediately went over and purchased a copy though their Humble store.

PICO-8_3

PICO-8’s editors are all built into the console. Here is the sprite editor used to create graphics for your games.

PICO-8 is described on the Lexaloffle website as a “Fantasy Console”, and is essentially a self-contained “emulator” for a console that never actually existed. The console is designed with extremely limited hardware/software specifications, intended to mimic a classic 8-bit environment. Developers can create custom cartridges that can be shared with other users or played on the web through the Lexaloffle forums. Each cartridge is limited to 32k, contains up to 128 8×8 pixel sprites, and a 128×32 cell world map.

PICO-8 includes a complete development environment within the program, including code editor, sprite editor, map maker, sound effects editor, and music track editor. With the full version (not the web player) you can switch over to the code and resources for any cartridge you are playing and begin editing. You can start from scratch and create your own cartridge entirely, or modify an existing game to change it in any way you wish.

Code is based on the LUA syntax, without the LUA libraries. There is a provided API that lets you play sound, display sprites, and draw maps in addition to the standard pixel and shape-oriented drawing tools.

Continue reading

Windows 10 Mobile, Email, Notifications, and Microsoft Band

I recently made the jump to built 10158 of Windows 10 Mobile on my Lumia Icon phone, and one of the things it took the longest to sort out was why I wasn’t getting the same type of notifications for incoming email messages that I was on Windows Phone 8.1. I had also picked up a Microsoft Band 2 to replace my existing band, and e-mail notifications were not being pushed to it either. Digging around in W10M, I was finally able to find all of the various settings that have to be enabled to these notifications to appear (both on the lock screen, and playing notification sounds when email arrives).

The Goal

I have three email accounts loaded on my phone, and with WP8.1, I had three separate tiles on my Start screen that displayed the latest messages and new message count from each email account. I liked this, because I use my email accounts for different purposes, so having them displayed separately was helpful. Additionally, my lock screen would display new message counts for each account separately, including icons that were different enough (per account) to identify which account had new messages without unlocking the phone.

When new messages arrived in one of my email accounts, WP8.1 would play a sound (customized per account) to let me know not only that an e-mail had arrived, but if it was something I should look at sooner (a message from work) or later (a message from my old ISP account that I don’t use all that often any longer). Finally, these incoming messages would be pushed out to my Microsoft Band under WP8.1, causing a buzz and a notification screen displaying a snippet of the email.

After the move to W10M, all of this changed. Fortunately, after a bit of searching through the settings menus and the Outlook app, I was able to restore all of the above functionality and get Windows 10 Mobile handling my email accounts the way I like them.

WP_Lock_Apps

Adding Email Account Notifications

WP_Lock_Screen

What I want the Lock Screen to Look Like

The Start Screen

The first time we need to do is create separate tiles for each email account. This can be a little tricky, because (at least in the build I was using) the Pin to Start button in the logical place for it to be doesn’t work. By default on Windows 10, all email accounts are collapsed into a single application now, and you switch accounts via the “Hamburger menu” in the upper left corner of the screen. However, when viewing an email account, if you click on the ellipsis in the bottom right (…) to bring up the menu, there is a “Pin to Start” option which allows you to create a tile for just the current email account. One problem solved!

The Lock Screen

Email counts on the lock screen is next, and fortunately it is pretty easy to set up. Open the Settings app, and select Personalization. From there, select Lock Screen. Scroll down, and you should see a heading for “Choose apps to show quick status”. You probably have the phone and SMS messaging already listed here along with three boxes with plus signs (+) in them. Click on one of these, and you will be presented with a list of possible apps to display status from. If you haven’t split your email accounts up (see Start Screen above), you can pick “Outlook Mail” here to consolidate all of your counts into a single lock screen icon.

Otherwise, pick the names assigned to your individual accounts when you added them to the Outlook Mail app. In my case, I end up with three different icons (Outlook, Exchange, and a generic envelope for POP mail). Two down!

Setting Custom Sounds

To give each email account its own alert sound, head back to the settings app. Select System this time, and then “Notifications & actions”. At the bottom of this screen, you should see “Show notifications from these apps”, with a list of various apps on your phone that can provide notification messages. Find the email account you want to set a sound for and tap on it to open the notification settings for that item. From here, you can select a notification sound.

The thing is (at least for me) this isn’t enough to actually make it play a sound. Or to push the notification to the Microsoft Band without enabling the Action Center icon on the band itself. To do that, we need to make one more change…

WP_Email_Notifications

Check boxes for notification banners and sounds

Beyond the Action Center

It turns out that the default for the Outlook Mail app is to only send notifications to the Action Center. If you swipe down from the top of the screen, you will see your notifications, but the sounds won’t play. In order to fix that, go back into the email account and click on the ellipsis (…) again. This time, select Settings. Tap Options, and scroll down to the bottom of the new page. You should see a section for “Notifications”, containing a toggle switch and two check boxes. Leave the “Show in action center” toggled on, and check off the (currently unchecked) boxes for “Show a notification banner” and “play a sound”.

That should do it! You should now get pop-up notifications, including per-account sounds, when you receive an email. What’s more, if you have a Microsoft Band, these notifications should now be pushed along to the band

 

  • Advertisement