0 Favourites

Two random suggestions

This forum is currently in read-only mode.
  • First, the small, less exciting request:

    When entering a color filter via expression rather than with the color picker, you get the RGB values all mashed together into one large number like so:

    <img src="http://xs221.xs.to/xs221/07472/filter.jpg">

    Would it be possible to split this up into three values separated by commas (i.e. 133,53,215 for R,G,B respectively)? It would make changing colors at runtime waaaayy easier to do. Also, if we could compare "Filter R," Filter G," and "Filter B" that would be useful too.

    And my second, slightly more exciting idea:

    I was thinking about ways to combine movements and it occurred to me that being able to activate and deactivate them would be rather useful.

    Let's say you have a regular platformer. You're running around, jumping, shooting enemy soldiers, etc. Then a grenade goes off by your player:

    Condition:
    player overlaps explosion.
    
    Action: 
     Stop movement (player.Platform)
     Resume movement (player.Physics)
    [/code:3dd6ioz6]
    
    Then you could ragdoll the hell out of him before returning control to normal.
    
    So would it be possible to add the actions "Stop This Movement" and "Resume This Movement" to all the different Movement types?
    
    And yeah, I know I keep piling on the suggestions.  Sorry  <img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" />
  • First, the small, less exciting request:

    When entering a color filter via expression rather than with the color picker, you get the RGB values all mashed together into one large number like so:

    <img src="http://xs221.xs.to/xs221/07472/filter.jpg">

    Would it be possible to split this up into three values separated by commas (i.e. 133,53,215 for R,G,B respectively)? It would make changing colors at runtime waaaayy easier to do. Also, if we could compare "Filter R," Filter G," and "Filter B" that would be useful too.

    Wait, you were able to input colour as expression :o? I didn't find any way for that and was going to suggest a way to input it as expression... So it's already there?

  • For colours, the system expression RGB(r, g, b) makes a colour value, and GetRed(rgb), GetGreen(rgb) and GetBlue(rgb) can get the single values from a combined RGB. Ideally the IDE should use an RGB expression when you switch to 'Use expression'.

    Also, all movements already have 'Set activated' which does what you want, doesn't it?

    Edit: Drasa, right click the bar above it and pick Use Expression <img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" />

  • Oh, right click did the magic. But it surely doesn't look a right-clickable place <img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" />. Maybe the UI for using expression should be done more intuitive?

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Ah, Platform movement has it but not Physics. I guess that's a todo for Physics then.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)