czar's Recent Forum Activity

  • Hello,

    I had a great deal of difficulty working out how to use arrays to generate a set of unique Times Table questions.

    i.e., I wanted

    6 x 2

    3 x 2

    5 x 8

    7 x 9

    But if 3 x 2 came up again it had to be discarded and different equation generated.

    I have solved my problem and I thought I would post a commented capx in case some one has a similar issue in the future.

    Also I am quite keen to post to see if I could have done this more efficiently. For example, I am not so happy that I need to use global variables.

    GenerateUniqueTimesTableQuestions.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Kyatric your commented array example was perfect. It should be part of the manual. I found C2's implementation of Arrays to be quite confusing.

  • Whiteclaws, I still haven't solved my dilemma. The positioning of the body parts is not as easy as I thought it would be. On the slower computers the body parts are spread far apart.

    However, I am also a confused about MaxArrayW you are effectively adding to the size every 0.01 of second. Would that array just get bigger and bigger? I am having trouble following the logic.

  • It would be useful to set the FPS to an arbitrary amount for testing purposes. At the moment I am trying to figure out a slow computer issue and the only way I can test my solution is to run it on a crappy computer, which is taking way too much time. Much easier if I could limit FPS on my development computer.

  • It would be great if the last location was remembered in the export function.

    At the moment the next time C2 is started it reverts back to the default c:\users\NAME\desktop\projectfolder

    It would be super if it just kept the path that was last used. Even better would be drop down with the last 10 paths used but that would require more than a couple of lines of code to do :) i.e., more than storing and reading from registry.

  • Cheers. scaciga that is very generous of you. I will study your code when I get a chance, real soon.

  • It works very nicely.

    I would love to see how you accomplished this.

  • Equinox80 Have you looked into loading from an XML file?

    Otherwise if you have a server you could set up a database and read values out of it.

    But I think XML would be the way to go unless you need to save data back to the database.

  • You do not have permission to view this post

  • This game has a really nice - one more turn - effect. Nice concept.

  • borrillis

    Have a look at a capx I posed in another thread.

    This should work

    construct.net/en

  • I love it. Very charming. The character is cute and the puzzles are surprising. It is the kind of game I would love to have on our site.

czar's avatar

czar

Member since 14 Dec, 2012

None one is following czar yet!

Connect with czar

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies