2013-12-19

Construct 2: Landscape Bug Fixed for Windows Phone 8 Export

A few days ago, I submitted a thorough bug report for Windows Phone 8 apps made from Construct 2 not going to landscape mode when it's supposed to. But, thanks to the great developers of C2, this bug has now been quickly fixed for the current beta release r155. So, this saves you C2 developers an extra step.

Get Construct 2

~ Danial Goodwin ~



2013-12-16

Pictures

Today's post will just be pictures of things that I haven't seen before. So, I'm sharing the knowledge:

Albert Wine-Stein (Einstein)

Toilet-Time Golf

Fun puzzle, full of roses, reminds me of my potato chip puzzle like this

Fun*2 jigsaw puzzle, full of the same candy cane, over and over

I've played 3 person chess before, but not a 4-way.

Just a big wine glass holding a lot of aerators. But, I guess I could call this a large decanter also.


~ Danial Goodwin ~

ps - These are from 16 December 2013



2013-12-15

C2: [Bug Fix] Windows Phone Export Doesn't Go Full-Screen or Landscape Mode

So, in my quest to create 100 Windows apps, I'm finding more solutions to bugs/issues/problems with the export of Windows Phone from Construct 2.

Problem: No Fullscreen. Here's how to fix it:
1. After you have exported the app from Construct 2, open MainPage.xaml
2. Find the line that says:
shell:SystemTray.IsVisible="True"

And, change it to:
shell:SystemTray.IsVisible="False"



Problem: No Landscape Mode. Here's how to fix it:
1. After you have exported the app from Construct 2, open MainPage.xaml
2. Find the line that says:
SupportedOrientations="Portrait" Orientation="Portrait"

And, change it to:
SupportedOrientations="Landscape" Orientation="Landscape"


That should do it! =]

UPDATE: The landscape mode problem has now been fixed! (2013-12-19)

~ Danial Goodwin ~



Error: The Windows Phone Emulator wasn't able to ensure the virtual machine was running

Here's just another problem that I experienced while trying to create a Windows Phone app. It didn't come up last night for my last app. So, I figured out that I was running too many things at once for my 4GB RAM laptop. Or, should I say, Windows was running too many things? The one differentiating factor between last night and tonight was that tonight there was a "Windows Maintenance in progress". But, it wasn't too bad. I just closed out every other program I had open, including the Dropbox sync and I was able to continue opening the Windows Phone WXGA emulator so that I could take screenshots for the store.

Here's the full error report:
[Window Title]Windows Phone Emulator 
[Content]The Windows Phone Emulator wasn't able to ensure the virtual machine was running:
Something happened while starting a virtual machine: 'Emulator WXGA.danial' could not initialize. (Virtual machine ID C3F3456A-1234-ASDF-87GH-ABD23456GG90)
Not enough memory in the system to start the virtual machine Emulator WXGA.danial with ram size 1024 megabytes. (Virtual machine ID C3F3456A-1234-ASDF-87GH-ABD23456GG90)
[Close]

~ Danial Goodwin ~



2013-12-14

Construct 2: Exporting To Windows Phone Part 2

So, part 1 of issues isn't enough. The next issue happened when trying to create screenshots for the Windows Phone upload. A screenshot size of 768x1280 is required. Unfortunately, my Windows Phone 8 (Lumia Nokia 820) only takes screenshots at 480x800. Also, I'd rather not scale up the images that much, making them possibly pixelated and not as pleasant for viewers with devices of high fidelity. So, I learned that the default emulator also captures screenshots at 480x800.

Here's what I missed:
- I should have chosen the WXGA emulator, not the WVGA emulator. Just a slight difference there.

Now, everything's all good. I should have anymore hiccups as I publish this Windows Phone app made with Construct 2.

I found a use for the 480x800 screenshot I took. ;)

~ Danial Goodwin ~



Construct 2: Exporting to Windows Phone

Windows Phone app certification requires games to have "Back" button functionality. E.g. Main menu should exit app and other pages should either go back within the game for navigation or bring up a pause popup.

So, using the plugin + strategy mentioned here, I was able to bring the Windows Phone app up to standards for publishing. There is a great function/event/action that can be called to intercept the back button presses so that the developer can do whatever.

Also, I didn't use the entire strategy mentioned at the above link, but that's the method I would recommend others to take. I took the harder method just for learning how the plugin worked and involves moving a lot of code around manually and breaks some of the functionalities in the plugin so that only `Back` works. But, eventually, I think I will share the specifics for learning about the C2 plugins.

~ Danial Goodwin ~



2013-12-13

Level Up! Applying Textures to Graphics

Before today, I had no idea how to apply textures to a picture, nor how long it would take. I now know that it takes less than five minutes once you have the graphics. And, this was my first time doing it! And, I didn't even look up how to do this texturizing thing. I had a lucky guess that just worked. My choice of graphics program was Paint.NET.

 Here's some screenshots of the work: A before, an after, and my final app that I'm producing for kids. Big kids too if you like. ;]

First, I put the texture (candy cane) in one layer and put the object in a different layer .

2. Use the magic-wand-selector to select the text. 3. Change layers. 4. Copy. 5. Paste in a new project.


Here's how it looks in the app, Help Santa!


+1 Graphics skill level!

~ Danial Goodwin ~



Bug Fix: Windows Phone Not Detected, Can't Connect To Windows Phone Developer Registration

The Problem:
"Status: Unable to connect to a phone. For Windows Phone 7 phones make sure the Zune software is running and the Zune recognizes your phone. For Windows Phone 8 phones make sure that the Windows Phone IP Over USB Transport (IpOverUsbSvc) service is running."

