Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

2014-04-18

Memory Match Theme Popularities Compared

Hi, here's my first go at building a Construct 2 (hybrid game app creation program) memory match template. I decided that I wanted to create many different versions to see which topics get the most popular so that I would spend more time developing the popular ones. So, which theme do you like the most?

Please try them all and let me know what you think. Or, maybe just 1-3 of the most interesting ones to you.

- Memory Match 3
- Memory Match: Roman Numerals
- Memory Match: Color Names
- Memory Match: Colors
- Memory Match: Numbers
- Memory Match: Alphabet
- Memory Match: Letters
- Memory Match: Wildlife
- Memory Match: Cartoon Animals


Results so far:
- Wildlife theme has the highest amount of downloads.
- Colors theme has second highest amount of downloads.
- Color names theme has second lowest amount of downloads.
- Roman numerals theme has the lowest amount of downloads. (Sidenote: These cards took the longest to create also, so good thing I didn't make more)
- My favorite, "Memory Match 3", is getting close to 100 downloads


This information could be good for any of your app that you may want to theme. Seems like people prefer the basics of wildlife and colors, rather than things that require more thinking like color names and roman numerals.. And, I have about 10 different versions that I need to organize.


~ Danial Goodwin ~



2014-03-06

Published Two New Apps: Flappy Gravity and Gravity Runner

Using Construct 2, I've created two new HTML5 apps which run natively in Windows 8 and Windows Phone. I'd like to encourage you to try the apps. The links go to the store where you can see screenshots of the apps.

Gravity Runner
Gravity has gone crazy. There's only one hope... But, beware, the more times you change gravity, the more your power goes down.
- You are in control of gravity!
- Infinite, randomized levels
- Touch-enabled

Available now:
- Windows 8
- Windows Phone


Flappy Gravity
Gravity gone wrong! Change gravity with every tap! Avoid the obstacles.

2014-02-22

Published New App: Wall Ball

I just created a new game using a concept that I haven't seen in any other game. It's almost like a single player pong game with different objectives.

Using the Construct 2 game engine, so that I only have to create the code base once, I've made the game available for Windows 8 and Windows Phone.

Try it out now:
- On Windows 8
- On Windows Phone



~ Danial Goodwin ~



2014-02-18

Published New App: One-Click Saga

Today (and yesterday), I created this "One-Click Saga" game using the Construct 2 game engine. C2 definitely allows great games to be created with ease.

Description:
Three games to master. Flappy's too tired to flap anymore, so he is taking a ride on different airborne vehicles. Rules are the same: tap to save the clone bird's life! But, in each game a tap does something different...

Available Now:
- Windows 8
- Windows Phone
- HTML5


~ Danial Goodwin ~



2014-02-13

Published New App: Flappy Fishes

(YAFBC = Yet Another Flappy Bird Clone)

I really wasn't going to make a copy, but then I did.

Available for:
- Windows 8
- Windows Phone
- HTML5 (slightly older version)

~ Danial Goodwin ~



2014-02-07

Level Up - Windows 8: How to Copy/Move Files From Many Subfolders To Just One Folder

Long Title: How to Transfer Files From Many Subfolders To Just One Folder and Rename Them All Easily and Quickly.

Example: I had about 100 images that were all neatly organized into 100 different subfolders. I wanted to put them in just five different subfolder as painless as possible. Manually moving each image one-by-one was not ideal, so here's what I did, using the Windows Command Prompt and a Batch file:

1. Create a BAT file.
2. Add the following code:
FOR /L %%i IN (0,1,19) DO (
copy %cd%\ic_launcher(%%i)\res\drawable-mdpi\ic_launcher.png %cd%\_mdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-hdpi\ic_launcher.png %cd%\_hdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xhdpi\ic_launcher.png %cd%\_xhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxhdpi\ic_launcher.png %cd%\_xxhdpi\data_cycle_%%i.png
copy %cd%\ic_launcher(%%i)\res\drawable-xxxhdpi\ic_launcher.png %cd%\_xxxhdpi\data_cycle_%%i.png
)
3. Run the BAT by double-clicking the file (or right-click->Open) (or run via command prompt).

Note:
- The parenthesis after "DO" must go on the same line. Putting it on the next line will cause the file to not work properly.
- If you want to move files rather than copy, then change "copy" to "move".
- If you want to keep the same file names, then you don't have to specify the file name on the second parameter.

Now in a simpler English, what this batch file does:
- There are five "copy" commands with a source and destination.
- These commands are each ran 20 times because of the "FOR" command.
- The "FOR" line says do the following commands within the parentheses 20 times. The first time will have the variable "%%i" equal to 0. The second run will have "%%i" equal to 1. The variable will keep incrementing until "%%i" is equal to 19. This behavior is defined at "%%i IN (0,1,19)", where 0 is the starting number, 19 is the ending number, and 1 is the increment number (which could also be negative).


For more information about for-loops, then type "for /?" into the command prompt.


Here's some more commands that you can try: Windows Command Prompt Cheat Sheet
~ Danial Goodwin ~



2014-02-02

Level Up - Windows 8: How to Create a Batch File

Batch (*.bat) files are useful because they allow you to save and reuse commands for the command prompt (or CLI, command-line interface). Also, it is easier to send multiple commands at once, fix typos, and edit the commands.

Batch files are available for Windows 7, 8, and 8.1. Any command that you can put in the CLI, you should be able to put into the BAT file.


Method 1:
- Right-click on your desktop (or in File Explorer), and select New->Text Document. Now, rename the file to something ending with .bat.


Method 2:
- Open Notepad, then when you save the file, make sure to end it with ".bat".

Saving a Batch file requires a .bat ending.
Test the Batch file:
Now that you have the BAT file, you can easily test that it works by putting in the following code, then double-click to run the file.
echo Hello, World!


Here's some more things you can try out: Windows Command Prompt Cheat Sheet


Note: If method 1 didn't work for you, then try method 2.

~ Danial Goodwin ~



2014-02-01

Level Up - WP Dev: How to Remove Debug Information From Windows Phone Emulator

(This post is for developers of the Windows Phone platform.)

Ever find the frame rate counters and other debug information on the Windows Phone emulator more annoying than useful? It always appears there, whether in debug mode or release mode.

What if you want to get a clean screenshot without having to edit the image later? The red and white performance information on the side of the emulator screen is a nice feature, but I haven't needed to use it much in my recent apps.

It's possible. And, you only have to change one word.

How To:
1. Open App.xaml.cs.
2. Find the line that says `Application.Current.Host.Settings.EnableFrameRateCounter = true;`.
3. Change `true` to `false`.

That's it!

Now, you can get the full/real experience that end users would get when using your app, emulator style.

Feel free to share this with other WP devs that you know.

By default, the emulator has debug information on it.


Source: http://msdn.microsoft.com/en-us/library/windowsphone/develop/gg588380(v=vs.105).aspx


~ Danial Goodwin ~



2014-01-22

Construct 2 Bug Export To Windows 8: Too many characters in description.

Here's the full error message in Visual Studio:

"The 'Description' attribute is invalid - The value '' is invalid according to its datatype 'http://WPTokens:ST_String' - The actual length is greater than the MaxLength value"

Basically, this error says that your description is too long.

Through trial and error, I've found out that the max allowable length of the Windows 8 app description in WMAppManifest.xml is 256 characters. So, in order to fix this problem, all you have to do open "WMAppManifest.xml", which can be found in the Properties folder of your app's project. Then, edit your description so that it is not as long. I used Notepad++ to count the number of characters in the description.

I spent a few minutes looking for the official documentation for this file, but didn't find it. I found many official resources for Windows 8 that was close, but weren't for the exact file WMAppManifest.xml. Here's one of the links that is something that I'm looking for <link>.

If you know where the official page for this documentation of max length of 256 characters for the description, then please let me know. This bug still hasn't been reported to the developers of Construct 2 yet, because I think there will be other areas around this spot that also has bugs, and I would like to report them all in one go. This will make things much easier for the developer also. And, it's always good to source fixes.



A picture of the error message.


~ Danial Goodwin ~



2014-01-14

Level Up: Paint.NET: Create Large Image From Small Image Source

In trying to create a logo for my newest game, I had a few images that were 32x32 pixels. So, my first thought for the logo was just a mash up with all of them. And, that looked something horrific, like:

A mashup of small pixelated icons
And, if that were scaled up to the size I needed, it would be even more pixelated, which I did not want for this game. So, I thought for a few seconds to determine what I were to do if I weren't lazy. Using my design background and my like for being minimal, I've decided to just create an image of my own that wouldn't be pixelated. If I were to just blow up an 32x32 image to 1000x1000, here's what it would look like:

This is worse than pixelation
Solution, in order to capture the essence of the game in just a single simple icon, I determined that the bomb disguised as a coin would best represent most of the game. Hopefully, it would also provide a little bit of intrigue to get users to click on it.

Final image, using only my own circles, lines, and rounded rectangles. Oh, and the practical use of Gaussian Blur for the level up! =]




Btw, you can play the free beta version at Simply Advanced Games. Coinqueror is coming soon for Windows 8 and Windows Phone 8.

~ Danial Goodwin ~



2014-01-11

Construct 2: Reporting Bugs for Windows Phone 8

For the past few WP8 apps I've been creating using Construct 2, I've been manually making the necessary bug fixes myself. Today I've decided to properly report three of these bugs to the developers of Construct 2. My last bug report that I sent to them a few weeks ago was fixed. And, I expect the same with these bugs, especially, since I described them almost like I fixed it for them. ;)

The three errors reported:
WP8 Export: Fullscreen not being set
WP8 Export: App title not carrying over to WP8
Windows Phone 8 Export, no apostrophes allowed

In the meantime, until these errors are fixed, you can visit the links to see how I solved the problems manually. If the links don't work, then that most likely means that the bug has been fixed and the bug report post has moved to a different place.


UPDATE: Each of these reported bugs have now been fixed! Construct 2, release 157

~ Danial Goodwin ~



2013-12-28

My Migration from Dual-Boot Win7/Win8 to only Windows 8

1. Meticulously back up data
2. Download full Windows 8.1 iso to burn to disk
3. Refresh myself on how to factory restore and install new operating system (OS)
4. Factory restore computer
4. Popped in the Win 8.1 disc and with that I deleted all the partitions before installing 8.1. This was a really great experience! It was very fast. Also, the start-up process for Windows 8.1 from nothing was tremendously faster than what I was expecting. Got Windows 8.1 installed
4.1. During the setup process, I also created two addition 50GB partitions separate from Win8 so that I could experiment with different OSes with ease.
5. During setup I logged in with my MS account, and in the Start screen I noticed that my setup was saved from my old Win8 setup. Even the desktop wallpaper carried over! And the position of the Taskbar vertical on the left side.
6. Bug found. During the entire setup/install process, I had my second monitor plugged in. Now, the OS only recognizes the second monitor. I hope a restart without the second monitor plugged in will fix this. (Update: Yes, restarting fixed this problem)
7. Went through all of the Windows settings and personalized it to my liking.
8. Used Internet Explorer to install Google Chrome (plus Java plugin).
9. Add my important files from before the wipe.
10. Install programs
  • Common Tools
    • Notepad++ (with ZenCoding plugin and Compare plugin)
    • Paint.NET (with Photoshop plugin)
    • VLC Media Player
    • Microsoft Office
    • Adobe (unfortunately) and/vs Foxit
  • Specialized Tools
    • AutoHotKey (for creating macros)
    • FileZilla (for FTP)
    • Audacity (for music editing)
    • 7-Zip
    • Git
    • Inkscape (for editing vector files)
    • Skitch (for quick screenshots with overlays and fast getting a link to share)
    • Putty
    • WinSCP
  • App Building Programs
    • Android + Eclipse + Java SE Development Kit (JDK)
    • Visual Studio 2012 + 2013 + Azure
    • Construct 2
  • Others
    • Dropbox
  • Programs NOT installed this time
    • iTunes (mainly because I haven't used it in awhile and Apple installs way too many separate things along with it)
11. Fixed bug where everything seemed blurry. Windows required a graphics card driver update and a restart. There was no need to limit DPI scaling anywhere.
12. Set keyboard shortcuts

  • Ctrl + Alt + c = Calculator
  • Ctrl + Alt + p  = Paint
  • Ctrl + Alt + Shift + P  = Paint.NET
  • Ctrl + Alt + n  = Notepad (Very rarely used)
  • Ctrl + Alt + Shift + N  = Notepad++
  • Ctrl + Alt + Shift + F  = FileZilla

13. Reassign file types. E.g. Make sure TXT and XML files open with Notepad++. Here's a Windows Command Line Prompt Cheat Sheet.

And, now I finally have a brand new clean system that I can work efficiently on. Later I will be customizing each of my programs again, to my liking.

It could have been worse. But, there still has got to be a better way of doing all of this...

There's about 100GB of programs and data I've added to this computer that I need for my different work/projects. And, that doesn't even include any of my music, videos, pictures, or 35 extra gigabytes of data from Db which I will be downloading tonight, or maybe not this time. Also, these programs I've installed in the beginning are just most of the ones that I have used in the past month and will need to use within the next month.

  • About 7.5 GB of program installers in my Downloads folder
  • About 1.0 GB of data on my Desktop
  • About 0.3 GB of data in my Documents folder
  • About 43 GB of data in my Developer folder
That's about 52 GB of data out of ~95 GB memory used. So, 43 GB used for programs.

~ Danial Goodwin ~



2013-12-24

Terrible User Experience - There's Only One Major Application I Know That Does This

Perhaps the most terrible example of all user experience (UX) an application/program can give to users, is to shut down the program when the user is in the middle of working. Case study: Windows. I just got auto-updated.

In Windows 7, there is a small window that pops up that says the computer will restart in 15 minutes, in order to install updates. After that message is postponed, it doesn't pop up in the front any more. In my multiple monitor setup, I don't always pay attention to all of them. There is just typically one main monitor I work with. My current work involved having about 20 tabs in a browser open and a few more large RAM-hungry application, so I didn't want to have to re-setup my workspace. So, I was able to postpone the auto-update a few times. But, when I was really into my work on one monitor, the auto-shut-down prompt I assume was ominously counting down on my other monitor, behind everything. In the middle of typing, sudden the document disappears. There goes all the work (if I was working in a program without autosave).

I am a UX designer and have many recommendations to improve this "feature" in Windows 7. I'm glad my biggest recommendation is taken care of in Windows 8: Make the death prompt more visible. Just having that one change would save me from more trouble.

I understand where Microsoft and other companies are coming from. They want to make sure that updates are installed so that users are protected from even worse virus/malware attacks. I'm sure they've done their research to learn that many people unfortunately don't install the updates in a timely manner, if at all. So, in order to protect users from worse troubles, Microsoft has by default decided to be more aggressive in getting the updates installed.
I had to throw in that "by default" in the last sentence because I know there is the option to disable all automatic updates. But, good UX and good customer service wouldn't put the blame on the user/customer. If the user does something "wrong", then it is only because the application allowed the user to do so.

Bonus: Here's a copywriting tip: Never have long chunks of words/paragraphs.

~ Danial Goodwin ~



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-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 ~