Sargas's Recent Forum Activity

  • you could set a variable "type" to the familly, and set every object A to type=1, object B to type=2, and so on.

    then you can do this:

    eg:

    "family type=2" ----> and only objects with type=2 would be called.

    Just be sure to set the proper numbers to the objects. if they are already in the layout on start, you can set them manually, but on creating them you'll need to "set type to X".

  • why don't use the flash behavior instead?

  • I added some comments to it too.

  • Let me see if I understood what you want:

    1) click an object.

    2) that objects shows a countdown (like, 3...2....1...)

    3) when the countdown is finished, another object appears (i'm guessing some sort of "confirmation" pop-up)

    4) when you click that second object, you change layout.

    if that's the case, then it's super easy

    1)Create your "button"; could be a sprite, a text or a button object. and create a variable called "countdown" on it, and set it to 4.

    2)With the mouse or touch object use the condition "on object clicked/touched" (that object has to be your button) ---> set it to 3.

    3)Then on another event make this: When object.coundown =or< 3, every 1 seconds, as long as it's greater than 0 ----> object: substract 1 from countdown.

    4)And when object.countdown = 0; make the second object appear by setting it's position to where you want it to be. (originally have it placed outside the layout,)

    5) and when that object is touched/clicked -----> go to desired layout.

    In order to display a text over the first object, there are several ways; you could make the object with 5 sprites and set frame to timer. or you could place a text over it and set that text to object.timer.

    Also, I really recommend you go trough the beginners tutorials as this is really basic and you should have learned it there. Then read the manual at least once, so in the future you know what to look for when in doubt.

  • You're doing it backwards. You need to set the GlobalVariable to the WebStorage.LocalKey.

    take a look at this fine example i just made for you ♥

    Fine Example

  • Try Construct 3

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

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

    But, the margin doesn't have anything to do with performance... Just like a huge layout won't slow down your game, the amount of objects in it will.

  • ok. well. thats not what the margin does. you want to change the fullscreen mode.

    the margin is jut your workspace in construct2. one of the fullscreen modes places the game top-left.

  • Set the second number to something bigger than the first. like; "100, 800"

    but what do you think will this accomplish?

  • Aphrodite I'd like to know too, my galaxy S3 started to render con Canvas2D instead of WebGL and performance really dropped. how can i disable the balcklist?

  • this would be it. http://benerot.wordpress.com/ it's a startup starting to start.

  • haha, thanks Ashley! I actually had read that when it came out.

    I like the program to be as smooth and elegant as possible, i'm all for doing it the best way. I just needed to understand how the inner machinery worked ^^

  • Well, this is disappointing... I changed every text to either an image or sprite fonts, and all the "every tick" to a setter. I made a ton of "performance efficiency" upgrades on my program... and the amazing result; about 3% increase in performance xD

    Hopefully slower devices will make it more noticeable.

    The game sure looks prettier now, after with the graphics overhaul

Sargas's avatar

Sargas

Member since 13 Jun, 2012

None one is following Sargas yet!

Connect with Sargas

Trophy Case

  • 12-Year Club

Progress

12/44
How to earn trophies