VIKINGS's Recent Forum Activity

  • Yeah, but wouldn't choosing jpeg be lossy too Ashley ?

    By the way, is there any chance that in C3 we will see a nice and easy way of using the expansion files that google provides?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ahhhh, if I try to go outside the layout, now I get it. Ok, thank you.

    Yeah MadSpy, I checked the manual and read that part the second LittleStain mentioned clamp, and I concluded that that phrase is the most ambiguous/nonexplicative piece of ****** there ever was..... I don't know, I guess my brain just isn't wired that way....

  • Ok, thank you. I'll play around with those suggestions later in the day(waiting on a pizza right now:D) and if I run into any problems I'll pm you, ok?

    I had this example in my dropbox using the clamp:

    Clamp mouse cusor

    So, I ran the example, I looked at the code, and I still don't get it.... What exactly is clamp suppose to do? Sorry for being dumb.

  • I've never heard of the clamp expression before LittleStain , sounds interesting, could you make a little example capx with that one so I can see how it is used?

    The main problem isn't so much changing the touch event for the rotation. But how do I olso make it so that that little "light" appears under/follows your finger, but only within the confines of the arc?

  • You can still use it MadSpy no matter in what version he creates it. Just take his capx and extract it using something like winrar or 7-zip to a folder. Then in that folder open the caproj file with notepad/wordpad.

    Then on the line

    <saved-with-version>20000</saved-with-version>

    Change that number to your version. If your version is 206 then the number should be 20600, if your version is 200 then change it to 20000, if 207 change to 20700, etc...

  • I'm just guessing here, but it's probably because scirra would then have to hold all that data on their own server, more bandwith used=more money spent?

  • Hello World,

    So as usual with me, I took something simple and managed to turn it into something super complicated(imo). This time instead of writing 10 pages of text trying to explain what I wanna do(and probably still failing to be 100%clear) I thought I'd just make a video to show/tell you guys what I need help with.

    So download the video please from the link below, watch it, and then if you have anymore questions I'd be happy to answer them.

    Thank you.

    Link: Click Me

  • Ok. But what happens if, for example, this computer stops working? What do I have to do so I'll be able to sign the app on another computer so I'll be able to continue posting updates on Google Play?

    Well grigrizljac as long as your app is still present in the control center of the intel app dev center(here) and as long as you use the same identifiers in intelxdk and you just increase the version number then theoretically your app should be singed with the same key no matter on what computer/device you are, as you would be using the same account to log in.

    But if the app should get deleted from there, or that server falls, or gets hacked, or there is a power outage, etc. then you might be screwed.

    That's why it's important, in my opinion, to sign the app yourself, because then you are in control of the security of the key, and you can do whatever you want to make sure it's kept safe; eg. you can save it on different hdds, you can put it on a bunch of cds/dvds, some sticks, heck it's so small you could even save it on a floppy disk....(don't get me wrong you'd have to be crazy to still be using floppy's in this day and age, but hey you can do it if you so wish:D)

    And of course doing it yourself helps for other reasons, for example because it gives you control over other settings as well, like how long the key is valid for(because once the key expires your app is done), and I have no idea how long a key created automaticaly by intelxdk(or other services) is valid for. When I create my own key I usually set it to be valid for 10.000 days. Which is about 27 years, so I think I'm covered, loool.

    Olso I have no idea how you would integrate google game services(for leaderboards and stuff) with an automatic key. Because you need the SHA1, and I have no idea how you can get that if you don't physically own the key...

  • The same thing grigrizljac , you will have to create a new project for it. Just leave that app as it is and start manually signing your future apps.

  • Ok, thank you guys. Then I guess I'll just update and keep my fingers crossed that nothing breaks....

  • Yes MikeMS , if you don't sign you apps manually(which is what I do and recommend, check this tutorial if you are curious) and you let programs like intelxdk or cocoon sign them auto for you, then you will have to create a new project in the google console.

  • Hello World,

    I'm considering updating to the latest stable build(release 206), I am currently running build 200, however I am worried/have questions about 2 changes introduced since build 202.

    1. My first problem is with the new local storage, and I quote:

    [quote:13cvp53d]Local Storage preserves the types of values stored. WebStorage would return all values as strings, even if you store a number, which can cause confusing bugs. Local Storage returns a number if you store a number, avoiding issues with unexpected types.

    Now in my current game I use an array to store my scores in.(which are numbers obviously) Does that above quote mean that if I don't update when the player closes the game(event system - save game to slot xxx) and then when he opens the game again(event system - load game from slot xxx) those score values(as well as other global variables saved as numbers) will be buggy?

    As a matter of fact am I even using webstorage in my case? Cause those events that I wrote in () are from system, not webstorage or localstorage so I'm a bit confused.

    2. My second problem is with the operator change, and I quote:

    [quote:13cvp53d]Recently a bug was reported noting that Construct 2 has the wrong operator precedence for power (^) and unary minus (as in the minus in -x). So for example the expression -x^2 would be evaluated as (-x)^2, and always return a positive result. This is inconsistent with the standard BODMAS order of operations, which means it should be evaluated as -(x^2) and always return a negative result. The problem with making this kind of change is it can break existing projects that rely on an expression like -x^2 returning a positive result in order to work correctly. However as discussed in the bug report it was determined that the change ought to be made since it's a pretty fundamental mathematical issue.

    Hopefully few projects will be affected. However if you find anything working differently in this build, review your project for any use of expressions of the form -x^y and replace them with (-x)^y to make them work the same as before.

    Now while I don't explicitly use any expression/action/event that contains the "^" operator I do however use a lot of behaviors in my game like physics, sine, bullet, rotate. Is there a chance that some of these behaviors use the "^" operator under the hood and that if I update my game will get screwed up?

    As you can see I am in quite a pickle here because on one hand I really definitely need a stable save system for this game, but on the other hand I am already too far in the development process to afford/allow for that operator change to mess up my game and to then have to try and figure what exactly broke, where it broke and then try to find all the places where I have to fix it....

    Thank you.

    P.S. Don't get me wrong I love all you guys and appreciate your advice a lot, but Ashley it would be really nice if you yourself could drop a line on this one.

    P.S.S. Sorry for the wall of text, I just wanted to be as clear as I can.

VIKINGS's avatar

VIKINGS

Member since 13 Feb, 2014

None one is following VIKINGS yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies