Toddler's Forum Posts

  • If I have say three Sounds that I have imported.

    I want one of three sounds to play when I press a Button, how do I do that ?

    ============================================================

    In Flash I can do this:

    var RandomNumber_Generated:int;

    RandomNumber_Generated = Math.floor(Math.random()*3); //Returns 0 to 2

    trace (RandomNumber_Generated);

    ============================================================

    How do I do this in this program ?

  • Can anybody help ?

  • Hello.

    1: I have set the Window Size to 640 by 1136 to fit iPhone Vertical.

    2: I uploaded to my server.

    3: I go to the URL and then add to home screen.

    4: When open, horrified that iPhone 5 treat it as an iPhone 4 app in the sense that it didn't make use of the whole screen.

    Using my previous programming environment, I know I need to include "Default-568h@2x.png", but now that I am using Construct 2 Export as HTML 5 to test out, what do I do ?

    and also...how do I get rid of the Top bar on the iPhone that shows the time and Battery power to achieve full screen after the first question has been answered

    Thanks

  • Yeah!

    Thanks SullyTheStrange & Weishaupt.

  • I am using a rendered 3D model as a �turn around� animation for a sprite, but rendering a 360 rotation at 60 frames per seconds takes up more memory than rendering it at 12 frame per second.

    To save memory, I prefer to render out a turn around at 12 frames per second, but I need to make the sprite animation plays back at 12fps too, just for that particular sprite.

    Is that possible ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, so glad to know in app purchase is in the work :-)

  • Is it possible to have a sprite as a container loading its image from a URL instead ?

    So that once I turn the project into an app, I could still update those sprites with new thumbnails for example.

    I understand I can do that through appcache, but understand that say if I use phone gap/mobi to make it into a self contain app, the �web site/app� will be self contained, hence to update the appcache would means to repackage a new app, then review, etc.

    I just want to have like say a few thumbnail sprite containers shows my latest app and I will be updating them often so I was hoping it could load from a URL.

    Is that possible ?

  • I used to be a teacher teaching kids how to make games with Game Maker [another software by this actual name] for five years, and I have to agree with 0plus�s opinion that Construct 2 is one of the finest game creation software ever.

    How I wish I could go back in time and teach my dear students Construct 2 instead.

    Construct 2�s platform and solid alone makes a mockery out of Game Maker�s.

    Things like fade and destroy, small things like this that really saves a lot of time and clear memory leaks automatically.

    The Touch object that have the ability to interface with the accelerometer and gyroscope, all these I hope users will not take for granted.

    The creator of Construct 2 is the salvation to the ideal of a real game making tool in my eyes.

    Take your time my dear Construct 2 developers.

    I know you have a lot of things to accomplish, we see your grant idea and we will support you all the way.

    When you are ready, exporting to ios will be nice ;-p [but not the wrapper kind that jail breakers can still access game asserts]

  • Thank you Ashley :)

    I am just making sure I am doing it the "right" way.

    And Thank you Kyatric, I have benefited not just from your current reply, but from all the replies you have given to so many people asking for help.

  • I have no problem accessing the HTML itself to change the native background color, but is there a way inside construct that does that ?

    Thanks

  • Thank you Kyatric, Zetar is Brilliant!

    A single sprite with internal animations, each holding a single frame.

    All one have to do now is change/randomize the "animation" when the next one comes in.

    There will be only two sprites in all.

    This is BRILLIANT!

    Thank you Kyatric and Zetar.

  • Great work gammabeam!

    Be careful of the Black holeeeeee ;p

    Very in depth example.

    I wonder why the Facebook version have no sound :(

    Zetar, I hint your advise but that will create a non changing background no ? Jetpack Joyride seems to have a series of interchangeable backgrounds that interlink randomly.

    And most importantly, using your suggestion, what happen when the character reaches the end of the layout ?

    How do we wrap the whole thing without the user realizing :(

    Thanks Kyatric, I will check it out :)

  • I am unsure whether this is the right place to post or should I place this port in �General game design�, please pardon my ignorance.

    I had been wondering how to create a jet pack joy ride type of game in contract 2.

    I notice the background of the game are long interchangeable plates.

    I would imagine the background to be �bullet� objects that gets destroyed when they are completely out of range.

    The next background would appear when the current background is just about done.

    The character itself stays in the same place....

    I think that�s it right , even the obstacles are bullet objects.

    What do you guys think ?

  • What a lively community!

    I am very satisfied with the replies :)

    It seems everyone is using it as a sort of comfort zone ;p

    I love it as it is :)

    I too wonder, if its purpose is assert placement, that we could just make the "margins" infinite, but yeah infinite scrollbar sucks ;p

    In any case, Construct 2 is very well designed, wouldn't change it a bit :)

    And I am SOOOO Glad I bought it during the Offer :)

  • Hello Developers :)

    The layout properties contain changeable data like layout size and margins.

    I see that the margins gives a kind of "free space" for us to put our assets that are not to be seen on the stage unless it's their time [when we bring them in].

    I am just curious about whether I am using the margins as it was intended.

    So here's my question, is the margin mainly for the developer to put their stuff away for a while ? or is there an actual "official" usage of the margins ?

    Thanks ;p