dop2000's Recent Forum Activity

  • You can also use Sine, Tween or LiteTween for a nice easing effect.

  • What do you mean you labeled it as "Platform"? Did you add Platform behavior to it?

    I suggest you start with tutorials and templates. There is a game template "Platformer", open it and see how it's made.

  • Grimmy You are doing something wrong. See this demo, try dragging the blue sprite:

    dropbox.com/s/sez72gozmagqipl/PinMany.c3p

    Objects were created in the following order: Sprite, Sprite2, Text, Sprite3

    As a result, Text pinned to Sprite2 doesn't lag. Text pinned to Sprite3 is lagging.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Actually, it's possible to double-pin (and even triple, quadruple, quintuple..) and avoid the lag. You just need to make sure that every next pinned object was created after the object it's pinned to.

    So if you have Sprite2 pinned to Sprite1, and Sprite3 pinned to Sprite2, they will move without lagging as long as Sprite3 was created after Sprite2.

    Seems like only the object creation order is important (not the instance UID or object name).

    If you are pinning instances of the same object to each other, then I guess they need to be pinned in the same order you added them to the layout (by their UID).

  • I'm guessing it can't access the image, because in preview it's in the "files" folder. Try changing to url(files/button.png)

    Why don't you make the button with a sprite? It's so much easier!

  • Glad it worked! One last piece of advice - don't name your variables "someVar" and your objects "Sprite3" :)

    As you project grows bigger it will become more and more difficult to manage, so better organize everything correctly from the start.

  • You can also do "Repeat min(someVar, 25) times"

  • "somevar>=1" condition is not required. If it's 0 or less, the loop will simply not run.

  • Add an instance variable "code" to each sprite. Set unique 1-number or 1-letter codes. When any sprite is clicked/touched, add its code to the end of a string, then check if this string ends with a specific sequence of characters. So something like this:

    On Click on KeypadSprite 
    	Set keySequence to keySequence& KeypadSprite.code
    
    	if right(keySequence, 4)="1234" ... do something
    	
    	if right(keySequence, 5)="IDDQD" ... do something else
    
    

    There is also an addon you can try:

    c2rexplugins.weebly.com/rex_sequence_matcher.html

  • To open the project with an older Construct version:

    Change the extension of your c3p file to zip, unzip it to a folder, open .c3proj file in Notepad and edit this string:

    "savedWithRelease": 16403

    For example, you can change it to 15200 and then try to open this project with different versions starting from release 152. Of course, this will only work if you are not using new features added in later releases.

    .

    You can also try to find what object is causing the type mismatch error and fix it manually in JSON files. Press F12 in the editor window and then try to open the project, you may see some additional information about the error in browser console log.

  • If you want to use the function like this for fading out the sprite, you either need to call this function multiple times (every tick), or use a loop inside the function, something like this:

    Repeat 100 times
    	Wait 0.016*loopindex
    	Sprite set opacity to (self.opacity-1)
    
  • Tom

    Something weird is going on with the forum today. I leave a comment and don't see it. I refresh the page and my comment shows up, but some other comments disappear. I refresh again, my comment disappears, but others appear...

    It's as if there are two web servers out of sync.

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