AllanR's Recent Forum Activity

  • I made a couple minor changes in c2 plugins also. But I know they frown on that - especially at the rate C3 is changing.

    It would probably be a lot easier to make your own turret object that works the way you want.

  • then put them in a family and pick a random family member.

  • on the C3 start page there is a sample project called Geolocation that uses google maps. I haven't searched the forums for maps in a long time but I remember seeing other samples if that one doesn't help you.

  • if you are saving to a cloud account associated with the email address then he will be able to see and open those projects. But if you save to your local browser or save to your local hard drive, then only you can see and access the projects.

  • projects are not listed or saved on your account, so you should be fine.

    if they bought the license for you, you can change the password to keep them out too.

  • you will probably need to set another variable/array/dictionary indicating which trophies have been awarded. Only add 1 to your variable if they don't already have that trophy (and then set that they do have it when you add the +1).

  • the easiest way is to put UI elements on their own layer, and give that layer 0,0 parallax setting in the layer's properties on the left side panel. that way the layer will not move as the main layer scrolls around your layout.

  • NaN means "not a number", so you may have to use int(tokenat(Array.At(0,0),1,";"))

  • Awesome!! thanks, that works perfectly.

    I was trying various ways to use globalThis but I obviously wasn't doing it correctly.

    Now I can move past r225. :) The next part I am working on is creating a PDF. I got jsPDF working yesterday but it requires modules while this old script required classic mode. So I was stuck with two scripts that wouldn't work together.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So, I am trying to update my very old javascript Pop-up Calendar script to work with modules... I have read through the documentation many times, and have it pretty close to working. The only problem is that clicking on any of the calendar cells needs to call the f_tcalUpdate function, but that happens at the global scope where it doesn't know anything about my script.

    Can anyone help me get that function to work?

    here are two versions of the script: the first one is the one that I am trying to fix

    https://www.rieperts.com/games/forum/PopupCalendar.c3p

    this second one is the pre-module version that works fine in the R225 stable release

    https://www.rieperts.com/games/forum/PopupCalendar_225.c3p

    Note: if you run either of these in preview, the console will show error 404 messages on the calendar images, but it will still work fine. if you export the project then the images show up without the errors.

    they way the script is supposed to work is that when you click on the textInput field, a calendar will pop up under it to allow you to select a date. at the top there are buttons for Prev Year, Prev Month, Next Month, Next Year (but those buttons don't show in preview mode although they still work).

  • take a look at this thread from a few days ago...

    https://www.construct.net/en/forum/construct-3/how-do-i-8/put-commas-numbers-160413#forumPost1042464

    if you want spaces, just replace the comma with a space character.

  • you want:

    "testing text" & newline & "blah blah"

AllanR's avatar

AllanR

Member since 21 Nov, 2013

Twitter
AllanR has 23 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies