Agrauwin's Recent Forum Activity

  • Let's say like cards in a deck (like in a board game/collecting game, not poker cards) where there are more of some cards than others

    yes is that!

    thanks for helping

  • you can try:

    thanks! you hit the point!!!

  • I am really not clear on what you are trying to do and there is no probably many different ways to achieve whatever you are trying to do.

    hi and thanks for reply

    this is an example of random: app.box.com/s/w938y0zspne5asrjafxm

    but i dont need only "egual" random

    i need that Animation Sprite frames 0 is most (?) common that Animation Sprite frames 5 (more rare)

    i can use some variable, examples "rarity" with a %

    totat rarity is 100%:

    rarity common + rarity uncommon + rarity rare = 100%

    than i can set:

    rarity common= 45%

    rarity uncommon= 35%

    rarity rare= 20%

    so, onload my Animation Sprite Frames will be a random: 0 to 5 according with variable "rarity"

    every time i click on my sprite, rarity check

    and will display one Animation Sprite Frames 0 to 5 according with variable "rarity"

    i decide rarity for every sprite: how i can give the variable rarity to my Animation Sprite Frames?

    example i want:

    0 set to common

    1 set to common

    2 set to common

    3 set to uncommon

    4 set to uncommon

    5 set to rare

  • Hello all

    i need a simple project: in a window, i've only 1 sprite, with 10 images

    every sprite must have a rarity (common, un-common-rare)

    when i click on image, sprite must change to other one by rarity

    sprite have:

    image 0 common

    image 1 common

    image 2 common

    image 3 common

    image 4 common

    image 5 un-common

    image 6 un-common

    image 7 un-common

    image 8 rare

    image 9 rare

    some ideas?

    thanks

  • Hello all,

    i need to undestand how use array or other memorizing system to create and destroy instances of sprite in the same position

    Important : Every sprite (letters) had a variable : ON - OFF (or numeric 0, 1, 2 etc)

    i had some pages, for examples 2 pages. Every pages had some instances sprite, for example, page 1 had 4 instances of A, B, C, D and in pages 2 i had E, F, G, H (only for example! I had much pages and much sprites)

    well, i want to memorizing the position of X and Y in a sort of Array or better a external TXT or CSV (i see CSV Plugin) AND memorizing the variable of the letter : ON/OFF

    so, when i click on page 2, i destroy all instances of page 1 and created instances of pages 2

    and when i go back to page 1 i destroy all instance of page 2 and created new instance of page 1

    but need to remember the variable

    any idea?

  • I am sure there is an other (mabe easier) way to do this but one way is: (cut)

    wee, thanks for the suggestion, its work

    https : // www(dot)dropbox(dot)com/s/29ld045pr83rbja/simple%20swipe.capx?dl=0

  • I did something similar using these Sprite behaviors and plugins

    Drag and Drop

    Pin

    The Plug In : MoveTo

    yeah! thanks for idea : with 2 images it work

    but with 3 or 4 images?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello C2 friends,

    i trying to undestand how i can "swipe" two pinned images (sprite) under a Layout (HUD)

    what i need to understand is :

    1. when i "swipe" left, on image#1, the image #2 come from right to left, and stopped under the hole

    2. when i "swipe" rigth, on image #2, the image #1 come form left to right, and stopped under the hole

    i see many tutorial, but are very complicated and is not relative to my question

    thanks in advace for any suggestion

  • thanks to everybody, i will test soon...

  • Dear friends,

    i need to understand how C2 logic work

    so, i create two object, one sprite ON and one sprite OFF

    now i go to write some "code": when i click on object ON, it becames invisible, so i can click on OFF and the sprite ON return to visible

    and this not working

    but, if i toggle the second part for testing, the first part of "code" is fine

    so, where i wrong?

    please help me

  • I hope it makes sence and that it will be of help.

    Wonderful!!!!!!! Many thanks!!!!! Its work you are a genius!

  • - red pick nearest instance of blue

    -- system compare values - distance(red.x,red.y,blue.x,blue.y) < 100

    tnx to both, well, i've semplify the project

    now i had 5 instances "red" and one "blu"

    blue : behaviors : DragDrop

    red : behaviors : Bullett : initial speed 0

    all seems work fine, but only if i created 1 instance of "blue"

    if i created for example 2 instance of "blue" the projects run crazy....

    i need that every reds seek the instance of blue nearest of itself

Agrauwin's avatar

Agrauwin

Member since 14 Mar, 2015

None one is following Agrauwin yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies