Mollekopp's Forum Posts

  • Wow. Once again. Thank you. This is a biiig help.

  • I would like to share with you my progress. As I said, this is a little math game. I am glad that I come that far. But there is a lot to do.

    Here you can play a quick demo:

    There is a lot to improve, but maybe you get an idea of the game...

    (in the next version the sailor should play the cards by himself ;-))

    preview.construct.net

    If you want you can also download the cp3 file and have a look at it.

    Feel free to comment or to give some suggestion for improvments.

    Here you can find the project File:

    dropbox.com/scl/fi/6zybssv66qzgvl111kl7n/wau_wau_210102.c3p

    The rules:

    In germany the kids learn the so called "1 mal 1" in school. You learn rows like: row of two: 2,4,6,8,10,12,14,16,18,20 (1x2,2x2,3x2...)

    some Numbers like the 12 are in different rows.

    12 = 3x4 and 2x6 (so its in the row of 2,3,4 and 6

    So you have to think about wich card fits next.

    my next tasks:

    make the sailor play by himself

    make spine animations

    make a stack to pull cards

    make it possible to get more than 4 cards (I have something like this in mind: raw.githubusercontent.com/Bhoos/coverflow-demo/master/out.gif

  • I am very happy to see, there is a spine plugin.

    Unfortunately, the whole thing does not work.

    I have downloaded your example file with the knight. It works. But my own is simply not displayed. What can be the reason for this?

    I proceeded as follows:

    I set my Spine version to 3.8.59.

    I have set the export settings to linear (and nearest).

    I exported without skins

    I uploaded the three export files(json,atlas,png) (in files).

    I have linked it to the Spine object.

    and tested them:

    But unfortunately just nothing is displayed.

    What can be the reason for this? What am I doing wrong?

    Here is my spine project:

    dropbox.com/scl/fi/sj18ira7tia8pf62euwb2/sailor.zip

    Maybe someone can have a look?

  • Another syntax question.

    I want to set the positon with an variable. But what is the correct syntax for this?

    I want to achieve:

    pos_0(variable).X

  • Thank you!

  • I have changed it. But it does not work anyway. :-(

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you have an idea, why this does not work?

  • Because of the values* of the cards I thought about putting them all in an array and sort them randomly. Let's see if it works.

    *(1,2,3,4,5,6,7,8,9,10,12,14,15,16,18,20,21,24,25,27,30 ... 80,81,90,100)

    As you can see some values are missing.

    I have seen that you use: pick CARD instance X

    Is it possible to assign these instance numbers?

  • AllanR

    Now I see what you did. This is so much better. Thank you!

    Btw, where did you get the "missing" cards? ;-)

    Can you tell me how you choose what card will be selected at the start?

  • OMG. You guys rock! I know that my code was very ugly.

    I am not a programmer (as you can see) but actually work as an illustrator. I already thought that this is so very cumbersome, but better ugly code than no code :D

    I'll have a deeper look at later.

    But for now: Thank you, thank you, thank you!

  • Here is the core of my problem:

    "Find equal values in two arrays"

    array_01: 1,2,5,10

    array_02: 3,5,6

    How can I do that?

    Can you please help?

  • Thank you dupuqub.

    You are right!

    Breaking the problem down into its component parts should help in any case. I always find myself working around the actual problem. I will keep at it. I just hate it when I don't get anywhere fast enough.

  • Here is what I got so far...

    https://www.dropbox.com/s/lrl3ykr6vh1z6m8/shuffle_Cards_02.c3p?dl=0

    Maybe you get an idea of the game...

    Its a game about learning the basics of multiplication.

    1x1, 2x1, 3x1, 4x1 ... (1,2,3,4...)

    1x2, 2x2, 3x2, 4x2 ... (2,4,6,8...)

    1x3, 2x3, 3x3, 4x3 ... (3,6,9,12...)

    As you can see.. Some Numbers are in several rows...

    What do you think? Is working with array easier than working with variables?

  • I am to dumb. It´s sad to say but I can´t get things running.

    Maybe I should give up and try something less complicated :-/

    Sorry. Maybe my mood will be better tomorow, but today I am very frustrated, because its very logic and easy to explain, but I can´t get it. Maybe I should switch and work with variables.

    Don´t know.

  • Thank you for the quick reply.

    I want to check if at least 1 value matches on two cards. So I have to compare all values of array_1 with all values of array_2. If at least one value is identical in both arrays, the cards may be placed on top of each other.

    Array.At(X) doesn't seem to be the right command to read all values of an array, does it?