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 ... 18
16
Game Programming / Re: Moving an object to the center of the screen.
« on: October 24, 2012, 12:48:44 pm »
Check out this tutorial on Trigonometry for Developers:

http://active.tutsplus.com/tutorials/games/quick-tip-trigonometry-for-flash-game-developers-basix/

It's in Flash, but the concepts are the same.

Cheers,

17
Build Center / DragonFireSDK and iPhone 5 Support
« on: October 23, 2012, 12:36:49 pm »
DragonFireSDK Customers,

DragonFireSDK 2.2 supports iPhone 5.
  • DragonFireSDK apps have a minimum iOS version requirement: 4.3.
  • Make sure you include Retina versions of your icons and launch images in your Build Center and App Store submissions.  If you omit one of these images, your app (during testing) will have a DFSDK default icon or launch image as a placeholder.  During App Store distribution, if you fail to provide high resolution icons or launch images, we will remove any references to them, so you will be unaffected in this case.  See here for naming conventions and file names of these required files: http://www.dragonfiresdk.net/wiki/index.php?title=DragonFireSDK_FAQ#How_do_I_include_my_own_launch_image.28s.29_and_icon.28s.29_for_my_app.3F
  • For iPhone / iPod touch apps, you will need to get in the habit of detecting the UI type and lay out your views accordingly (taking into account the height of the screen).  To accomplish this, you will need to call DeviceGetUIType() to know whether your app is running on the 3.5-inch iPhone / iPod touch screen (return value==0; 320x480) or the iPad (return value==1; 768x1024) or the 4-inch iPhone / iPod touch screen (return value==2; 320x568).
  • Also, you will want to consider supporting Retina displays within your app with "@2x" versions of all your images.  This will enhance the value of your app, especially with customers with Retina displays and maybe even make you some money in the App Store.  See here for information on how to support Retina displays: http://www.dragonfiresdk.net/wiki/index.php?title=DragonFireSDK_FAQ#Does_DragonFireSDK_support_Retina_displays.3F

  Here is a simple example of how to get the UI Type:
Code: [Select]
int interfaceType;
int screenHeight;

void AppMain()
{
interfaceType=DeviceGetUIType();
if (interfaceType==0) // UI Type 0 = 3.5 iPhone / iPod touch screen
screenHeight=480;
else if (interfaceType==1) // UI Type 0 = iPad (including mini) screen
screenHeight=1024;
else if (interfaceType==2) // UI Type 0 = 4.0 iPhone / iPod touch screen
screenHeight=568;
// etc.
}

Thanks!

18
App Store / Re: Distribution via Zimusoft doesn't work... server error
« on: October 12, 2012, 08:57:39 am »
If you ever run in to anything like this, let us know by sending an e-mail to support@dragonfiresdk.com.  Also, you can e-mail or host the application.zip on i site such as Dropbox.com and we will process it for you.


19
How Do I...? / Re: How Do I Manage SQLite Databases
« on: October 12, 2012, 08:45:55 am »
There are software packages for Windows that will let you manage your SQLite databases in a GUI environment.  Google "sqlite windows manager" or something similar and I'm sure you'll find a tool that fits what you need...

20
Game Programming / Re: GetBits code messes up?
« on: October 12, 2012, 08:42:20 am »
98 is the correct value.  Yes, your RGB values are all 255, but your alpha is 111.  If the alpha value were 255, then your char would also be 255...

21
How Do I...? / Re: Compiling your own code with Xcode
« on: October 05, 2012, 08:56:57 am »
Can you use C++ on a Mac ?

You can.  I can't think of any platform that doesn't have a C/C++ compiler.

22
How Do I...? / Re: NetSend discussion (Post your NetSend questions here)
« on: October 05, 2012, 08:55:43 am »
Hi Tim

the lenght of the response must be always the same (I'm using test data)

Maybe a previous call to netsend interfere with this one so  I solved putting a "one second" delay before calling the netsend.

Thanks

Are you calling NetSend() again before the OnResponse() callback is finished?  You must not do that since the subsequent call to NetSend() will effectively cancel the prior one...

23
App Store / Re: Uploading CSR
« on: October 01, 2012, 09:01:01 am »
HI,

I sent a CSR request to DFSDK a few hours ago... how long is the wait for the CSR?

Thanks

We will process manual requests the same business day.  Our business day (M-F) runs between 9am-5pm Central Time (USA).

24
Tips and Tricks / Re: Noticifation
« on: October 01, 2012, 08:57:47 am »
Push Notifications are expensive for you, the developer, to implement.  Local notifications would be simplest to implement and could find their way in to a future version.

25
How Do I...? / Re: Upgrading Apps to ios 6/iPhone 5..
« on: October 01, 2012, 08:46:43 am »
Since it's a patch and not a new version, I assume it'll be free of charge. Right?

Build Center patches, of course, are free of charge.  If we release a new major version of the Windows product, then it will be available for a small fee.  Minor version updates are always free to users of the current major version.

26
How Do I...? / Re: Compiling your own code with Xcode
« on: October 01, 2012, 08:43:55 am »
We don't have a Mac offering at this time.  To use DragonFireSDK, you'll need to use Visual C++ and submit your builds the usual way.

27
How Do I...? / Re: NetSend discussion (Post your NetSend questions here)
« on: October 01, 2012, 08:42:45 am »
Hi,

I have a php page online that returns little data (always the same).

Every time a call the NetSend I get a different length value (10,117, 40  apparently random)
in the callback function.

I can't understand what's wrong ...

Could someone explain, thanks?

The length parameter of the OnResponse() callback comes from the server, so the server must be reporting the variable length of the reply.

28
App Store / Re: Uploading CSR
« on: September 28, 2012, 10:39:11 am »
The CSR gets uploaded to the Distribution section under Certificates.  If you have an existing Distribution certificate (or even an expired one) you will need to revoke it before you can upload the new CSR file.

If your Distribution certificate is still valid, you can continue to use it to create your new mobileprovision.

29
Tips and Tricks / Re: Noticifation
« on: September 28, 2012, 10:36:50 am »
Nico,

What sort of notifications are you looking for?

30
How Do I...? / Re: Upgrading Apps to ios 6/iPhone 5..
« on: September 28, 2012, 10:35:01 am »
When will be released the new version aprox.?

We will be able to support App Store builds for iPhone 5 right away.  We will patch the Build Center soon.

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