RhapsodyInGeek's Forum Posts

  • Private Variables and Instance Variables are one in the same. You set them up in the object's properties after clicking on the object you want to add them to. This is by default on the left side of the screen.

    You'd do well to go through the various tutorials packaged with Construct 2. They teach you almost everything you need to know.

  • You'd want to use a combination of WebStorage and Array. Basically, all the in-game stats can be easily kept track of via an array object, then when it comes time to save you can save it all as a string in WebStorage. Here's a really good tutorial on it.

    http://www.scirra.com/forum/saving-and-loading-an-array-to-webstorage-capx_topic50970.html

    That tutorial is as basic as you're going to get with what you're asking for, and it's the best tutorial for it, too.

    One thing to keep in mind: it saves everything as a long string, so when it gets loaded back into the game data array all your integers become strings again, so any time you call a variable from the array and expect to use it as a number, remember to use the int(x) or float(x) System expressions to stay on the safe side.

  • One option is turning all of those objects into global objects. They will persist from layout to layout. Just don't spawn them more than once without destroying any unwanted instances first.

    Another option is to forgo pinning in favor of setting each piece to a specific image point on a larger body, and reloading the objects that way on start of layout. Of course, you can also use a combination of the two.

  • Honestly, what you'll want to use are basically variable dimensions in your events. So if your Cat idle animation is 32 pixels wide, instead of putting in your events "Cat is 32 pixels from the left side of the screen" instead you would do "Cat is Cat.Width from the left side of the screen". Little things like that. Then you can import the new animations and frames like normal without worrying about breaking your programming.

    That was just a basic example, but it'd probably be good practice to leave just about all your numbers variable rather than hardcoded and static.

  • The problem is you're not picking the StarWay objects, you're picking the CurrentPosition and LastPosition objects. In fact, you don't even need any variables at all to do this. Check it out:

    https://dl.dropbox.com/u/20459682/StarWay%20Fixed.capx

    You can leave all the StarWay opacities at 100 and instead set all of their initial visibilities to "Invisible." Then you just check the StarWay to see if it's overlapping both Position objects at the same time. If it is, set the StarWay to "visible".

  • There's actually a plugin for this very thing that rexrainbow made. You can check it out here:

    Sequence Matcher

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • + if playerscore < 8
    --> go to layout GameOver0
    + if 8 =< playerscore =< 15
    --> go to layout GameOver1
    + if playerscore => 16
    --> go to layout GameOver2

    ... where 'playerscore' is a global variable. For the second condition you can use the System condition "Is between values".

  • <center><img src="https://dl.dropbox.com/u/20459682/Happiness/16%20Happiness.png" border="0">

    Happiness!</center>

    Happiness! is pretty much finished now! I couldn't find the old topic so I opted to just start a new one. Right now I'm just trying to figure out what to do with it, but in the meantime I thought I'd show the Construct Community my appreciation (and maybe get some feedback <img src="smileys/smiley2.gif" border="0" align="middle"> ) by letting you guys have fun with it until I decide what to do with it. So pirate it while you can! <img src="smileys/smiley36.gif" border="0" align="middle">

    I've also posted up most of the OST onto my band's YouTube page, which can be found here:

    <center>

    </center>

    You play the game as either a little girl or little boy trying to understand the depression you find your mother/father in after coming home one night. Unable to solve the problem, you go to sleep and, through your dreams, attempt to figure out how to help make your mom/dad happy again.

    The goal of each stage is to make as many dream denizens happy as possible. Each stage is thematically tied to certain ill emotions and causations for sadness, and as such the solutions to each dream denizen's problems are different. You may need to hug some, others may want to play games, it's up to you to figure out how best to cheer them up while navigating the various obstacles throughout each environment.

    Each stage also has 5 coins hidden throughout. It's not necessary to collect these to finish the game, but collecting them and making everyone happy gives you a "Perfect Time", for those interested in trying to speedrun stages.

    Features:

    * all ages accessible, in the vein of Super Mario Bros. and Sonic the Hedgehog

    * 2 playable characters, a little boy or a little girl

    * 8 unique stages, each with their own unique characters and solutions

    * some stages feature variations unique to each player character

    * Xbox360 Gamepad and Keyboard support

    * a pretty awesome soundtrack if I do say so myself <img src="smileys/smiley2.gif" border="0" align="middle">

    * 3 different endings for each character

    It started off as something quick and easy to get used to Construct 2, and ended up as something far bigger and more unique than I anticipated. It was a lot of fun building, and I hope all of you try it and have a lot of fun playing it! <img src="smileys/smiley1.gif" border="0" align="middle">

  • How are you making your maps? If you're using just one big tiled background object for it I highly highly highly recommend you don't do that. Instead, you should build your maps out of smaller bitesized objects; a combination of sprites and tiled background objects is the method I use. Keeps filesize and loading down and performance up.

  • I may be migrating to the official Function plugin with my new game, but your Function plugin has served me well for my just recently finished game. Props to you, good sir!

  • Geez, this still keeps getting responses. I've basically migrated over to Construct 2 (I highly recommend moving over to it for your next projects!).

    However, I did a quick update to the cap and reuploaded it since y'all keep looking for it. I'll not really be providing any tech support on this thing. It's pretty basic anyway, and I feel like it's well commented.

    The link is working again on the original post, but here it is again for convenience's sake.

    https://dl.dropbox.com/u/20459682/Full%20Screen%20Tutorial.cap

  • The expression you're looking for is:

    distance(coin.X, coin.Y, ship.X, ship.Y)

    As for moving the coin to the ship, there are a number of ways you could do that. I'd personally use rexrainbow's Move-To Behavior.

  • Actually, I think that means it's working as intended.

  • Do you use F11 as a key anywhere in your events? Even if it's:

    + On Key 'F11' Pressed

    --> Request Fullscreen in Browser

  • Could you post a capx or a screenshot of the relevant events?