dop2000's Recent Forum Activity

  • You need to delete the "Button on clicked" condition from the event. And add another one instead - "Mouse On Object Clicked".

    Or do you want to trigger this event when either a button or a sprite is clicked? In this case the easiest way is to make two events. A more advanced method is to right-click on the event and convert it to OR-block. Then you'll be able to add both conditions to it.

  • If you know that these keys in the dictionary contain numbers, you need to convert them to integers before comparing.

    int(dictionary.Get("gold"))>=int(dictionary.Get("price"))
    

    If you want to check if a string value contains a valid number, you can add an event like this:

    If str(int(dictionary.Get("key"))) = dictionary.Get("key") : Set numVal to int(dictionary.Get("key")
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On your screenshot the object is created when "createfac" button is clicked.

    If you want to change it so that it gets created when another sprite is clicked, add Mouse object to your project and use "Mouse On Object Clicked" condition.

  • Solid only works if your character is controlled with behaviors like 8direction, Platform, Car etc.

    If you are moving the character with events by changing its x/y coordinates, then Solid object will not stop it. In this case you'll have to add additional conditions like "Character overlapping wall at offset" to check if it can move there.

  • Setting a vector value higher than the max platform speed will not work. If the max speed is 50 and you set vector X to 1000, the object will still move at 50px/second. So you need to temporarily increase max platform speed for the knockback.

  • Are you sure that speech recognition is supported? Try exporting the official template to Android to check.

  • What did you write?

    Try runtime.globalvars.varName

    Or localvars.varName for local variables

  • This is called hierarchy. You can select multiple objects in the layout editor, then right-click on the parent object and add others as children. Also on the left properties panel for children instances you can specify which properties will be synced with the parent.

  • Ashley I was excited to see "the ability to access Sprite's set of animations" in r281 release notes, I thought that meant the list of animations, not just the current one.

    Will it be difficult to add something like sprite.animationCount and sprite.getAnimation(index) to the API? This would be a really useful feature. I'm working on a game with literally thousands of animations, and I often need to check if a certain animation exists from the events.

  • There is no such thing in C3, but you may be able to make something similar with hierarchy - check out this template.

    Another option is to use Spriter addon.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 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