vybr's Forum Posts

  • Oh, I forgot to put square brackets around my array values. Silly me, it works now.

  • I'm actually having this exact problem. I'm trying to add skins(costumes) using a JSON file which contains the ID, name and price of each skin. Every time I try and get a value from the Y column using an X value I always get a 0.

    It's weird because I can get values from column 1 (which contains the name) of the array, but columns 0 and 2 always returns a 0. I'm not sure if it has something to do with it being a string.

  • It isn't actually, at least that was not my intention. Though I now realise the screenshots come across this way...

  • Try Construct 3

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

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

    I just recently finished my second game named Piggy Blitz (was originally called Junkyard Blitz).

    It features a deranged, daredevil pig named Rumple Hamslice who has mad love for cannons, jetpacks, parachutes, explosives, the lot. He performs these crazy stunts on a desert junkyard after being kicked out of the farm where he grew up due to mysterious craters forming and pig shaped holes being left in the barn wall.

    I totally just made that all up <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> . Anyway, back to the game.

    The game I initially envisioned was one fairly similar to jetpack joyride. An endless runner (or flyer in this case) with powerups, special mechanics, a currency to buy skins etc.

    However, this time I decided to not let my mind run wild and keep it very simple but add to it over time.

    The whole point of the game is to help Rumple “glide” through the desert junkyard without bashing his head on a metal column.

    To control him, simply tap the screen and he will change the direction he is gliding in. Beware, he is difficult to control!

    Play Store link: http://goo.gl/bMRwp7

    Feedback and a rating would be greatly appreciated. Also, the logo is not final.

    I'd love to see what scores you get.

  • Loving the look of this, can't wait to play a demo.

    The logo looks weird because the scale of the pixels are not consistent throughout.

  • Hey! I'm vybr and I live in the UK. I love drawing, graphic design and a bit of programming.

    I bought Construct 2 during the winter sale weeks ago. Before Construct I was using RPG maker (I ended up using all of them over about 7 years) but never actually finished a game.

    Using Construct I have managed to complete 2 games (albeit very small and simple games) named Choppy Jack and Piggy Blitz, which are both on the play store. The plan is to begin with smaller games and work my way up before finally diving into my dream RPG project (using a different engine).

    Anyway, that's me.

  • In the Menu event sheet, on the start of the layout you can either "Stop" the sound or "Set muted".

  • Here is what you should do:

    Local Key "Gold" doesn't exist (you can do this by right-clicking and clicking Invert): Set Local Key "Gold" to 0

    Local Key "Gold" Exists: Set Gold to WebStorage.LocalValue(Gold) << You use these 2 events at the very start of the game.

    Then throughout the game as the player is gaining gold, you set the local key value to the Gold variable (so that it is always being updated).

    In other words, if you have an event that adds or subtracts gold, you also Set Local Key "Gold" to the gold variable.

    Regarding the highscore system, at the start of the game place this event: Local Key "highscore" doesn't exist: Set Local key "highscore" to 0.

    Then in the game's event sheet, add an event to check if the score variable is greater than the highscore local key. If true then set the local key to the score variable.

    Hopefully that makes sense (I'm terrible at explaining things), tell me if it doesn't.