I want to be allow the user to set the compass to a 'True North' mode. I'm thinking that there should be a global variable with a value of 0 for longitude and latitude and somehow I would need to compare the users current latitude and longitude against this and find an angle from it?
After posting in the How-to section of the forums, I was told that construct 2 doesn't have the ability to allow you to choose where your windowed view is placed within the layout. Although there are ways around it, what do other people think?
More information and workarounds can be found scirra.com/forum/topic74781.html.
check out http://www.scirra.com/forum/topic65502.html where i provide a file for a possible solution for multiple touch inputs.
check out
http://www.scirra.com/forum/topic65502.html
where i provide a file for a possible solution for multiple touch inputs.
Okay, that example works nicely. Now I just have to figure out a way of implementing it into my project.
Develop games in your browser. Powerful, performant & highly capable.
Thanks guys for the quick response.Is it worth making this a suggestion for the future, the ability to choose where the window is placed in the layout?
I know this probably has a simple answer, but I wanted to know how I could move the windowed view down into the space below so the layout expands upwards instead of downwards.
<img src="http://i.imgur.com/hKsGF7a.jpg" border="0" />
Have you tried using the cocoonjs or phonegap cloud services to compile your code into a .apk or an xcode project? I believe cocoonjs produces better performance but it's up to you which you use.
Cocoonjs Cloud Info: wiki.ludei.com/cocoonjs:cloud
PhoneGap Cloud Info: build.phonegap.com
Hey guys!
My name's Jake and I recently stumbled across Construct 2 and have fallen in love with it. Having some programming knowledge has actually helped a bit and well, I'm definitely planning on buying it :3
I want to be able to set the ship animation (when the gamma is between -7 and 7) to first animation group but I can't get it to work when I put it to an android device. If anybody is kind enough to help I have uploaded the file here: dl.dropboxusercontent.com/u/204115655/SpaceGame.capx
:)
This app is nothing special but I made it to get an idea of what sorts of values the alpha, beta and gamma feedback. It is made for use with a tablet or phone of some kind with an accelerometer inside.
If you want to give it a go you can just open up this zip in cocoonjs: dl.dropboxusercontent.com/u/204115655/deviceorientation.zip
And a screenshot:
<img src="http://i.imgur.com/eEG3xbn.png" border="0" />
EDIT: After playing around for a bit, I finally found out how to do it. This is what I was trying to do: dropbox.com/s/nh3gk848p9qxdsv/DeviceOrientation.capx
I want to be bale to display the values of alpha, beta and gamma however, I don't know what to set the text to as when I type in Alpha, it won't allow it, am I making any sense?
if beta is x and gamma is y, what is alpha?
It was a real stab in the dark, I have no clue on how to grab these values. Maybe an angle?
Member since 19 Aug, 2013