granpa's Forum Posts

  • Looks great , hopefully it will work out , will keep an eye on this .

  • LittleStain thanks for the help! but the capx didn't work since I didn't updated my construct 2 release for a long time

    Capx examples are a tremendous help , why would you continue to use r146 of construct.

  • I like it , nice game .

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your trying to use an else as a subevent to condition #4 where as it should be a subevent to condition 3 , check your tutorial again and you should pick this up .

    edit: I meant to say event 3 and not condition 3

  • https://www.scirra.com/manual/97/jump-thru

    You will find a lot more great reading in the manual <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Or duplicate some one Else's post

  • Styling Button objects

    Button controls can be customised in a huge number of ways via CSS (Cascading Style Sheets). Rather than adding actions to set all of the possible properties, the Button object exposes a Set CSS style action. Knowing CSS will of course be an advantage here, but it is simple to use for simple properties. A few examples are listed below.

    Make the text red: Set "color" to "red"

    Make the background yellow: Set "background-color" to "yellow"

    Make the border a thick light grey: Set "border" to "3px solid #AAAAAA"

    Make the font bigger: Set "font-size" to "2em"

    Make a dashed red border: Set "border" to "2px dashed red"

  • Do yourself a favor and read the manual , do some tutorials ,search the forums and then experiment as much as you can , the more you teach yourself the more you retain . Asking for help should be a last resort and a hard habit to break as it makes you dependent instead of self reliant .

    Try this out :

  • In event 97 change the condition from car>health to system>health . In your game you are subtracting from your global variable health so your car variable health is never changing. It is not necessary to have both .

  • The reason the score and health do not change is because of the order your events are setup . You destroy the balloons in early events and then much later check for another collision event to change your variables , well these events never trigger because of the earlier events that destroy the balloons. Put your actions that change the health and score variables in the earlier events that check for collision and all will work fine . You should also use families instead of all the repetition your doing with collision checking . You have over 100 events that could easily be managed with 20 and serve the same purpose . Perhaps reading the manual and doing some tutorials might provide some insight .

  • Lets say you are controlling the paddle with the mouse and the furthest the paddle can go to the left without hitting the wall is 40 and the furthest right is 500,,,,,,,,

    make a condition and action as follows :

    System>everytick..........Paddle >set x to clamp(mousex,40,500)

  • Just use clamp()

    clamp(x, lower, upper)

    Return lower if x is less than lower, upper if x is greater than upper, else return x.

  • It looks like your off to a good start and welcome to the forum

  • Underwater assets would also be nice