worm1's Recent Forum Activity

  • You don't understand my question ^^

    I'm trying to find out how to handle the finger that moves with the line on the letters down in the circle to build a word :)

  • Thank you for your answer but it is not the recognition part of the words that interests me but the generation of a word with the circle of letters at the bottom ;)

  • Hi,

    Is it possible to do this kind of tool to create words with construct 2 and if so what is the best method? Thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you very much dop2000 , that's exactly what I was trying to do and without using an array it's even better !

  • Not exactly . For example i have 10 sprites with instance variable "ID" 0 to 9 and second instance variable "NUM" random 1 to 4 . I have a random number "n" start 0 until 9 and a second number "NUM2" random 1 to 4 . If "n" has value 3 for example i ll must check in the list of sprites the n+1, n+2 or n-1, n-2 so it will be sprites with ID 4,5 or 2,1 . After with the number "NUM2" i must compare instance variable "NUM" of sprite 4,5 or 2,1 and if is equal i destroy sprites with ID 4,5 or 2,1 and to finish i reorder the list of id like you say

  • Thx kriand , it s work

    dop2000 i use an array because i have to remove for example n+3 sprites or n-3 sprites, i have to concatenate after the rest of sprites and reorder by id all and i don 't know it s possible just with instance variables?

  • Yes the X index is a instance variable of sprite , i called it "ID" but it isnt the "UID" of the sprite

  • Thx kriand , it s seems to be a good solution but i can't pick instance with UID , i must pick instance with value in X of array . It s my problem

  • Hi,

    I manage instance variables of sprites with an array XY.

    The X is and ID of sprite and Y a number.

    I want to check along the array if the number of sprite in Y is equal to a number and destroy all sprites found.

    For example my array is :

    0 - 0,4
    1 - 1,4
    2 - 2,3
    3 - 3,3
    4 - 4,1
    5 - 5,1
    [/code:1e7rhwkn]
    
    If my number to search is 3 , i want destroy sprites with Y number 3 so i ll destroy sprites in 2,3 in the X of my array.
    
    Ty for helps.
  • Ok thx dop2000, i ll change the management of instances by array. It seems to be easy for manipulate elements.

  • Hi,

    i use a dictionnary to manage instance of sprites and i want to apply the equivalent of this fonction :

    https://help.adobe.com/en_US/as2/reference/flashlite/WS5b3ccc516d4fbf351e63e3d118cd9b5f6e-797f.html

    I do not see an identical method in construct 2

    Ty for help

  • I am trying to rewrite an old engine in as2 flash , but I caught the trick in the meantime to speed up the sprite movement , a coefficient must be applied to variable n

    Ty for help

worm1's avatar

worm1

Member since 29 Oct, 2012

None one is following worm1 yet!

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies