unxcellent's Recent Forum Activity

  • I like your art. What type of software you use to create the art if you dont mind me asking?

  • Launch trailer from Battle Princess Madelyn, a game we started prototyping in C2 around 4 years ago now!

    Subscribe to Construct videos now

    Coming to Switch, PS4, Xbox One, and PC December 6th 2018, with PS Vita and Wii U later in the new year.

    I though construct only support export to Xbox. How did you endup exporting to Ps4 for example? did you use another engine or code?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the info. I wish you good luck.

  • Looking good. I liked the music and sound effects. You did then yourself?

  • Looking good.

    what software are you using to create and animate your pixel art?

  • > looks great man, you did the art yourself as well?

    >

    Thanks man, yeah it is a one man team development!

    Nice! I wish you the very best and good luck!

  • looks great man, you did the art yourself as well?

  • Anyone?

  • Hi everyone.

    I'm having some issues saving what has been bought and what's selected on my ingame shop.

    I'm still new and I followed the wikis or tutorial about Local Storage however, im still having a difficulty saving some items properly.

    In this capx example that I created:

    https://drive.google.com/folderview?id=0B9tGN8-NMP_xQzFxUlZpclhXRzg&usp=sharing

    You have a basic shop, where you can buy and select the item/player you want to use.

    And im trying to save what has been bought already and what has been selected already.

    What im trying to accomplish is:

    1. If you buy an item, game saves, and next time you reload the game you dont have to buy it again.

    2. If you select a bought item, game saves, and next time you reload, you will see your selected item by default.

    3. Let say these buttons are players, if you select one, the other one de-selects. So next time you reload the game you will see the last player you selected.

    I'm using instance Boolean variables for the "Bought" and "Selected" items/players.

    I have encounter many bugs on the way im saving stuff and im pretty sure this can be done in a different easier way.

    Could you guys take a look at my capx and see where I went wrong? and what's the best way to do it?

    if you guys could fix my capx would be great

    https://drive.google.com/folderview?id=0B9tGN8-NMP_xQzFxUlZpclhXRzg&usp=sharing

    Note: On the capx

    1. if you press 1 it will reset global variables and clear storage.

    2. if you press 3 it will add 50 coins

  • You haven't set a price on the Item_Buy.price.

    Hi tekniko, if you go to the shop layout and click on the item_buy,

    there's a instance variable name 'price'. Thats where I put the price value.

  • He's right saying the "restart" is the problem. Everytime you restart the layout, you basically start the layout, and you asked to set money = 10 at start of layout.

    You can make what you want by setting the global number Money = 10 and remove the condition "at start of layout set money = 10"

    But restart the whole layout to update your wallet feels a bit inadequate for Construct 2 I believe, it will ask to reload all the assets and things. You better update dynamically without restarting maybe ?

    How do I update dynamically without restarting?

  • this is pretty simple and i can see why you didn't find it....so you have on start of layout to set the coin for start and you have when bought restart the layout will actively re-trigger the on start of layout to set the coin back to ten. So in other word the Event that is causing the problem is the restart layout.

    And you are telling construct two to buy an item reduce total money coin and then restart on layout and then on the beginning of loading the layout (on start of layout) to set coin to ten and then the text back to the ten. If you disable the on-start it will function correctly.

    Hi, you are basically saying to disable system --> ON start of layout --> MoneyDisplay --> Set Text to TotalMoney?

    if you are saying that, I already tried that and doesn't work. Even on debug you can see that it's not deducting the coins.

    Sorry probably I misunderstand what you said, could you give me an example?

unxcellent's avatar

unxcellent

Member since 27 May, 2016

None one is following unxcellent yet!

Trophy Case

  • 8-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies