daveryaaziem's Recent Forum Activity

  • I'm on r73. Where do I find that option? is there a duplicate layer option?

  • cool, thanks for the heads up!

  • I'm looking to duplicate a layer and then add or remove objects or whatnot from it, is this possible?

  • Worked like a charm. You rock!! Thanks!

  • Can anyone tell me what the config bar is? I plan to buy the software regardless, I'm just wondering if the config bar is something I need now.

    thanks in advance!!

  • I want to set up a game that uses the same set background, but has multiple layers. At the start of the game, I would like the system to randomly select one of the layers, and disable all the others. Is this possible?

  • The "randomLayer = 3" and "randomLayer = 4" should be subevents from "on start of layout", not subevents of "randomLayer = 2".

    (all the tests on the same level, as subevents of "On start of layout")

    Thanks for your help,

    I made the changes, however I still cant seem to get the game to randomly select the layouts

    Here's an updated screenshot

    i855.photobucket.com/albums/ab120/daveryaaziem/screenshot2.png

    thanks

  • i855.photobucket.com/albums/ab120/daveryaaziem/screenshot.png

    oops here's the link to the screen shot

  • Indeed, you can't directly type a layout name, you have to choose it from the dropdown.

    Then do a little workaround.

    Randomize a number and test it.

    Global variable rd as number (= 0 default)
    System->Start of layout - Action System-Global & local Variable - Set value
    Variable: rd - Value: round(random(your_number_of_layouts)+1) (round() will give an integer) (+1 to prevent obtaining 0 as result of the random())
    ..SubEvent System-Compare Variable
    ..Variable: rd - = Equal to - Value:1
    ...Action: System - Go to Layout, pick your layout 1
    
    ..SubEvent System-Compare Variable
    ..Variable: rd - = Equal to - Value:2
    ...Action: System - Go to Layout, pick your layout 2
    
    etc...

    Did I follow orrectly, here's a screen shot

    <img src="http://s855.photobucket.com/albums/ab120/daveryaaziem/action=view&current=screenshot.png" border="0" />

  • Go to layout random(number of layouts)

    if index is 0 otherwise you know what to do

    e

    I don't know where to find this. When I go to system -> go to layout, I just get a pulldown menu that show my layouts, and then I am only able to select one.

  • I guess that was what my problem is, I don't see where to make a new layout. I went to file,new, but it just opened a new project and the system events only shows layout 1

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    I have another few questions I've had trouble finding the answer to:

    1) How do I copy and paste a layout and event sheet?

    2) Is it possible to have the system randomly select the next layout?

    I would like to have it randomly pick the very first layout, and then have it randomly select the next layout is this possible, if so how do I go about it?

    Thanks again,

    Dave

daveryaaziem's avatar

daveryaaziem

Member since 6 Aug, 2011

None one is following daveryaaziem yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies