lucid's Recent Forum Activity

  • I've never used multiple events sheets or layouts or saves, but I know for sure groups don't stop events from working on my end, even groups within groups. There might be a problem with your install or your event logic

  • If you don't need anything other than single nonanimated sprites without a lot of frills, try uniquesprite. It doesn't do as much as a regular sprite, but might be enough, in the addons section

  • U can create an array of objects with the s plugin

  • Search the completed addons section for plugins by arsonide

    He's got beyond awesome procedural generation stuff. Also, depending on your approach, if you need object memorization, or picking beyond construct's regular ability, the s plugin provides a lot of power in that regard at the expense of a steep learning curve.

    You need to decide what type of procedural thing you want to do, like will it be like worms? Spore? Or towerclimb. You'd probably have a different approach, what did you have in mind.

    You should always try tlo translate your words in to events or code if you get stuck. For instance

    We want powerups to appear randonly for a player at random spots

    If(random( 20)==5)
          Create powerup at random(1000),random(1000)[/code:1oj4sjxw]
    
    That means every tick there's a 1 in 20 chance of getting a powerup
    That's not what we want tho, we don't want them to appear, but to be at the next part of the level, and go by distance from the lastpowerup, not time passed
    
    Only if its further than some predetermined required distance:[code:1oj4sjxw]
    If (distance(character.x,character.y,character('lastpowerupx'),character('lastpowerupy') is greater than character('requireddistance') [/code:1oj4sjxw]
    
    Then create it off the screen on the rightside
    [code:1oj4sjxw]-----create powerup at scrollxright+10, floor.y[/code:1oj4sjxw]
    
    Set the new required distance randomly between 500 to 1500
    Set lastpoiwerupx and y variables to the new powerup position
    [code:1oj4sjxw]
    -----character set pv 'requireddistance' to random(1000) +500
    -----lastpowerupx = powerup.x
    -----lastpowerupy= powerup.y[/code:1oj4sjxw]
    
    You want to factor in current health, etc, add some pvs, and/or conditions, and/or actions, and you're on your way, when its not right because it appears too close to walls, and an extra condition that checks for that, or whatever., and keeping tweaking and adding until its where it needs to be.
  • wow. kid is definitely a genius. and the patience, my god.

    [quote:jjg8fhf2]That's dedication.

    indeed

  • as for adding animations, I had a look, and even started the basics, and it's not difficult, but it is time consuming, and I'm afraid I don't have the time right now afterall. I might at some later time, but I'm trying to meet a deadline with my current project, and it's going to take a little while.

  • It worked for me, just copied in the effect folder and it is available (using Classic r1.2)

    thanks for replying sved. I just redownloaded it and it worked fine

  • construct ide has become very unstable lately, and I've recently added some subgroups (groups within conditions or other groups), but there had been some there for a while, and everything was ok. only around 200 events.

    it'll just randomly crash, usually when I'm expanding or collapsing something with a plus sign, whether that be a group, or an event with subconditions, etc

    the runtime is fine

  • I want to do something like the mask/erase effects for construct, but via a plugin. the plugin will be drawing textured quads, and I want to be able to take, say, 100 quads, and have that applied as a mask to the next 100 quads. if the answer of how to do this is too involved, it would still be useful to me to know if it's possible at all, so I don't go on a wild goose chase.

  • ask your friends and/or alteregos vdrake, and xzalion. they seem to be affiliated

  • k, latest addition is the intersectx, and intersecty expressions

    they aren't on the expression list, but they work

    http://dl.dropbox.com/u/1013446/New%20f ... r/math.rar

    example cap here:

    http://dl.dropbox.com/u/1013446/New%20f ... ection.cap

    these give you the point at which two lines intersect

    you can do this 4 ways

    specify 4 xy coordinates:

    [quote:25zqgnkk]intersectx(x1,y1,x2,y2,x3,y3,x4,y4)

    intersecty(x1,y1,x2,y2,x3,y3,x4,y4)

    specify 3 xy coordinates(the first two form a line, the 3rd is assumed to be on a perpendicular line):

    [quote:25zqgnkk]intersectx(x1,y1,x2,y2,x3,y3)

    intersecty(x1,y1,x2,y2,x3,y3)

    specify 4 objects

    [quote:25zqgnkk]intersectx("object1name","object2name","object3name","object4name")

    intersecty("object1name","object2name","object3name","object4name")

    specify 3 objects (the first two form a line, the 3rd is assumed to be on a perpendicular line):

    [quote:25zqgnkk]intersectx("object1name","object2name","object3name")

    intersecty("object1name","object2name","object3name")

    all 4 methods are available in the example cap, just toggle them on and off

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thank you, that was the problem

lucid's avatar

lucid

Member since 16 Jan, 2009

Twitter
lucid has 22 followers

Connect with lucid

Trophy Case

  • 15-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies