klkitchens's Recent Forum Activity

  • In my project I have 9 basic types from which I'm creating a certain number of each type when the layout loads. I get them created just fine, but the 9 types are part of a single family with a family instance variable I want to set.

    When the object is created, how can I refer to the instance I just created (inside the same function)...

    So "Create Object" (I'm using by type name) and then Set the variable of that new Object to X.

    Is this possible in C3?

    I tried Family.SetBoolean and it takes it in the editor, but on debugging the objects are not actually changed to the value.

    ANSWER: Sub-event for pick last created "Family" and then set the value... YAY!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Started looking at the Tutorials, but they seem to be the C2 tutorials updated for C3 (not a bad thing). But rather than go through all the remedial stuff again are there some good quick to speed resources for C2 users to learn the new stuff of C3?

    Tagged:

  • Thanks all... The 50% upgrade did work for my C2 business license, so I'm down for a year and will reevaluate next year. I do like that I can cancel today if I want and won't be auto-renewed. Ancestry.com does that with their monthly subscriptions and it's nice. Sign up and then do a bunch of research and be done when you're done. But no worries about renewal.

    I do think Ashley there are some more customer focused options you can and should consider down the road. Namely a month to month rate. Not the yearly/12 at all, but for example again with Ancestry, you can do $99 for 6 months or $20 per month. Allows a person who codes/hobbies in spurts to not get stuck with a lot of unused/wasted subscription time. Likewise a six-month option would be a nice addition. More variety gives customers more choices and don't feel enslaved by a single payment system.

    But enough said here.

    I managed to get rex_date installed and cocoon uninstalled and got my game running pretty much as I left it... Very cool. Now to do some reading or tutorials (the C2 tutorials were very good, hope there are C3 ones just as good) to see what I've missed or what I can use now for better coding.

    Thanks again!

  • dop2000 - Thanks very much. Trying to figure out how to remove cocoon from C2 project and how to add C3 addons...

  • While I understand the reasons the team went with the subscription model, I like most users aren't a fan of this... especially as all my apps are going this route...(Adobe was bad enough, now Office, Quicken, Construct)... Feel like I'm getting nickle and dimed, but oh well. I DO understand the developers POV too.

    (a better compromise would be sign up for a year... and then at the end of the year, you keep the version you have in perpetuity... If you want to upgrade/bug fix, you pay for another subscription period. This allows folks to not feel on the hook for ever -- especially for sporadic users, while also getting funding from those that use it regularly. Some of my other software tools function exactly like this and it's very convenient for budgeting. Telerik, Resharper, etc...) But I digress. (EDIT: Guess this won't work since the software is online, not on your computer... nevermind)

    Trying to decide between C3 and just learning Unity (already a C# developer). Got a mostly complete game done in C2 that I was going to convert as I started hitting hurdles. But evaluated C3 back in 2017 (wow, 2017!), but it was still early days and not so impressive as the feature set looks now.

    So I'm assessing now and have a few questions...

    1. Any upgrade path/discount for the first year for C2 owners?

    2. What constitutes a "business". I make money as a business/web developer, but not developing games -- that is a hobby. Do I still qualify for the personal license until I 'make it big'?

    3. Tried to import a .capx I have, but got tagged on two plugins. One was Cocoon.js and the other was called "date" (or rex_date). I searched in the plugins folder to no avail. Do I need to remove those from the capx in order to import or are they available elsewhere?

    Thanks!

  • > But I would recommend utilizing spritefonts, you will have a lot more control over the appearance.

    >

    I would not. They are a pain in the ass. Better to use webfonts:

    https://www.scirra.com/tutorials/237/ho ... -web-fonts

    Webfonts work on Mobile?

    Do they work with direct export from Construct to Cordova to Phonegap?

    Tutorial shows an Xcode intermediary step.

  • (originally posted and deleted in "How Do I...", sorry my bad!)

    Wow... getting back to my project and it seems the last build I did on PhoneGap was TWO years ago. So it seems stuff may have changed. First the old version of the code uploaded to phonegap didn't build anymore because some plugins were deprecated. So I created a new build in Construct, uploaded the zip file and after remedying the license issues, the build was on.

    But then when I put it on my iPhone and iPad, the icon was incorrect, the game didn't play right (as it does in the browser when testing). On the iPhone the music just started overplaying itself. On the iPad it didn't play the music at all, but when I went to the main game screen, it just froze.

    I know this is vague, but it's just odd. It's not a project thing so much as a build thing. Is there a current tutorial for how to build for PhoneGap and what new pitfalls and tricks there might be?

    I checked the tutorial and everything is there as is. Only thing I can think of is that some 3rd party plugins no longer work? I will remove them I guess and try a vanilla-ish build.

    Thanks!

  • Good point, there's not currently any particular way to do that. I'll update the manual and add a condition for the next build.

    Edit: actually, it returns an empty string, not 0. If you try to convert an empty string to a number you'll get NaN. There are also existing conditions to check if a key exists, or you can check if the key returned an empty string before trying to convert to a number.

    Thanks... yeah, found a tutorial from September of this year and am now using the key exists calls to verify first... working like a charm.

    Thanks!

  • The manual shows that when requesting a key that doesn't exist, the call will return a 0, however it's return NaN (not a number).

    Is there a way I can test if the value is NaN?

  • For my first project, which is coming to a close I hope, I've settled on PhoneGap for deployment. Works fine for me and deploys easily. Seems each exporter has different limitations which can be a pain of course.

    PhoenGap cannot use the GameCenter plugin when using the BUILD tool online, which I am. So I'm leaving that out for now, unless the other Achievements tool (third party) works with PhoneGap... have to check.

    In PG, the browser plug-in does not want to link to my site. Is there a way to shell to a browser and bring up a webpage via other means?

    Also, is it possible to write XML files? I know I can read them, but I'd like to be able to update them as well in the app. In relation to this, what's the best way to save/read a preferences/options file? I was going to use XML, but if I cannot write that out, it's no good.

    Thanks!

  • Yeah, I had to go with PhoneGap for mine.

  • Thanks for the information While waiting I did something reasonably close. I'd read that link before but it's pretty vague, but I did alter the font size based on the resolution and that got me past that hurdle. The bars are really that big a deal for this app.

klkitchens's avatar

klkitchens

Member since 15 Jul, 2013

None one is following klkitchens yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies