linkman2004's Forum Posts

  • Thanks for the comments, everybody.

    Ashley: Thanks. On the shadow thing, I've been working on it using the method you suggested to some success. I'll work on it some more later and see if I can get it working right.

    ssbfalcon: Thanks. I'm mostly just making the engine now to see if I can do it, but I do want to make something later down the road.

    TheInstance: I was basically explaining the use of containers for the terrain detectors. The detectors each have a terrain graphic in their container, so instead of placing detectors and terrain pieces, you only have to place the detectors and the terrain pieces will be created automatically. Hope that explains it better.

  • Well, after lots of pain and misery, I have finally created my very onw top-down platforming example. It allows for jumping and multiple levels of platforms. It also has some basic Z-Ordering for when the player goes behind raised areas, but without being able to set the Z-order to a number, it's kind of a pain(hint, hint, hint.

    Download Here!

    The code is fully commented(although probably poorly since I'm not very good at conveying points.

  • Did you have two instances of Construct open at the same time? If you have two open, and run one, the other one wont' work anymore, saying an invalid texture was referenced. That's probably not it, but It might help.

  • I think the ability to load animated GIFs in the animation editor would be a huge boon. It would simplify the importing of animations a thouasand fold. Any plans for this? <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

  • Excellent update! The dynamic shadows are great. Although I did notice a problem. Screen scrolling messes up the lights. Instead of scrolling with the rest of the screen, the lights will move in the opposite direction you're moving. The shadows stay the same, it's just the lights that are screwed up.

    Otherwise, it's definitely an awesome update.

  • Just have the speed of the ball reduced every 10ms or so. Then, when the speed reaches zero, have it destroy the object. Also, it would probably better to use the bullet behavior. Hope that helps.

    EDIT: Okay, I whipped up a quick example using the CAP you provided. Click Here. Again, hope this helps.

  • You can basically already do that. For example, to set something to 50 percent of it's orginal size:

    Start of layout - Object: Set 'originalwidth' to Object.Width
                      Object: Set 'originalheight' to Object.Height
    
    (Your Event) - Object: Set Width to Object.Value('originalwidth') * 0.50
                   Object: Set Height to Object.Value('originalheight') * 0.50[/code:1une38wh]
    
    It may take a bit more effort, but it should work.  Hope that helps. 
    
    EDIT: Okay, so upon testing this myself, it appears there's a bug in Construct that makes the sprite dissapear when setting the height and width from variables.
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm pretty sure you already can. Under common there are options to change the icons used in the layout editor, specifically "icon" and "small icon" or something. Although you could be talking about something else, in which case that's worthless.

  • Fair enough, I guess it is a bit jargon-y... and don't forget integers are whole numbers and floats can have fractional parts (you had it the wrong way round).

    So to clear it up, how about just "Convert to number"? Or "Convert value/text to float"?

    That sounds good to me.

  • I basically know what floats and integers are, it's just that most people(myself included) are going to think that a value means a number. Making a "string to value" action, even if it's a little redundant, would probably clear up any confusion anybody had.

  • Ah, sweet, that fixed my problem. Thanks. Although you might want to clear that up a bit for the next build.

  • So, Construct is pretty awesome at the moment, but the lack of a feature to convert a string into a value is getting to me. I'm currently working on a scripting engine and I can't have it do what I want unless I can do said conversions. Are there any plans to add this feature?

  • Great job on the new build. I no longer have to worry about my .caps bugging out on me.

    Although I did notice a problem. Whenever I use the "get token" thing it kind of bugs out and instead of getting all of the text I want, it takes characters off the end(kind of hard to explain). Of course this could have been there for ages since I've never used the feature.

  • To make the skin work with multiple objects you would basically do what I did below.

    [quote:2axusa5m]+ On left mouse button clicked

    - System: Create object box

    - System: Create object skin

    - box: set 'attach' to random(1000000)

    - skin: set 'attach' to box.value('attach')

    + skin.value('attach') equal to box.value('attach')

    - skin: set position to object 'box'

    And that's basically all there is to it. Hope that helps.

  • Yeah, this is on my todo list: you should be able to set different materials for objects, eg. rubber, metal etc. and hopefully finely adjust the bounciness, friction parameters etc. as well.

    Nice. Can't wait. <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />