alextro's Recent Forum Activity

  • 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.

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

alextro's avatar

alextro

Member since 22 Feb, 2012

Twitter
alextro has 39 followers

Trophy Case

  • 12-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x4
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x6
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

26/44
How to earn trophies