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
31
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.

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

33
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...

34
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...

35
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.

Cheers,

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

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:

http://www.dragonfiresdk.net/wiki/index.php?title=DragonFireSDK_FAQ#How_do_I_ship_a_file_for_the_Documents_folder.3F

Hope this helps!

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

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:

Default-568h@2x.png

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.

Thanks,

38
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,

39
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.

40
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.

41
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...

42
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:
ContainerSetxy(Page1,-320,0);
ContainerSetxy(Page2,0,0);
...

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

43
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)
    {
        ViewSetImage(StateButton,DownStateImage);
    }
}

...
void AppMain()
{
    UpStateImage=ImageAdd("Images/UpStateImage.png");
    DownStateImage=ImageAdd("Images/DownStateImage.png");
    ...
    StateButton=ViewAdd(UpStateImage,0,0,OnTouch,0);
}

44
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);

45
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?

Thanks,

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