jesusruiz's Forum Posts

  • Thanks yonda

    Ok, I got it to work doing what you told me.

    Thanks for your help ;)

  • Hello and thanks for reading this message.

    I have an object with a top-down repetitive movement, created with a Vertical Sine behavior.

    I have another object by clicking on it, stops the Sine movement of the first object.

    This second object then should go toward the first object that is now stopped. The problem is not that behavior should I give this second object to go towards the first object.

    I tried several behaviors and various events, but I have failed <img src="smileys/smiley19.gif" border="0" align="middle" />

    I have the following code:

    Mouse -> On Left Button Clicked on Sprite2 -> Sprite -> Set Sine Inactive.

    Now I have to make the second part, but I do not know how to make an object go to another object.

    I add an image to understand it better.

    <img src="http://oi42.tinypic.com/1qst47.jpg" border="0" />

    Thanks and regards.

  • Thank you for your suggestions, I'll have to try if I can make them happen.

    If I have any problems I will write, but I hate to bother you.

    A greeting ;)

  • Hello and thanks for reading this message.

    I come with a new question that probably has been answered.

    I have several enemies on the stage, each one of them out of a hole. I wish every X time an enemy out of one of those random holes.

    How I can make enemies appear in one of those random positions?.

    Logically each enemy / hole, have defined X and Y coordinates, and I know their values??. But I do not know how to make an enemy appears on screen using those coordinates as a reference. I suppose I should store these somewhere.

    System - Every X seconds - ??? <img src="smileys/smiley19.gif" border="0" align="middle" />

    Here, an illustrative image of a similar game that I want to do:

    <img src="http://oi39.tinypic.com/1qiw4o.jpg" border="0" />

    Thanks and I hope you can help me, because I do not know how to do this.

  • Thank you very much for the answers, you are very kind.

    I'll try the CSS, although it's nice to know I can set any other frame.

    Millions of thanks and greetings.

  • None of us has an answer for this? <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Hello and thanks for reading this message.

    I have a silly question, but which is not the answer.

    When we do a project in Construct 2, we have a gray frame limiter, which limits the movement across the screen.

    When we execute the project from Construct 2, the frame limiter appears:

    <img src="http://oi44.tinypic.com/huk6ro.jpg" border="0" />

    However, if we export the project to HTML5, and run it online, this frame limiter disappears, although the limit of movement across the screen still works:

    <img src="http://oi44.tinypic.com/bvgy.jpg" border="0" />

    Why disappears the gray bounding box when we run online?.

    Thanks and regards.

  • Okay, I think I got it.

    I have to do some tests...

  • Thanks for your answers, you are very kind.

    Pixel perfick, in Event Sheet I added:

    Mouse - On Left Button Clicked - Bullet - Set Angle to 270 degrees.

    or

    Mouse - On Left Button Clicked - Bullet - Set Bullet angle of motion to 270 degrees

    Now this shoot UP <img src="smileys/smiley1.gif" border="0" align="middle" />, but my bullet has rotated also those grades <img src="smileys/smiley19.gif" border="0" align="middle" />

    I have checked on the properties bar to have rotate to angle unchecked and checked, but do not understand why it happens.

    These images are the ones I've tried, I'm sure there is something wrong:

    First test:

    <img src="http://oi37.tinypic.com/9qd74y.jpg" border="0" />

    Second Test:

    <img src="http://oi37.tinypic.com/2dj89jm.jpg" border="0" />

    Thanks :)

  • Hello Keroberos and thanks for your reply,

    I've tried several ways, but can not get to shoot direction up: (

    Thanks and greetings ;)

  • First of all, to comment that I'm not using a template Vertical Space Shooter.

    I have only a plane that is moving from right to left. This aircraft fires a missile, but I can not do it up direction.

    My Event Sheet only have this event:

    <img src="http://oi38.tinypic.com/2zxmp0k.jpg" border="0" />

    The image of my game is this:

    <img src="http://oi34.tinypic.com/xf2r8m.jpg" border="0" />

    I need this:

    <img src="http://oi34.tinypic.com/wirb6b.jpg" border="0" />

    I've only managed to shoot to the right, left, or even with angles, but not with up direction :(.

    Thanks and pardon for my english.

  • You've got loads of options to do this, and I'm kind of surprised that there isn't a tutorial to cover this.

    The easiest way by far is just to have a series of sprites on which the user clicks/taps using the mouse and/or touch object. In that sense, any sprite can become a button, you just use the mouse -> [On object clicked] action instead of using an action from the sprite itself.

    As for keyboard input, that's a little trickier, but here's a quick example for using the left/right cursor keys to navigate a selection screen. Press return to select the level. dl.dropboxusercontent.com/u/14522925/C2%20examples/LevelSelectKeyboard.capx [r126]

    In my example I'm assuming all levels are labelled "Level 1", "Level 2", etc. The text action is just an example of how to use the currently selected level, you'd usually use an action like [Go to layout] -> "Level "&Selection.Selected+1

    Thanks for the example, I just downloaded this.

    I want the option of the keyboard, so your project will be of much help.

    If I have any questions ask here again.

    Thanks :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks Xerullian ;)

    I forgot to insert an object type Input Mouse, Keyboard to my project. Now I can see and use that option.

    Thanks ;)

  • Hello and thanks for reading this message.

    I have a new question, does anyone know how to make a screen: "select mission"?

    <img src="http://oi38.tinypic.com/29mrsxg.jpg" border="0" />

    I would like to add pictures of the missions, and clicking on these, load the selected mission. Can you do this?.

    An image is not a button, so do not know if what I have to do is add better buttons.

    Besides, I have the question of how these missions could be selected with the keyboard and mouse?.

    Thanks and regards.

  • Now, it works ^ _ ^

    The final image to another user with the same problem:

    <img src="http://oi50.tinypic.com/hva0r5.jpg" border="0" />

    Thanks to all who have answered me.