Geo's Recent Forum Activity

  • Hey!

    I want to build a game, somewhat RPG-like.

    I need it to display rather large text, different text in more than one place. Ideally I would store this text separately in some XML or txt file.

    For example, I have a button "Intro", when the user clicks, they see a messagebox of sorts with some 3-4 paragrahps of text (some 200-250 words). They click OK, message box gone.

    Then they click Play, and are taken to a new layout, and another message box pops with another message, adding some more info to the story. In the new layout they click Help and see another message.

    All these messages I would like to have in one place where I can easily edit them.

    Can this be done in Construct 2?

    Thanks in advance.

  • Hey guys,

    Here's what I did the last couple days. It's the first thing I did with Construct 2.

    Try to place the 8 "queens" so that they don't attack each other.

    geekygamez.com/beta3

    Cheers!

    PS: I'm amazed by the stuff you can do, considering the simplicity of Construct 2. Great piece of work!

  • OK I think I wasn't clear, sorry for creating confusion.

    So, to clarify: The thing WORKS. I posted the image (http://img51.imageshack.us/img51/4012/loop2j.png) for reference, in case someone else wants to have a look at it. As it is posted there, it works and I have no more questions about it.

    For now, it works very well for my purposes.

    Thanks!

    Geo

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • kiyoshi thanks, but I don't want the board to cover the entire layout.

    vtrix: I got it to work after all, I added a sub-event (hadn't noticed the menu). Then I had to stop animation for the square, as it was going all black as soon as the game started.

    For reference here's what I ended up with:

    img51.imageshack.us/img51/4012/loop2j.png

    Thanks again, and I'll be back :D with more questions.

  • By the way I don't care about white / black squares just yet, I want to get it to work with the same color first.

  • Thanks for the prompt replies guys.

    vtrix: how can I add the "IF"s? When I click Add Action I can only add actions, not conditions. I can't figure out in what order to click the things to get it to work.

    Here's what I have:

    imageshack.us/photo/my-images/37/loopa.png

    But obviously the yLoop is incremented at the same time with the xLoop.

    How can I add a condition only for this action, what to click and in which order? It's not very intuitive.

    Thanks!

  • Hey guys,

    I read the arrays and loops tutorial, and also looked at the FAQ sticky regarding arrays. But I can't figure out something.

    I'm trying to create a chessboard, and so I thought an array of 8x8 sprites would be perfect. But I can't figure out how to implement it and make it work.

    I have an arraySquares object, width 8, height 8. I tried to populate it in a loop but either I must be doing something wrong or perhaps an array is not the right thing to use for this.

    I added an event with 2 conditions, OnStartOfLayout and For curLine from 0 to 7, and then System->Create Object->square on layer 1 at (400 + curLine * 35) and expected to see 8 squares there when the game runs, but there's only one.

    So please let me know what I'm doing wrong, or better still, what approach would you take if you wanted to draw a chessboard. Next steps I want to make other sprites drag-and-drop-able and they should "snap" to the right square.

    Thanks in advance.

Geo's avatar

Geo

Member since 16 Dec, 2011

None one is following Geo yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies