trueicecold's Forum Posts

  • I've seen the showcase of buildbox (pricy as hell!!!), and GameMaker's showcase, and there are a LOT of very famous games in there...

    Yet, I only know 3 semi-well known games, and only because I'm a member of the C2 (The next penelope, Cosmochoria and Airscape).

    I refuse to believe the community here is less competent than GameMaker's and BuildBox's community, which leaves me really buffled...

    On a sidenote, I absolute LOVE C2, although I'm creating very simple games for now..

  • scrollTo solution worked perfectly, funny it's such a simple solution

    Thanks a lot!

  • I have a layout which is 320 by 2500. Thing is, the default behavior is for the layout to start at the top and fall down. Can I reverse it? I want to start from the bottom (color switch style).

    Thanks!

  • Construct2 does not allow you to copy and paste events from different Capx projects. It may sound time consuming, but including the function object, and having a separate events sheet only for common functions has worked for me.

    You won't be able to copy+paste the event sheet, but at least it is easier to duplicate your functions.

    Sure it's possible, as long as the object and and behaviors are the same (if used)

  • you could measure the angle between the current position and the mouse poisition

    angle(player.X, player.Y, Mouse.X, Mouse.Y)

    so if it's between 0 and 90, change the animation frames to right, between 90 and 180 change to down etc...

  • The thing is, you never enter the "Every 10 seconds" event (you never stayed 10 full seconds for it to pop), but you do enter the "Every 1 second" event.

    To keep data persistent, I'd suggest creating another variable and add 1 to it every 1 second. Then, if it's equals/bigger than 10, subtract 10 from it, and reduce 1 from a.

    Save it in the localstorage as well, this should do the trick.

  • Because you already defined the variable as String, so Construct wraps it as a string for you anyways... In the event, you can type literally anything, so you must declare it as a string using double quotes.

  • Estecka, I couldn't reproduce the scenario you're talking about... I put href= in the textbox, and I don't get a match...

    Why use double quotes in the first place? Have you create a variable and started its value with quotes? No need to, just write the value without the quotes at the beginning and at the end, construct wraps it for you...

    Attached a capx

    https://drive.google.com/file/d/0B5myBvkaZTxscE5yQUczVUhEeVU/view?usp=sharing

  • you could harness double tap on enemy to achieve this. Single tap will move to the Touch.X,Touch.Y

    double tap on object will "run" to that position and "Destroy" the enemy.

    Attached a capx. Made it quickly, so sorry for the double code for moving/dashing, should be enough to make the point.

    https://drive.google.com/file/d/0B5myBvkaZTxsdnVaUjZxbjBzU3M/view

  • I fail to see what's wrong:

    in the TextBox I put:

    <a href="http://www.google.com">Google</a>

    and I got "Match"

  • You could assign a "IsCrouching=true" variable to the player instance, and check it before standing up.

  • works for me with a simpler example:

  • You could make an entire circle sprite, and check the angle of it on collision. between 0-90 - red. 90-180 - green etc...

  • I'm from Beer Yaakov

    Not an expert on Construct 2, but I learn a lot every day

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0J0hound, thanks a lot! my sprites needs to change tint at runtime, so I'm afraid paster will slow things down. I'll have a look at it, but I guess I'll use animation frames (different color each frame).

    tunepunk, Tint is a very major part of my game (as of now, at least), and saying "your device is not supported" on Google play/App store is a big no no...

    My game has quite a low object count (about 50 sprites on screen, and 4-5 particles at its peak), so I wouldn't worry about low end performance.