This has been fixed for next release.
Type: Posts; User: Anders; Keyword(s):
This has been fixed for next release.
Does it help if you specifically set the 'Requires fullscreen' setting?
A couple things:
1) I couldn't get the pinch to work until I removed the extra conditions in the 'A pinch is active' event. The Min/Max expressions should prevent the values from getting out of...
I'll see if we can make it an option.
If you want to manually disable the un-premultiplication step that slows it down you can do it here:
In XCode open up "Extensions/CRunpica.m" and find line...
Hi Alan. If you experience a crash with this object please report it in the BugBox with an example file.
Then it can get fixed quickly.
Clickteam Fusion's standard "List object" has the option to display as either a TableView or a PickerView type list on iOS which is what you are looking for.
It is very simple though, it only shows...
It should work just fine on iOS. The Windows runtime doesn't have this implemented yet sadly.
If you have an example file of it not working I would be interested in taking a look at it. Can you...
What kind of errors?
The Fusion2.5 runtime is only single-threaded. Making a game engine multithreaded is a huge task as every game is different and can only benefit a certain amount from being multithreaded.
By default it should pause the game as the application goes into an inactive state. When you get back to the app it should still be in paused mode but will continue/unpause when you tap the screen.
Any kind of example file showing how to reproduce this would help a lot :)
How big are the images you are loading? Can you send me an example where it loads such a large image?
Is the image bundled with the project or is it retrieved from an URL?
Please don't double post. Closing this thread.
Continuing this issue in this thread: http://community.clickteam.com/threads/90769-After-the-start-up-is-done-i-get-a-black-screen
Can you send me your MFA please? Then I can test it.
Email is in my signature.
You only attached the XCode project (which didn't seem to run sluggish to me at all).
I can only check if any settings could be the reason if you attach the MFA itself (or email it to me)
The iOS in-app object is more or less a direct interface for the Apple iAP framework.
Apple does not want to force a specific user-interface on the user for in-app purchases and leaves that...
The String Tokeniser has been fixed for the next release.
The bug was caused by Windows carriage return characters being used for the newline$ while it wasn't present in any of the input data.
Actually that doesn't look like it reloads the images all the time. It just shows that the initial time spent loading the frame is skewing the statistics a lot. Playing the frame for a longer period...
It seems it spends a lot of time unpacking compressed data from the .cci file.
Any chance you can expand the top item on that list "NSData(NSDataExtension) zlibinflate" to reveal where it does this...
With your device connected to your mac, try run the profiler:
Select the time profiler:...
I'm afraid you have to do a fresh export from Fusion and port over your manual changes.
If you are unsure of what you changed in the codebase yourself then compare a fresh export of the old iOS...
The iOS exporter now supports both 64bit and 32bit. When compiling it actually compiles for both architectures - meaning that new devices will run the 64bit version and older devices will run the...
It seems that there is a degree of confusion how to use the screen scaling "Display" property.
Therefore I have created a small online tool so you can visualize how a certain...
I cannot reproduce this. Something else must be interfering with the touch events that is specific to your game.
Can you please attach an example file in the bug box? Thanks.
Any chance you can show a larger screenshot of the two views below the code view?
Also if you move your mouse over the 'formatter' text, what does it show?
Can you show me a screenshot of which lines that fail compiling?
I attempted to include preprocessor guards to ignore any new features such as the GameController support but must have missed a case.
We already have a working 64bit version now - but as Yves sais we will be testing this extensively to fix as many issues as possible before releasing a beta.
This was caused by the iOS8 window size being reported incorrectly back to the runtime at the beginning of the frame regardless of us forcing it to be a certain size - this was because of a value...
Can you check if the store reports the product identifiers as being invalid?
Looks like you are not listening in on those events. If the items aren't set up properly in iTunes Connect they...
I can reproduce and I am working on a fix :)
It seems like it is an XCode issue on your system. I do understand your frustration with this error though.
Errors happening in XCode like that is beyond what Clickteam can fix - BUT - we can most...
aenever: Which version of Xcode do you have installed and with which iOS SDK?
Other people have had that specific compile issue (with the ArrayList) but they always turn out to be because their...
When obstacles moves outside the visible area of the game they are not sent to the GPU for rendering. This is a pretty important performance critical step in all games so that objects that aren't...
Fixed for next beta :)
For those interested in modifying the code by hand you can replace the section with this:
NSMutableParagraphStyle* paragraphStyle =...
The offset content is also fixed for the next release.
We query the device for it's window size which until iOS8 always returned the sizes in portrait mode. Now in iOS8 it returns the sizes...
I'm having problems trying to reproduce this bug no matter which devices I try on, screen resolutions and fit inside/outside options I try.
Can anyone send me an example file of this? Thanks :)
Looks like it was their feature detection system that didn't like iOS8 very much :)
The compiling issue in XCode6 is fixed by adding these lines at the top of CTexture.m (found in the Application group)
We are aware of a layer wrapping bug that affects infinite scrollers. I am currently working on a permanent fix for this problem.
I'm looking into this ASAP.
I'm looking into this. This is very strange.
Thanks for all your details and inputs. It helps finding the bug much faster :)
Remember you can under "Settings -> Developer -> iAD Developer App Testing" find useful settings when you want to test the ads.
Also note that if you have enabled developer mode on your iOS device...
I was about to write that there should be an action for it in the iOS object but I just checked to be sure and I don't think we have such an action.
I will make sure to add those actions to it. To...
You should update your XCode version, we do not support such old versions any longer (and neither does Apple in their App Store).
The latest official version of XCode is Version 5.1.1 (5B1008).
This bug takes a bit longer to fix than anticipated. It has not been forgotten though and I'm working on it whenever I can.
Commenting out lines might result in weird problems later on. It is much safer to update to the latest version.
What kind of error is it Yos?
Header file not found or Framework not found?
How are you loading the sounds at runtime?
Clickteam Fusion has always differentiated between single clicks and double clicks.
If the Android runtime triggers "On click" on every single click then it is actually a bug (although what makes...
You cannot restore purchases for free without something else going on.
Restoring purchases just means that the iOS Store will "replay" the on purchase events the user made on other devices or if...
This wasn't implemented at it would take a while to implement properly with proper performance (using it wrong would make it slow down to a crawl).
If there is enough interest in supporting it I...
Objective-C will most likely be supported for a very long while.
The Swift programming language uses the already existing Objective-C runtime code so everything can work side-by-side without...
We do not support XCode 6 yet but we will make sure it is compatible within a short while.
Looks very weird.
Please keep us updated on what you find out with the other 4S.
Can you report this in the bug box and attach the frame in an MFA? Then I can have a look at it.
Looks like you are using an old XCode version. Any chance you can update it to the latest version?
The good old "Question and Answer" object uses the native iOS dialogs to show it's buttons in it. You can use that if you wish :)
If you want text/number input you can use the 'Input object' - it...
It should determine the launch image based on the initial orientation setting (you can find this in the iOS settings for your game) (note: this setting only gets carried over when you do a fresh...
Received. Debugging now :)
Yes I will release it as soon as I can.
I have corrected a couple bugs in the Active Picture object, I can't be sure this also fixes your problem - but there is a good chance of it :)
I might still need the example file to reproduce the...
Fixed. The 'mod' operator didn't support floating point modulo in the iOS runtime.
I'm looking into this.
The links in your post is a bit messed up so I can't see if there is anything in the URL that could cause problems.
You insert the names of the groups and item names as if you had used those names from within Fusion with the regular INI object.
The group name is optional, just leave it blank if you don't have any...
What do you mean by "instead of 29"?
The days of the week goes from 1 to 7 (or 0 to 6, can't remember).
You have map the numbers to names yourself (for example storing the names in a list object...
What do you mean by rotating by the joystick?
The inbuilt on-screen joystick doesn't return any angular or floating point(decimal) values, it only reports the simple left/right/up/down kind of input...
Sounds very odd :S
If you ever experience this again please don't hesitate to bump this post with more info on how and when it happened.
You are correct, that doesn't look right.
Can you email me an MFA with the frame containing the active picture object and the image?
I'll ask Yves to enable the FloatToString$() expression for iOS.
I am enabling it in the iOS runtime as well.
I don't really recommend manually reading from an INI file.
Here is how if you wish to do it manually anyway:
//Put this at the top of the file:
//Put this where you...
This is the correct version:
It limits the scroll position to the minimum and maximum coordinate you store in the values of the Multiple Touch object (set at the start of the frame in this...
I expanded on my example file a bit here:
The maxScrollX and maxScrollY alterable values in the Multiple Touch object controls the scrolling limits.
When you zoom in it allows you to...
I'm looking into that.
By not working does that mean that building the XCode project with the chartboost extension doesn't work or that nothing happens at runtime?
You must enroll in the Apple iAd program and follow the instructions shown there to be able to get money from displaying advertisements. That should be about it :)
I mean the expression that it would otherwise use:
Before it was:
referenceX( "Multiple Touch" ) + ( referenceWinX( "Multiple Touch" ) - windowTouchX( "Multiple Touch" ) ) * scrollScale(...
Some users reported that it can take up to a couple of days or so before iAds show up in-game after a game has been released.
I'm not entirely sure why that is exactly but it could be Apple...
Simply limit the scroll in both x and y direction to half the window size.
Center horizontally at: Min( <the old X-scroll-position here>, WinXSize( "Window Control" )/2)
Center vertically at:...
In my example have a look at event #6 (the last one).
There I set the scale value:
Min(Max(referenceScale( "Multiple Touch" ) * ( pinchPercent( "Multiple Touch" ) / 100.0 ), 0.2 ), 5.0 ) Simply...
We have released a bunch of betas since the Fusion 2.5 release. Can you please try out the latest one and see if that fixes your problems?
No not quite.
As a rule of thumb (here explained for portrait orientation, swap the values if you are in portrait):
If your game is based around an iPad resolution (1024x768) it...
Your app is 640x960 using 'Fit inside and adjust window size'. (iPhone 4 native resolution)
iPhone 5 aspect: 1136/640 = 1.775
For iPhone 5 screens your frame must be at least this...
Solution posted in the other post.
Check your iOS properties for your frame.
Set the 'Touch mode' to 'Multi touch' instead of 'Single touch' :)
If you can't use two fingers then you can't pinch to zoom ;)
From what I understand you should also use 'Fit inside and adjust window size'.
Just be sure to have the frame be large enough. Also only make the frame size larger. Let the window size...
Can you send me a sample MFA and a zipped XCode project that shows this?
I cannot reproduce.
Then all you need to do is to set the iOS Display property to "Fit inside and adjust window size" and resize your frame so that it is at least 768x1363 in size.
The reason for the 1363 size is...
Ok so you have your 768x1024 game that somehow needs to fit on say an iPhone5:
What do you prefer?
Ok lets start over :)
Tell me a resolution at which your game looks and works OK on windows (PC runtime) and I will tell you the best cross-device properties for you :)
The most "universal" screen size option is the "Fit inside and adjust window size".
If you use that it will take the window and zoom it until it hits one of the screen edges. It then expands the...
I'm not sure I understand what you mean. You mean the ScreenZoom object not working with that layer configuration?
If you look at this size-chart of the various iOS devices in screen resolution you might get the idea:
If you use 'Adjust window...
You should never use the "Adjust window size" display property unless that is exactly what you want to do.
On iPad retina the resolution in portrait mode is 1536x2048 and the app window size you...
Yos: I'll release a new beta today.
XStar: What are the compile errors in Box2D?
We will make the exporter not include the Box2D library in the future.
Does your project build if you temporarily remove the Scan object from your extensions folder and do an export?
I believe a lot of people would appreciate a tool that generates all the necessary launch images :)
It's hard to believe Apple requires people to supply that many different PNG images as even simple...
Which extensions do you have installed?
Some third party extensions might interfere with the build process and produce an invalid XCode project.
This can happen even though you aren't using it as...
Here is the latest beta version of the iOS Exporter.
Changes in this version:
This bug is fixed :)
I will post an update in a few minutes.
Doesn't the extension show up in Fusion2.5 or does it simply refuse to build?
I have fixed all these warnings for the next release.
I have fixed all these warnings for the next release.
Can you send me a zipped version of your exported Xcode project so I can debug this?
Ah yes. You should delete the KcRuntime extension from your extensions folder. It isn't part of the official runtime and it is somewhat buggy.
We resolved this over private messages :)
Does this happen for all apps (even blank new ones)?
I cannot reproduce this bug when trying all the different simulators.
Have you on iTunes Connect configured all the different languages that your app should support?
I will release an update within 12 hours or so with the compile errors fixed :)
Hmm I must have missed that report I'm afraid. Can you remind me of it?
The first option will not work if the file added to the binary files section was in a subfolder of the source MFA file. The subfolder path is then stored along with the file and is needed to load it....
I have worked quite a bit on this but it still needs more work.
I will release a version within 12 hours but I can't promise this fix will be in it sorry. More internal testing is needed.
While it is something we at CT would really like to add it isn't at the top of the priority list at the moment.
There are a number of problems porting shaders from the PC to iOS - mostly that the PC...
You would have to ask some sort of API - either using the "Get object" with some HTTP service or something similar.
I don't know if there are any useful ones around or if Facebook has an official...
Thanks! Bug fixed for next release :)
Yes in the next release :)
The Analyzer checks the code for possible bugs. It does so in a way that expects a certain programming style so that it is easier to reason about object ownership and similar.
The iOS Runtime is...
About constantly compiling:
Just change your iOS build type to the CCI one and only transfer the Application.cci file to your Mac. I have a shared folder across the network where my CCI file is...
I'm not sure the runtime currently supports two leaderboards at the same time. Francois might be able to give more insight on this.
Yes, it is only a notification just to be sure that you remembered to enable the entitlement if you use the feature. If you don't then it doesn't matter.
What is the current status of your game on iTunes connect?
It should be something like 'Ready to submit' or similar. Sometimes really odd issues can prevent you from testing leaderboards and...
No problem :)
And the array bug was also fixed.
This is fixed for next release.
As I posted on the BugBox, can you send me an example file that shows me the unintended blue images? I cannot reproduce this.
Did you remember to include the Game Center Connect extension somewhere in your game? It is required for Game Center to both work and compile in XCode.
Can you tell me which error it...
Which errors did it show to you?
Sometimes XCode asks you to update some project settings and asks if it should attempt this automatically (such as compiling for 64 bit instead of 32bit).
Our runtime is 32bit only at this point and...
You can only know for sure how much memory it uses by running it on an actual device. You can get precise metrics by running it in profile mode checking for memory allocations.
It should work just fine but you have to insert the Testflight framework manually and add the launch code to the RuntimeIPhoneAppDelegate.m file.
It seems very easy to do though.
Any chance I can see what you are doing to figure out what isn't working right?
And which version of the iOS Exporter do you use?
I'm working on this.
Depends on what you do with the data. Arrays might in theory be faster but it might not be the data storage that is your bottleneck.
Do you do many string concatenations? (piecing a lot of text...
I have recently fixed a bug that incorrectly moved objects on non-moving layers that were set to not follow the frame.
We will release an update within the next few days hopefully.
Hi, I can't really tell you what causes this without looking at an example file first.
It might be a combination of various things.
I have a few bugs left to squash and then we will release an update ASAP :)
If your project needs a bugfix here and now that we already fixed for the next release I can email you a temporary fix...
I just looked in the source file, I do not see that exact comma value?
I do however see an extra comma in some of the other 'enum's firther down the file.
I'm not sure why you get a compiler...
Bitmap counters are very fast. Text-based counters are on the other hand slow because it both involves drawing vector fonts into a texture, transfering that texture to the graphics card and then...
http://community.clickteam.com/threads/85624-ScreenZoom-Example-Pinch-to-zoom :) (better late than never)
As promised here is an example file how to use Multitouch Pinching to zoom in/out using the ScreenZoom object.
There are two frames, one that shows a combined drag/drop scrolling...
I'll post it later today :)
There are lots of example files around for the regular PC runtime that shows you how to make a character follow the mouse position.
On iOS the basics are the same. In the iOS runtime...
The bug is in an third party extension, not a Clickteam one so we can't fix it from here :)
The original author should probably be contacted for a fix :)
Replace the line:
char *name = malloc(size);
char *name = (char*)malloc(size);
The List object uses the standard iOS Table View to display it's contents. With the current implementation we cannot show more lines sorry.
You can make your own kind of list object with Active...
No it doesn't unpack it as a file. When you load the file (and it doesn't exist as an actual file) it will load it into memory. If you then decides to save it back, it will save it as an actual...
What kind of object do you use for the pipes?
All the binary files are packed into the .CCI file, not the XCode project.
A quick description on how the folder paths work for the iOS runtime and the binary files:
If you use the preferred way...
I'm not sure I can reproduce this. Either I'm misunderstanding what you are doing or I might not have covered the property/feature combination that you are using (there are lots of combination with...
Did you follow the GameCenter guide in the documentation? :)
Active Picture Object can load files included as XCode resources, Fusion2 binary files and from an URL.
For example make it load...
Any chance you can try install XCode 5.0.2 and try again?
Are there any reason you stick to XCode4?
I'll make an example file for you :)
I'm looking into this
Can you send me an example file of the subapp not working properly when used for a pause menu? Thanks!
The launch image is something iOS shows while it loads the application from the iOS flash storage until it can actually show anything on it's own.
On PC when you open an application you just get a...
How do you change the animation of the bear? It looks like a lot of snowflakes hits the bear quickly in a row. Doing that must make the animation get stuck somehow.
As Jeff sais it is difficult to...
Diablohead: If you could send me an exported XCode project from CFusion2.5 I'll have a look why it doesn't like the ScreenZoom extension.
Can you check if the b2BroadPhase.h file actually exists in the 'Other Sources/Box2D/Collision/' group in XCode's project navigator?
Have you tried this in the latest beta? (281.1)
Building and testing directly on an Android device is possible from Fusion 2.5.
Because of restrictions from Apple people are required to build and test iOS games on a Mac (with an optional device...
As far as I understood you want that object always positioned relative to your other object.
Rewording that sentance into events:
---> Set position of 'Mouth' to [0,0] relative to...
What kind of device do you have?
Not all devices have vibration built into them.
Have you tried this in the latest beta version?
Those bugs should already have been fixed in the latest beta.
Are you sure you did a fresh XCode Project re-export of your game?
If you only export the .cci file the fixes doesn't get carried...
Can I have an example file of this? Thanks :)
The bug is fixed and we are in the process of making a new release. Stay tuned!
It is a tough balance to keep.
We are looking into the slowdowns in the 2.5 release.
With the new display routines we are using it should be theoretically faster though there can be some factors...
The Runtime object is kind of buggy.
You should remove it from your extensions folder and iPhone folder (under data/runtime/).
It causes problems even when you aren't using it.
The iOS runtime already has a lot of extensions available but some regarding network connectivity are still not ported yet. The most important one; the GET object is however ported. With it you can...
We are looking into this.
Question is which one is the correct behavior - iOS or Android.
On iOS we are (as far as I remember) just directly passing on the values from the accelerometer to the...
We are working on a fix for this :)
Thanks for researching this. Not many games usually want the status bar to keep showing up :)
I can reproduce this now with your example file. Working on a fix.
What happens if you remove the "_OES" part of the constants in those lines? (So it only sais "GL_FRAMEBUFFER" instead of "GL_FRAMEBUFFER_OES" ect ect).
ScreenZoom doesn't work in the Windows Runtime currently.
A lot of major changes to the runtimes are nessecary to support ScreenZoom.
What is your XCode version? (XCode->About XCode)
What parse issue is this? Can you post a screenshot?
I cannot see where the crash happens based on that screenshot.
If you have an application that crashes please report it in the bug-box and upload an example file so we can debug it. :)
That sounds very odd!
You should generally disable your buy button when it is pressed and display a 'loading' indicator of some sort. If you get an error or success you can hide the 'loading'...
I believe you *have* to submit a screenshot of the item in question to Apple, even if it's just a dummy image. Apple are very strict when it comes to the setup of everything.
Can you try that and...
Can I have a look at a MFA file that demonstrates this? Thanks :)
Francois has implemented the new fastloops in the iOS runtime at least. I do not know about the other exporters.
Which file does this happen in? "CRunkcpica.m" or somewhere else?
No iOS apps run in the background by default. I have not looked that much into the newer background tasks that iOS apps can do now.
You can send push notifications to an iOS app through Apple's...
Yes that would be perfect.
Can you send it to my email? (see my signature below)
Is it possible for me to have an example file that demonstrates the bug?
Yes I would believe so. AFAIK apple can't see which API you are using for the accelerometer. We will be updating the runtime soon. We still have some things that needs ironing out so...
We have fixed all the deprecation warnings for iOS7 (might not get into the next beta yet as we have big internal changes being tested)
As for the game-center issues the sandbox has a life of it's...
Using the 'Data elements' editor for adding premade INI or image files is the easiest way of doing it.
It will embed the files into the .CCI file so it is much easier for you to export to the Mac.
I can't see anything from that screenshot.
Is it possible for you to send me your XCode project (zipped) so I can try it myself?
It is on my todo list of things to look at :)
Hmm I might have to recompile the extension using the newest EDIF SDK.
Capote: Can I profile your game and try find the performance problem?
You can send me your exported XCode project and I can have a look.
We are working on a Mac Runtime :)
No release date yet. We are currently beta testing it for a closed group to iron out bugs before we release it on our store.
He wouldn't be able to edit your app without the MFA so the XCode project is useless for him.
This is from the license description in any Android Runtime source files (which we will put in the iOS...
I'm currently working on optimizing the iOS runtime's graphics performance and prepare it for Fusion 2.5's extra lovely features such as the ScreenZoom object (rotation and scaling...
RhysD: What is the resolution of your game?
Is your game still slow when you click "Product" -> "Profile" and chose "Time profiler" and run it (on the device).
If it is, can you send me your game so I can figure out what is...
It is somewhat a difficult tradeoff. We only save the INI file to disk when needed.
This causes problems if you expect the changes made in the INI object to have immediate effect because you need to...