newt's Recent Forum Activity

  • Tonks uses a ton of small sprites that are made of one big image.

    The original image was about the size of the layout, he then cut it up to a few pixels width, and the same height... in photoshop, and imported all, then arranged them in the right order.

    You'll have to ask Sol about the rest.

  • I think your best bet is to slice it up kind of like Soldjaboy's Tonks.

    As to the editor you could use the line object and have it create a new line every other click, then create a sprite at that coord.

    I guess you could even use a distort map, but you would need to use a canvas to create a collision mask.

  • Pickles, bacon, and periods... there's a broken condom joke in there somewhere.

  • Added two more variables original x, and original y. The first example actually would slow down since it was using current x,y.

  • > I don't think it looks that much like our logo. Cogs seem to be a common metaphor in software like this.

    >

    Yes, specifically cogs shaped like the letter C. Grumble Stencyl grumble.

    Just stumbled across this.

    and the author's reply to a comment there is pretty funny.

    Oh dear. Not exactly useful is it? Perhaps we could persuade them to try using Construct?

    From the authors reply in the utube post, I have a feeling that its users aren't going to be to open to that Sslaxx. Blame that on the years of closed beta I guess. All I know is that it better be pretty dam good, or the natives may revolt.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I wouldn't use "for each" for going through larger families. Instead try "Pick object by value", where the object would be your family. It will pick all objects the expression you enter applies to.

    I did a little speed test for that - in my project I have the family "Ships".

    I displayed an object counter in my debug console and told Construct to create fighters (member of ships) until the fps drops below 60.

    In my code I did:

    > for each (Ships)
       Ships('status') = "Idle"
          Tell ships to move to random position
          Set Ships('status') = "Roaming"
    [/code:o2hte6hd]
    
    My object count went up to close to 1.600 before my FPS dropped below 60.
    However, when I tried this:
    
    Pick (Ships) by value 'Status' = "Idle"
    etc.
    
    My object count went up to close to 16.000 before my FPS dropped below 60.
    So this is clearly faster.
    

    Yes you will need a trigger, otherwise each tick it will run the line.

  • Hard to say with out a cap.

  • simplest way would be like

    (inverted)sprite.rts is moving

    every random(10000)+ 1000 miliseconds

    sprite.rts move to position xrandom(layoutwidth) yrandom(layoutheight)

    That would be for a single sprite, you could use a family instead, or even pick a random member.

    edit:

    Note if you have a lot of objects the pathfinding may bog it down a bit, if so just use add waypoint at position.... that is if your using rts behavior.

  • Your still going to have to pick the individual objects, but you can use for each for that.

  • Im seeing some lines on the sprite as it gets closer to layout 0 x,y.

    Is there a way to add color to the light?

  • Looks cool. I must admit I am curious as to how your doing the textures.

    hehe Tell us how that's done, and I'll tell ya how to generate a collision mask.

  • Thought about a lerp solution to this. Its pretty much the same as Mipey's.

    square:  Value 'var' Less than 1
    System: Every square.Value('speed')*timedelta milliseconds
    

    squareSet position to lerp(square.X, point.X, square.Value('var')), lerp(square.Y, point.Y, square.Value('var'))

    squareAdd 0.01 to 'var'[/code:26kevabm]

    Done with two private variables, speed, and the percentage called var.

    http://dl.dropbox.com/u/666516/lerpnoslow.cap

    Edit: For a smother transition make var smaller, and adjust speed accordingly.

newt's avatar

newt

Member since 12 Nov, 2008

Twitter
newt has 26 followers

Trophy Case

  • 16-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
  • Popular Game One of your games has over 1,000 players
  • 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
  • Email Verified

Progress

31/44
How to earn trophies