eli0s's Forum Posts

  • In order to scroll, your layout has to be bigger than your window size. If they have the same dimensions, then you will see the whole layout at once, so there will be nowhere to scroll to.

    An other option will be to set the "Unbound scrolling" to "yes" in the layout properties, but that's more of a game design option, not to "fix" the scrolling issue.

  • I believe that if you have a placeholder layout for your objects, you don't have to populate your current layout with the "Spawner" object. So, you can create it with events at run time and you should be ok.

    An other thing you could do is to put an "on layout start" event and destroy both the "Spawner" and the "spawned" objects out side of the layout.

  • If applied to the Enemy object, Enemy.Y = self.Y

    In some programing languages I believe is the "this" keyword.

  • Tom

    Can you please give your insight in relation to this problem?

    I kinda went overboard choosing the top tutorial, took me 4 days to complete and, as it is now is hard and confusing to read in Greek, it's somewhat a waste of effort

    No pressure, if it's something hard just let me know!

  • You are welcome!

  • 1) Create a global variable. Lets name it "TouchTime" (without the quotes)

    2) Create an event and add the "Is in touch" condition

    3) Create an action and choose "system", "Add to" and select the "TouchTime" variable.

    4) On the "Value" field, input "60 *dt" (without the quotes)

    5) Create an other event an add the "Compare variable" condition (under system).

    6) Set the comparison for the "TouchTime" variable to be grater or equal to 120.

    You are ready to create your action.

    You need to reset the "TouchTime" variable every time you lift your finger though. Create an other event:

    1) Put the "on any touch end" condition.

    2) As an action choose the "set value" (under system) and input "0" (without the quotes)

    Done!

  • You can also put the enemies into an "Enemies" family and pick them randomly either with the "pick random instance" expression or using the the "pick by evaluate" expression and a Family variable.

    See attached file.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Welcome to the "no proper way to do masking" land

  • 10) I think that the layout properties and the project properties should be somehow combined into a single panel. I understand that most of us are probably already used to it, but having to click into a small "view" link to access similar in function properties is strange and, most importantly, having them separately as they are now, is confusing to new users that haven't yet realized the difference between "Window" and "Layout" size, or where did the "effects" link for the layout went after clicking the "view" link and how to get it back...

    I know that I was frustrated at first and had found it very disorientating. I am still bothered by the workflow, especially if I am in the Event Sheet and have an object selected. To access the project properties, I am forced to toggle back to the layout view, click on an empty space, then click the little "view" link. At least I know what I have to do now, I am not lost in the process.

  • tgeorgemihai

    Thank you. For some reason the WindowWidth/WindowHeight were lodged in my mind as being equivalent to screen size. They indeed return the browser's active area dimensions.

    It turns out that It's the lack off set WindowWidth/WindowHeight (or set aspect ratio) expressions that bothers me. The set canvas size doesn't work as I expected, I can't find a way to dynamically position and scale objects in relation to the browser's dimensions. The "Fullscreen in browser" and "Anchor" behavior doesn't seem to help either...

    Oh well...

  • I tend to think that we can't, but until someone knowledgefull confirm/disprove it, we'll won't know for sure.

  • I would like this question to have been asked by Ashley of the community rather than the OP.

    That would have being ideal, since it would have meant that C2 closed a development cycle and is ready to enter a new one

    I see nothing wrong in some constructive and well intended criticism though. Ashley doesn't have to follow our thinking, nor has being forced to derail from his current priorities.

  • I was going to suggest using a number instead of a name and convert it to a string inside the pick by comparison, but that probably wouldn't work any way.

    Glad to hear that you are pushing forward

  • 1. you can use magicam plugin for a camera - which should be made official and comes with C2 by default. Not sure what you mean by 3d object placement. Isn't Z ordering what you ask for?

    I know of the magicam plugin, it adds great usability to the current way of working . But a real 3d workspace is an other thing. No more weird parallax scaling from the stage's origin for example. Just move the camera forward (or backward) on Z axis and everything scales in relation to the camera's "target". In essence, you move the camera object instead of moving (scrolling) the whole world, which is actuary "pinned" on a virtual 0,0 point and moves/scales in relation to the layer's parallax/scaling values.

    4. I'm surprised C2 still lacks of path editor after all releases. I know it's quite easy to do by events, but proper plugin for that would be great.

    Yes, it can be done with events, but you have to be at R0J0's level to do curved movement, tangents, ease-in/outs etc.

  • Oh, yes, I forgot:

    9) Animation capabilities for the Tilled Background object, just like on the Sprite object