MadMan's Forum Posts

  • How can I

    a)bring up this menu using construct

    b)change the contents of this menu using construct?

  • I have a simple flashcard making software. On start of the Home layout, if a local "decks" key exists it loads all the decks on the Home layout, but if the decks key does not exist it creates it and sets its value to "Default|" and then it continues to load all the decks on the Home layout (which is now only the Default deck).

    When i clear my cookies (meaning that the decks key does not exist), the Default deck still shows, which means that the application successfully detects that the key does not exist so it creates "decks" = "Default|" and then populates the home screen with the deck.

    When you click a deck, a variable deckname is set to the value of the name of the clicked deck. Then you go to another layout where the cards of that deck are shown. If a local key with the deckname does not exist (which means that no cards have been added to this deck yet) then it displays a text which says "no cards added." However if a key called deckname does exist, it will populate then screen with the cards.

    The frusterating bug is, that SOMETIMES when i click the default deck it'll say "no cards" and sometimes it'll just display no text. If i keep rerunning the app without making any changes at all, sometimes it'll say "no cards" and sometimes nothing. This makes absolutely no logical sense why it should be doing this so i am assuming it is a bug?

    I am attaching the capx.

    qfpost.com/file/d

  • Hello,

    How can I detect if a user has "swiped" their finger on the screen? Furthermore how can I detect whether the direction of the swipe is vertical or horizontal?

  • Kyatric,

    Great response, great link and a great summary of the link. Very helpful. Thanks a lot man!

  • Hi,

    I was wondering, between WebStorage and Dictionary, which one would be faster to manipulate?

    If you have need for a lot of keys (say, 100), would it be wiser to import all the WebStorage keys into a Dictionary and then do manupulations like find, replace, etc, or is it just as fast to do the manupulations directly on the WebStorage object?

  • Hello,

    Windows 8 apps have a menu that appears at the bottom of the screen when the user swipes down from the top border of the screen. For example:

    <img src="http://i39.tinypic.com/29lnxc5.jpg" border="0" />

    Is it possible to manipulate this menu using construct 2?

  • Hi,

    Are global variables set on Layout0Eventsheet destroyed or reset when you go to a different layout?

    If i set GlobalHello = 1 on Layout0 and I try to access it later from Layout1, what will the value be?

    Thanks fellers

  • Nevermind! I figured it out. You simply set each individual layer's scale rate to the same value as its X scroll rate and turn off unbound scrolling.

    Result:

    <img src="http://i41.tinypic.com/1440gu8.jpg" border="0" />

  • I made an event that scales the layout to 0.75 when the user presses "J" on their keyboard.

    This is what the result looks like with unbound scrolling turned off:

    <img src="http://i39.tinypic.com/15wy06w.jpg" border="0" />

    And this is what it looks like with unbuond scrolling turned on:

    <img src="http://i43.tinypic.com/28tb0gg.jpg" border="0" />

    My character has the Scroll To behavior.

    I want to be able to use the scale feature without the ugly white color showing. How do i do this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ubivis,

    I am familiar with a tiny bit of PHP and MySQL databases. But I do not know how to integrate this with Construct.

    Could you, kind sir, possibly make a quick .capx showing the simplest way to do this? :D I would be forever indebted to you.

  • Great suggestion Sir R0J0hound! I just tried it and got 2. For anyone else that is wondering, the return action does NOT end the function. The value of the Function.ReturnValue expression will be whatever your last return was.

  • Hello everyone,

    I know that in the the Python programming language once you use a return statement the function ends right there. Does this also happen with construct? I am talking about the Function object, once I use it's return action will the function end after that? What happens if I use multiple return actions, will only the last return be actually returned?

    I have read the entire manual before and I just rechecked the Function object's section, nothing on this on there.

    Thanks for any help.

  • Does anyone know what screen size would be perfect for the iPhone 4's web browser?? I am planning on using Letterbox scale to fit all screen sizes but I would like my game to look best on an iPhone.

    I know that the the iphone 4's screen resolution is 640x960 but is this the same as it's web browser space? I do not have an iphone so I cannot test this at the moment.

    Thanks in advance.

  • Hey Ashley, Thanks for the help!

    But I want to create a facebook game that keeps track of what level you are on no matter what computer or device you are using. So local storage isn't really an option for me. Is there no simple way to read something from an online text document?

  • Whiteclaws, thanks for your response. I did try searching the forums, I found a link to rex's plugins but I couldn't really follow the documentation, it seemed too complex for me.

    The link you sent me looks GREAT! Do you know if the part 2 for that tutorial is finished yet?