The Solution:
- What worked for me was just using a regular USB cable and plugging it in directly to the computer rather than going through an USB hub.

- For many other, what works is ensuring that "Windows Phone IP Over USB Transport" (IpOverUsbSvc) is running. How to do that? Here's an easiest way: Go into start, search "Administrative Tools" -> Click "Services", then find and double-click on "Windows Phone IP Over USB Transport", and find the start or maybe even the reset button.

~ Danial Goodwin ~



C2: Bug Fix for Windows Phone Orientation

Currently, in Construct 2 r152, there is a bug that always puts the Windows Phone 8 export in portrait mode. This can be changed after exporting and viewing in Visual Studios. Open MainPage.xaml, find the line that says orientation or portrait and change that value to landscape, or whatever you would like.

~ Danial Goodwin ~



2013-12-12

Creating Windows Apps With Construct 2

Intro:
I plan on creating 100 games with Construct 2. I'll be writing about all/most of my experiences of using the program. Originally, I was thinking about creating a separate blog for just this endeavor, but I already have too many blog concurrently. So, posts in this blog with be tagged "construct 2" and "c2" when they are related to this.

Goals for each game:
 - I must learn something for every game I create.
 - I must feel reasonably good about them. Though, they also may not be my best work.
 - These games should be publishable.
 - At first, the games will only be published to the Windows 8 Store and Windows Phone Store.

Why only Windows?
Mainly because it's currently the best platform to publish to. The Windows platforms may not have the largest market share, but they still do have millions upon millions of users. Soon, just about ever computer will be running Windows 8, and they will need apps to download, my apps. ;)

After goals:
After accumulating all the knowledge that comes from creating 100 different games. I mostly likely will update the most popular ones with more levels/features. Then, we'll see. =]

~ Danial Goodwin ~



2013-12-04

Dan Vs Meatball Subs

Not sure if meatball sub or pizza sub...

I had a revelation today.

I thought I liked meatball subs that I got from sub places (e.g. Subway). But, as I was making my own homemade version, I figured out that the main reason I like it so much is because it is cleverly disguised as a pizza sub!

After-the-fact, this is now really obvious. A pizza in any form is still pizza, a delicious meal. Sub shops can sell two different names, but deliver the same product.

=]

~ Danial Goodwin ~



2013-11-24

History of Chess Notations

(This post is for those chess players out there.)

I just came across a Wikipedia page explaining the history of chess notations and there is some amusing stuff there.

These days, chess notation usually looks something like e2-e3 (long form) which stands for a pawn move in column e, from row 2 to row 3. For those that don't know, some chess players write down chess moves in order to help remember how the game progressed.

But,

How did history write chess notations?

Imagine that you want to take note that a Knight moved to F3. Today, you would just write Nf3 and be done. Here's how they did it throughout history:

In 1946, the standard was N-KB3

In 1848, the standard was K. Kt. to B's 3rd.

In 1750, they used K. knight to His Bishop's 3d.

In 1614, The white king commands his owne knight into the third house before his owne bishop.


Find out more information from my source, Wikipedia: <link>

~ Danial Goodwin ~

ps - For those that don't know, every chess board nowadays has each of the squares labeled alpha-numerically using A-H and 1-8.



2013-11-23

Arguing Versus Debating

(These two words may be synonyms at a basic level, but can mean two different things.)

It is useless to have two different words mean the exact same thing.

Typically, there are different levels of meaning (i.e., big vs huge vs gargantuan). But, unfortunately, it takes a long time to learn the specific differences/intricacies between all of the words we use. So, in order for us to better communicate our thoughts to one another, I write this post. Here is goes:

I don't like to argue. But, I do like to debate.

If I ever say, "I don't like/want to argue", then this is really what I mean...

Here's my common definitions for "arguing":
- At a rudimentary level, "complaining for the sake of it".
- At a basic level, "explaining, using logical fallacies".
- From a chess perspective, "perfectly symmetrical debating that has stalemated 5+ moves ago (think: KvK)".

Here's my common definitions for "debating":
- At an elementary level, "listing pros and cons"
- At a fundamental level, "two sides taking turns, presenting their ideas to the other. Typically has an outcome."
- From a military/infantry perspective, "arguing in the form of bounding overwatch, where progress is achieved."

If you have any comments about arguing versus debating, then I'd like to hear you in the comments below.

~ Danial Goodwin ~

ps - One reason I like to spend time to write posts is so that:
1. I can better understand myself,
2. Others can better understand me,
3. Others can better understand themselves,
4. Others can better understand each other,
5. And, if there are comments, then I can better understand others. ;]



2013-11-22

Android 4.4 Developer

A few days ago, I had my Nexus 4's OS updated from Android 4.3 to Android 4.4. The system is running very smooth. Two of the first things I did was enable developer mode and then enabled all apps to use the new ART compiler rather than the old Dalvik compiler.

You are now a developer! Again! 


~ Danial Goodwin ~



2013-11-21

Android Publishers Cannot Purchase Their Own Apps

This is not new news by a longshot. But, through the regular course of my day, I encountered this error again and decided to take a picture so that I can let others know about it too.

In order for developers to have the pro versions of their apps, they must side-load it. And, it is typically a debug (non-public release) build.

The publisher cannot purchase this item.

Well, I guess it at least saved me 30% of the app cost if I wanted to buy from myself.

NOTE: This only applies to when using Google's in-app billing system. I don't think third-parties care as much about who is giving them money.

~ Danial Goodwin ~