dop2000's Recent Forum Activity

  • It should work both ways. Please post your event sheet of project file, you probably made some mistake.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Repeat someVariable times: Create badge at (46+loopindex*7, 320)

  • Yeah, save before exiting the layout:

    On clicked ExitButton
    	Local Storage set...
    	Wait for previous action to complete
    	Go to MainMenu layout
    
  • If your object_1, object_2, object_3 etc. are different objects, then what you are asking is impossible. You can't refer to object by its name in expressions.

    One workaround is to put all objects into a family, define an instance variable "type" on this family, set different type for each object. Then in your events you can pick family member by type and access its value.

    You can create a function "GetObjectValue" that takes type parameter, picks that object from the family and returns object value. Then you will be able to use this function in expressions.

  • CalBro This post is 4 years old. And that advice was wrong anyway, don't use "Wait 3 seconds", use Timer behavior.

    Player On collision with enemy
    Invincible = 0
    	Player subtract 1 from health
    	set Invincible = 1
    	Player Start Timer "invincibility_remove" for 3 seconds
    
    On Timer "invincibility_remove" 
    	Set Invincible = 0
    

    .

    Another common method is to use Flash behavior. When player is hurt, start flashing, this will indicate that the player is temporary invincible. Use inverted "Is flashing" condition to check if the player can be hurt (is not invincible).

  • How about now? (I posted a longer gif, previous one was too short)

  • Try this:

    Set s to variable1 & "?"
    
    Repeat Array.width times
    	Set s to s&"name"&loopindex&"="&URLEnconde(Array.At(loopindex,1))&"&"
    	
    
    AJAX send "" to URL s
    

    Note, that the AJAX Send is outside of the loop. The loop should create a string like this: "......?name0=XXX&name1=YYY&name2=ZZZ&" , with all names from the array.

    And then you send the entire string.

    In the google script you will need to loop through all parameters ("nameN"). See comments in this post:

    construct.net/en/forum/construct-2/how-do-i-18/send-data-google-sheet-138376

  • Is it working? Didn't work the first time I posted, maybe needed to add some text.. Used this tag:

    [giphy=coffee-gif-CkMyyly0PDmI8]
  • Mobile Enhance - the addon that implements the Enhance SDK for mobile SDK integrations into the Construct 3 Editor with c3runtime. A c3runtime port of the Enhance SDK.

    Wow, this is an awesome addition! Enhance team would probably have never updated their plugin for C3 runtime.

  • You can simply put a Text object next to the checkbox and set any color for it. No need for CSS.

    If you delete text from the checkbox, but stretch its size to cover the Text object, then you will still be able to click on the Text to toggle checkbox.

  • Yes, you should probably disable all controls or at least display a message "Saving, please wait" to the user.

  • So, is saving works fine now?

    You can find out how many objects you need to add for the file size to reach 1Mb, I think a lot. And probably nothing awful will happen, but the file may take a bit longer to save - there will be a delay before "Save as" dialog appears.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 262 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies