Like money? RIM is practically throwing it at you!

Discussion and feedback on Construct 2

Post » Thu Jan 17, 2013 3:19 am

[QUOTE=Joannesalfa] [QUOTE=Draspur] [QUOTE=Joannesalfa] I've done this event for 3 times, next friday will be last :)

[/QUOTE]

What was your experience?[/QUOTE]

Nice, it's part of exercise[/QUOTE]

Something flew over my head, do you help with it or have you taken part?
B
49
S
19
G
9
Posts: 431
Reputation: 10,001

Post » Thu Jan 17, 2013 4:35 am

I was at all portathon now I have a playbook to dev alpha and 3000 dlls. Great to have been a month ago. Blackberry is doing wonderful things very well
B
16
S
2
G
3
Posts: 9
Reputation: 3,251

Post » Thu Jan 17, 2013 4:07 pm

@HenMex: That's what I like to hear! :-)

@lougazzola: Thank you for clearing that up.

If there are still any concerns out there, by all means don't hesitate to ask.

For those looking at participating for the first time, I've given @mzo's documentation (on the first page) a read through and it does a good job of covering a lot of the pieces you'll go through. Even if you have no development experience and are unsure about Code Signing Keys, downloading SDKs, etc. there are people like me (who you can reach at eoros@rim.com as well) who will be online during the Port-a-Thon actively helping you overcome any challenges you encounter.

Best of luck all!WaterlooErik2013-01-17 16:08:03
B
4
S
1
Posts: 79
Reputation: 808

Post » Thu Jan 17, 2013 8:00 pm

This is a real shame, I would love to chuck a few of my games up but the process is totally baffling. A step-by-step would be great, there is just too much to go through to make it worthwhile time-wise for someone unfamiliar with the process.
B
27
S
8
G
5
Posts: 429
Reputation: 6,902

Post » Fri Jan 18, 2013 12:18 am

Hi Tobye, I'll do my best to help get you to a point where you're ready so submit; and hopefully this will help some other starters too. As noted @mzo's guide does a good job of bringing all the information to one place, but if you're looking at it all for the very first time, it can look like quite a bit. Let's try to pick out some of the more urgent pieces first.

Just to understand where we're starting, is it safe to say that you're familiar with C2 to the point where you've created projects and can export an HTML5 version of those project? (i.e. the HTML, CSS, and JavaScript files are generated in a standalone folder.)
B
4
S
1
Posts: 79
Reputation: 808

Post » Fri Jan 18, 2013 1:34 am

I concur with @henmex, BB is taking very good care of its developers and they have an excellent team running the various events...Animate2013-01-18 01:35:40
B
82
S
11
G
8
Posts: 153
Reputation: 10,215

Post » Fri Jan 18, 2013 1:57 pm

@WaterlooErik - Yeah I am very familiar with C2. I have made several games in several genres and published a few to Android. I am not familiar with non-C2 game development however.

It is just a lot of information to digest on that link :) The contents bounce around quite a bit too. Having a "Step 1, step 2..." would really make it much easier and less daunting.
B
27
S
8
G
5
Posts: 429
Reputation: 6,902

Post » Fri Jan 18, 2013 3:35 pm

I'll try to cover the steps here; feel free to ask any questions.

The starting point that I'm assuming is that you have exported your Construct 2 project such that you have a single folder that houses all of your HTML, JavaScript, CSS, and resource files.

We need to add one file to the root of this project called config.xml.

EDIT: Updated the wording to be more clear. 'root of this project', not 'root of this folder'.

The most basic config.xml looks as follows.

[code]<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
          xmlns:rim="http://www.blackberry.com/ns/widgets"
          version="1.0.0.0"
          id="A_UNIQUE_APP_ID">

     <name>Sample App</name>
     <author>Erik Oros</author>
     <content src="index.html" />
</widget>
[/code]
The parts that change are the id which is simply a string that you put in (I tend to make this just the name of my app for simplicity.) The name and author fields get updated to your own values. Finally, the content src points at the HTML file that starts our application.

The most common thing that you may still need to add to the config.xml are application icon and access elements.

EDIT: For information on addition an application icon, please refer to this documentation:
https://developer.blackberry.com/html5/documentation/icon_element_834676_11.html

If your application goes to any external URLs, or pulls in resources from external URLs, you will need to white-list those domains. For example, if I was pulling information from http://docs.google.com/myFiles/page.html then I would need to add the following access element.

[code]     <access uri="http://google.com" subdomains="true" />
[/code]

This would be added after the content element and before the closing widget element.


With that, you're now the majority of the way creating a BlackBerry 10 application. The last thing I'll recommend in this post for now is to navigate to the following URL and request Code Signing Keys for BlackBerry PlayBook and BlackBerry 10 and higher. If you do not have a Company, your full name will do. And I recommend making the PIN something easy that you will remember as you will require that value when registering your keys.
https://www.blackberry.com/SignedKeys/codesigning.html

In my next post, I'll talk about configuring your environment so that you can package your source into a BlackBerry 10 application ready for App World.WaterlooErik2013-01-28 19:08:35
B
4
S
1
Posts: 79
Reputation: 808

Post » Fri Jan 18, 2013 4:07 pm

@WaterlooErik - So you can just type that out on word or what have you? And how do you add it to 'the root' of the folder? Thanks!
B
27
S
8
G
5
Posts: 429
Reputation: 6,902

Post » Fri Jan 18, 2013 4:26 pm

This is the second post in packaging a Construct 2 game as a BlackBerry 10 application. Previously the recommendation was to request Code Signing Keys from this form:
https://www.blackberry.com/SignedKeys/codesigning.html

These keys are issued by an automated system, hourly, and when the keys arrive to your email, they should arrive as two (2) separate emails; each with a unique attachment.
* client-RDK-########.csj
* client-PBDT-########.csj

######## simply refers to a unique string of numbers in the filename.

You will also need to download the BlackBerry 10 WebWorks SDK. This SDK contains the packaging tools to take your HTML files and create a BlackBerry 10 application. These can be downloaded here:
https://developer.blackberry.com/html5/download/

The current version of the BlackBerry 10 WebWorks SDK is 1.0.4.7. Download the installer and install to the default directory. For this example, we'll be using the following working directory:
C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.7

The first thing you'll want to do is to copy the two CSJ files you received as Code Signing Keys and save them to the following folder:
C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.7\dependencies\tools\bin

Once copied there, you will need to open a Command Prompt / terminal to that location. If you are not familiar with the terminal, have no fear, we're only there for a short time and I'll do my best to make it as simple as possible.

In Windows Vista / 7, if you hold Shift and Right-Click within the Explorer Window, you should get a Context Menu pop up. One of those items should be:
Open command window here

By clicking that, you should get a Command Prompt window that is opened to:
C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.7\dependencies\tools\bin

At this point, we want to execute one command to register our code signing keys. The command looks as follows:
blackberry-signer -register -csjpin CSJPIN -storepass STOREPASS client-RDK-########.csj client-PBDT-########.csj

Where CSJPIN needs to match the PIN you created on the online form, STOREPASS is a NEW password you are creating. You will need to enter the STOREPASS each time you create a BlackBerry 10 application, so make it something you will remember. And finally the ######## would be replaced by the numeric string in your specific code signing files.

Run the command by hitting enter and you should get a message that the code signing keys were successfully registered.

You should now be at the point where:
* You have modified your project with the config.xml
* You have downloaded and installed the BlackBerry 10 WebWorks SDK.
* You have requested and registered your Code Signing Keys.

All that remains now is to actually package your Construct 2 HTML files into a BlackBerry 10 application. I'll cover that in my next post.

If at any time you have any questions or run into issues, do not hesitate to reach out here or directly at (eoros@rim.com).
B
4
S
1
Posts: 79
Reputation: 808

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Lof and 0 guests