dop2000's Recent Forum Activity

  • You do not have permission to view this post

  • I don't think it's possible. You can import a sprite sheet, but the images in the sheet need to be arranged in a grid and all grid cells have to be the same size.

  • If these numbers are associated with object instances, it's easier to pick instances directly. For example, if you need to pick a random playing card - put all cards on the layout, pick one at random. Once you picked the card, mark it as used (set instance variable). Next time pick a random card excluding used:

    Card isUsed=false
    System pick random Card
    
  • Save selected index in a variable. When player returns to this layout, use "List Set selection" action with saved index.

  • So you want to quickly copy values from instance variables into global variables, for any instance? The easiest way I guess is to create a function. You will still need to add an action for each variable, there is no way to cycle through all variables in a loop. (at least not possible with events, you can do this with scripting)

    If you have too many instance variables, like a hundred or more, consider using a linked dictionary instead.

  • Like this?

    dropbox.com/s/lhrwer9zr0xudb7/PlatformCar.c3p

    Both wheels have platform behavior and connected with pin. It's not a good solution and will only work if the terrain doesn't have big drops, jumps etc. You can make the drive smoother if you don't rotate the wheels. (Make them invisible and pin a different rotating/animated sprite to them)

    A better way of doing this is with physics, here is a simple demo:

    dropbox.com/s/t9qddhf8q85270j/CarPhysics.c3p

  • You do not have permission to view this post

  • You can right-click the object name and choose "Select all in the project".

    If you have an instance on a "storage" layout, you can quickly change its properties this way. But of course, if you have multiple instances on different layouts, you need to be careful, as changes will be applied to all of them.

  • Really, contents? Encoded in base64 format? There is an addon that allows playing audio from base64 string, you can find it here.

    Or did you mean URLs are stored in the xml file?

  • ACCES-Mathieu Lots of images and links from old posts have disappeared.

    Try this effect:

    construct.net/en/forum/extending-construct-2/effects-31/request-drop-shadow-plus-124707/page-3 I

  • The easiest method:

    player set scale to unlerp(-200, 700, player.y)

    Where -200 is the y-coordinate where the player size will become 0, and 700 is the y-coordinate where it's scale is 1. Of course, you'll need to find your own values.

    You can also wrap it in clamp to prevent the player from becoming too small or too large.

    clamp(unlerp(-200, 700, player.y), 0.5, 1.1)

  • In C3 Set Color effect takes only one parameter, which contains all three channels. So use rgbEx255(r,g,b) or rgba255(r,g,b,alpha) expression.

    Instead of the effect you can also use "Sprite -> Set color" action.

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