Minor's Recent Forum Activity

  • I can't get the keyboard event to work when certain parameters are met.

    eg.

    I have a timer that is set to 10 seconds. Then when the timer hits 10 seconds I have a keyboard sub event that lets you press Z however I can't get this to work.

    This is the setup

    + - On Timer "timer1"

    - On key Z released - Goto layout 1 <This is the sub-event of the timer

    Shouldn't that setup check if the timer has been met and then if the "Z" key has been pressed?

    Is this possible or is it just me missing something blindingly obvious?

    Thanks

  • Thanks for taking the time creating these tutorials. Very handy. Almost everything in here can be put to good use in any genre of game.

    Thanks again.

  • Nice! Worked great on my 5/6 year old laptop.

    Love the blood & gib effect.

    Although personally I think the size of the screen took something away from the pixelly graphics.

  • > Signed up. Thanks.

    >

    As for a workaround just dont use Box object if you gonna rotate something, just use one Sprite that you can resize freely (you can resize multiple copies of one sprite and they wont interfiere with other copies).

    No still the same thing unfortunatley. Sprite rotates fine but doesn't change it's collision/bounding box, the platform guy still stands on the platform that should have rotated.

  • Signed up. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, it seems that you are rotating layer 1 only. You probably want to rotate both layers.

    Can't do that because the platform guy should always be unmoved by the world(layer) rotation, thats why he's on layer 2.

    >

    > http://rapidshare.com/files/261679522/l ... roblem.cap

    >

    <img src="http://files.getdropbox.com/u/888303/rapidshit.gif">

    Why you use Rapidshare? Waiting 40s for download and download limit is not great you know

    Edit: As for rotating, it seems the Box object is rotating with layout but not collision mask.

    I have a Rapidshare account

    Yeah that's the problem. But is it a bug or is it fixable by someone cleverer in Construct than me.

  • Obvious question: Are those objects not on layer 1? You said you're only rotating layer 1, so if they're on layer 2, they're not going to move.

    All objects are on Layer1 apart from the platform guy and the boxes with the physics behaviour which are on layer2.

    My cap is here if anyone can help.

    http://rapidshare.com/files/261679522/l ... roblem.cap

  • Just messing round with Construct and thought I'd try messing with rotating layers for a platform game, but I've run into a problem.

    When pressing spacebar Layer 1 rotates +90 - Which is just what I wanted however the platform solids don't rotate.

    Here's some pics.

    <img src="http://i19.photobucket.com/albums/b170/mr_flibble_hhah/normal.png">

    <img src="http://i19.photobucket.com/albums/b170/mr_flibble_hhah/180degrees.png">

    As you can see the guy(on layer 2) in pic 1 is stood on the Green solid platform marked 1 & when the layer is rotated 180 degrees he is still stood on the green solid platform that should be way above his head.

    Is there any way of fixing this as it seem that although my green solid move cosmetically the bounding box doesn't move.

  • It would be easier to do enemy spawning using "Pick a random object" under CREATE_01's conditions. That will pick a random instance of CREATE_01. Then you just create the enemy at the location of the spawn point, like this: Enemy spawning

    Ah much simpler than my solution. Thanks. Still I played around and learned new bits and bobs.

  • Here's a .cap with random spawn points.

    http://rapidshare.com/files/261437053/enemy2.cap

    Basically creates a random number every 3000 m/s. It checks for each random number and spawns an enemy at a different position for 0,1,2.

    Took me a while to sort out as I'm still new to construct ways, but it was good practice.

  • If you click your Sprite "Sprite" then Group>Container then Add Object and add the Gun (called R in your cap) all should be fine.

    Edit cap is below.

    http://rapidshare.com/files/261425618/enemy.cap

  • Hi here's a fixed cap. Well I think it's fixed not been able to make the guy moonwalk again.

    http://rapidshare.com/files/261105212/loztestedit.cap

Minor's avatar

Minor

Member since 24 Jul, 2009

None one is following Minor yet!

Connect with Minor

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies