alextro's Forum Posts

  • See mine as well, I made it long time ago

    https://dl.dropboxusercontent.com/u/659 ... e_rev.capx

  • RenatoB

    Done.. you can compare mine next to ramones demo

  • One question, do the sprite need to be swapped only to their adjacent neighbor like common match 3 puzzle or they can be swapped other freely?

  • Ah I'm starting to understand what actually you want to achieve. a line group of 4 should be arrange with their own "class mates" to make a match.

    I'll try to solve this puzzle mechanism later.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great if it suit your need then.

    Angle of motion.. hope it is simple to deal with, since I often using native object angle.

  • I show you how to do it on this capx below

  • Compare animation frames and set their position using loop index. To arrange them in grid fashion, you must also set the horizontal position not just the vertical.

  • Simple way to do that:

    select all the object one by one except the triangle object and set the behaviour to 'NoSave' then create save trigger event (clicked button for example)

    system | save game from slot "you_name_it" after you generate the objects

    That's will store all the triangles object that appear on stage

    To load them:

    create a trigger then add:

    system | load game from slot "you_name_it"

    tested guarantee

  • Here I edited the capx & remove the bullet behaviour

  • Funny, my first attempt was make the triangles flip. I believe it is not too difficult lo load what has been generated before by retrieve data from stored information in text format.

    Will dig into this, or you can search the topic in forum first.

  • In my experience, I'm less using UID. I prefer IID since they are update dynamically on runtime.

    Allright I made the hexa_tris generator. Try to compare it with yours.

  • 'trigger once' should do the trick.

    While I'm spend time working the generator, here is visual guide to start with:

  • Several weeks ago I made rectangles consist of 8 triangles arrange them by using loop 'for'. What you are trying to build isn't too far from my case. Basically it's kind of arithmetic & geometry things we need to figure out. I'll give a try to solve your quest (hopefully).

    Let's give a shot:

    A hexagon consist of 6 triangles. 2nd layer of perimeter is an increment from the core.

    Think about this;

    - each triangles of 'core' creates 3 more triangles outside to make 2nd layer

    - same rule for 3rd layer but with more increment with 5 more triangles

    - see? The increments was simple arithmetic, 1,3,5, ..and you can guess next increments

  • I could think of passing them in text object. Not straight but fine by me.

  • Simply create instance variable name it 'speed'. Move the block by set the var 'speed' with desired number. When the block overlap/collide, make the 'speed' zero and it should stop moving.

    For actual example see mine's

    There are some tetris examples in forum, that give ideas how to arrange the blocks in stack manner. One of them came from rojohound.