dop2000's Recent Forum Activity

  • Add all inventory items into a family. You can pass object name as a parameter into the function, and use "System Pick by Evaluate" condition inside the function to pick the right object.

    System Pick by Evaluate ItemsFamily where ItemsFamily.ObjectTypeName=name

    .

    Another option is to add an instance variable ItemType to the family. Set correct values in ItemType for all items - for example "sword", "potion" etc. Then you can pick objects by this instance variable.

  • You need to use tags and check if this particular tag is already playing:

  • Usually if Local Storage works on PC, but doesn't work on mobile, this means there is a problem with the code. Since mobile devices are less powerful, it may take a longer time to read/write to Local Storage. So if, for example, in your game you are trying to write and read from LS in the same tick, this may work fine on PC, but won't work on mobile.

    Can you post a screenshot of your events?

  • You do not have permission to view this post

  • Date is a number, so you can set it to a variable, or compare to other dates/numbers using conditions, for example "Is between values":

    .

  • You can add all sprites into a family "ClickableSprites", and use a single event like this:

    Mouse On object ClickableSprites clicked
    ClickableSprites pick top instance // in case you have overlapping sprites
     .. set var to ClickableSprites.ObjectTypeName
    
    
  • Yeah, you don't need AJAX at all.

  • Try NWJS.ReadFile(NWjs.Userfolder&"file.json") expression instead

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Or if you need more control and to use use different easing effects, try Tween behavior:

  • Did you ask this question before? I remember seeing it here.

    You can't use Physic+Pin, it will never work properly! If you need a very realistic door mechanics, you have to create a physics joint to attach the door to the wall.

    If you just want the doors to open and close on collision, then you should remove Physics and use Tween behavior. On collision -> tween door angle

  • You can use BBCode

    [u]text[/u]
  • Ashley BadMario Yes, I realized that was probably lossy compression. Although I couldn't see any difference between the before and after files. I even tried a few online services that compare images on pixel level and they showed no differences. I think even though it's lossy, many game developers would happily trade a negligible loss of quality for a 50% reduction in game size.

    I've posted an idea:

    construct3.ideas.aha.io/ideas/C3-I-1601

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 280 followers

Connect with dop2000

Trophy Case

  • 10-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies