codah's Recent Forum Activity

  • Since installing 176b (or so it seems) I suddenly cannot preview as I always have, on Chrome. To my knowledge I have not changed any preview settings. I now get the message "Unable to start HTTP server on ..." and that I should start with admin privileges (which I have set on the shortcut that I use). It does work with localhost.

    I did re-install 173 stable, and still have the issue, so I've gone back to 176b.

    Thanks in advance.

  • Hm that's a shame.. Be sure you have the initial opacity values, etc. correct on your sprites. Use mine as an example. You could post your capx, or PM it to me.

  • Simpler than 2 events? <img src="{SMILIES_PATH}/icon_e_geek.gif" alt=":geek:" title="Geek">

    Any way to make all the shadow sprites behave the same way with these events?

    My demos do, see above... First has 2 rooms, second has 4. Event sheet unchanged.

    If you don't have 176b

    https://www.scirra.com/construct2/releases/r176

  • 176 is the latest beta release..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Give this a go - I hope it's the kind of thing you're after. I removed the fade behavior from sprite4 and added a FadeIn and a FadeOut boolean. The booleans are set according to whether or not the player is overlapping the shade sprite, another event then takes care of the fade in or fade out effect, using dt to ensure a smooth fade effect....

    The right-hand room never fades out?

  • My picture is a photo of this guy's

    dog

    , whom takes a lot of photos of his

    dog

    with different objects placed on him. Don't know the guy or the

    dog

    , but I have a lot of photos of this

    dog

    . Awesome

    dog

    tho.

    I just had to!

  • Drag and drop doesn't honour the solid behaviour..

    From the link:

    [quote:2whyygz6]It affects the following behaviors:

    8 Direction, which is blocked by Solids

    Bullet, which can optionally bounce off Solids

    Car, which bounces off Solids

    Line-of-sight, which by default has line-of-sight obstructed by Solids

    Platform, which can land on Solids. Platform cannot jump on to solids from underneath - for this, use the Jump-thru behavior.

    Pathfinding, which by default uses solids as path obstacles.

  • Put Solid behaviour on your solid objects, and also, e.g. Bullet or 8-direction behaviour (which use the Solid behaviour).

    https://www.scirra.com/manual/104/solid

    hint: if you had typed 'solid' in the Manual search page, you would have got the above link <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Just rotate the ship 90 degrees clockwise in the sprite editor so that 'visual' right is angle 0 (right). Then make sure you have 'set angle:yes' for bullet, etc.

  • This is not as easy as it seems. I finally got something going with LiteTween. It's a 3rd party plugin but you can do some amazing things with it, if you can work it out! I'm still not 100% sure why this works and lots of other variations I tried didn't..

    LiteTween is a behaviour so put it in the behaviours folder not plugins.

    [attachment=1:70003ead][/attachment:70003ead]

    [attachment=2:70003ead][/attachment:70003ead]

    For this I changed platform behaviour to 8-direction to navigate the 4 rooms. Just to demonstrate proof of concept.

    [attachment=0:70003ead][/attachment:70003ead]

  • With this you can add any number of buttons with no more code

    Edit: I didn't really explain how to use the capx very well. I've also simplified it--the family wasn't necessary.

    First

    1. Copy the btntxt object to your project

    2. Copy the 1 event to your layout (no changes required)

    Then repeat these steps for each button you need:

    1. Drag a 'btntxt' onto your layout

    2. Set its text in the "my_text" instance variable (e.g. "Bonus Chest: ")

    3. Set its 'on' text in the "on_text" instance variable (e.g. "Normal")

    4. Set its 'off' text in the "off_text" instance variable (e.g. "Easy")

codah's avatar

codah

Member since 30 May, 2014

Twitter
codah has 1 followers

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies