Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - tim

Pages: 1 2 [3] 4 5 ... 18
How Do I...? / Re: Upgrading Apps to ios 6/iPhone 5..
« on: September 28, 2012, 10:34:02 am »
the image Default-568h@2x.png is required to run the app on iOS 6?

No.  You must include that file to declare that your app supports the iPhone 5's taller screen.

How Do I...? / Re: New section
« on: September 28, 2012, 10:32:22 am »
You can use the Spotlight section for this.

How Do I...? / Re: point-to-head
« on: September 28, 2012, 10:31:33 am »
There is a way to know the height of a text in a note? For example di if i scroll a note how can i know where stop it?

This is handled for you in iOS.  When you get to the end of the text, the "bounce" animation will let you know there is no more text...

How Do I...? / Re: The documents folder And it's contents. How?
« on: September 28, 2012, 10:30:21 am »
Hmmmm....   Is there a way to reference a SQLite database in the Assets folder instead of the Documents folder?

Nope.  Assets is read-only.  You can use FileOpenAsset() to copy a stock database from Assets to Documents, though...

Build Center / Re: DragonFireSdk icon on default.png
« on: September 27, 2012, 11:48:48 am »
Not at all.  You can use any artwork you like for icons and launch images.


Build Center / Re: Documents folder in ?
« on: September 27, 2012, 11:48:09 am »

The Documents folder cannot be shipped with the app.  It's a folder that exists outside the app bundle and is for user-created data.  If you need to ship a file to be saved to Documents, you should take a look at this question in the DragonFireSDK FAQ:

Hope this helps!

How Do I...? / Re: Upgrading Apps to ios 6/iPhone 5..
« on: September 27, 2012, 11:44:27 am »

The update to support iOS 6 and iPhone 5 is underway.  To get ready for the iPhone 5's taller screen size, all you will need is a new launch image named:


This file must be 640x1136 pixels.  There is no non-retina version of this file since there are no non-retina devices with the 4" screen.

We will also provide a mechanism for you to know the actual screen dimensions so that you will be able to lay out your views accordingly.


Non-Game Programming / DragonFireSDK & Visual C++ 2012
« on: September 27, 2012, 08:59:58 am »
An issue exists when using DragonFireSDK with Visual C++ 2012.  In order to get your DFSDK apps to compile on VC++ 2012, all you need to do is the following:

1.) Open Project -> Properties...
2.) Select Linker -> Advanced
3.) Change the "Image Has Safe Exception Handling" setting to "No".

That's it!

Happy coding,

Non-Game Programming / Re: NetSend port number problem
« on: September 25, 2012, 12:35:27 pm »
Officially, only port 80 is supported.  The simulator, for sure, will enforce this, but the device may allow other ports to be used.

Non-Game Programming / Re: https
« on: September 25, 2012, 12:34:23 pm »
The https protocol will work on the device.  When using the simulator use "http".  The "https" protocol will work when you do your device builds.

Game Programming / Re: iAd banner doesn't display on iOS6.
« on: September 25, 2012, 12:31:25 pm »
I have iOS installed and iAd Banners are working for DFSDK apps installed on my device.  Are you using a beta version of iOS?  Also, it's possible that no ad was delivered to the device.  iAds don't always get filled...

Non-Game Programming / Re: new page directly to the right
« on: September 12, 2012, 01:42:46 pm »
Are you using Containers for your pages?  If so, I think you want to do something like this:

Code: [Select]
int Page1=ContainerAdd(0,0,0);
int Page2=ContainerAdd(0,320,0);
// Add stuff to the containers...
// move a container:

This is a super simple example, but it should give you a good idea how to proceed.

Non-Game Programming / Re: Push a button
« on: September 10, 2012, 01:23:21 pm »
Create a view with a touch callback, and using the "up" state image.  In the "down" event, swap the view's image with the one for the "down" state.

Sort of like this:

Code: [Select]
int UpStateImage;
int DownStateImage;
int StateButton;
int OnTouch(int id, int event, int x, int y)
    if (event==1)

void AppMain()

I'm having the same red square issue you had, I fixed that for the buttons to show but I cant get the background image to show for each container.

I am taking it that the images need to be btnPage11, btnPage12, btnPage21, btnPage22, for the buttons
but I cant work out how to get the background image for each container to appear, what do I save those files as ?

Will be honest I am totally new to this but I do pick things up fast if I can visualise it.

Any help from anyone is appreciated as I can't work out what I am doing wrong.

When you call ViewAdd() make sure the filename you pass in is *exactly* what you want to load (even make sure that the case matches in code and on disk.

Thus, if my background image is "background.png" my ViewAdd() might look like:

Code: [Select]
ViewAdd(MyContainer, "Images/background.png",0,0);

How Do I...? / Re: point-to-head
« on: September 10, 2012, 01:00:32 pm »
I'm not sure I understand the question.  What are you trying to do, exactly?


Pages: 1 2 [3] 4 5 ... 18