Fireche's Recent Forum Activity

  • Containers are definitly the better way but i figured that using the UID is easier to understand for beginners.

  • yes..you can simply place it that will work aswell. Or you can make a code which will look like this: "pick every enemy -> enemy spawn hpbar -> hpbar set instance variable to enemy.UID"

  • Frap1K create a new instance variable for the hpbar. When a new enemy spawns you spawn aswell a new hpbar and set its instance variable to the UID of the enemy UID.

  • Frap1K Every object has a UID (Unique ID) after spawning. You don't need to set it.

  • give the healthbar an instance variable with the value of the enemys UID. That's one way how to connect them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • well then.. Tom

  • Hi,

    why is there no way to pay with a debit card for european people? (It tells me to enter CVC and Card Number which only credit cards have) So I would like to pay with bitcoins BUT if I press "To pay with Bitcoin please change basket currency to Bitcoin" nothing happens. It simply changes my currency to pounds and that's it ...

  • none will tell you here step by step how to do a full inventory, that's way too much work (which is why there is one in the store for 40 dollar). But we can give you advices on how to start it. Using arrays alone can be enough for a simple inventory system btw.

    But here is how I would do it:

    Use a 2D-Array. (X = ID of item, Y = is item slot free) When you drag and drop item X into the inventory you check for an empty spot in the inventory. After you set the ID of the droped item into the X axis.

    If you want to save multiple items you could use an instance variable of an object to save its amount. (If you drag and drop an apple onto another apple in the inventory you add to the apples instance variable ("amount") +1.

    What did you try so far? Did you try something on your own without any tutorials?

  • What kind of inventory do you want to build? And if you understand how arrays work then building an inventory really shouldnt be a problem at all.

  • idk why but its laggy as hell for me..

  • Create a database and then every time user opens the quiz (or once per week, whatever), send a GET request and check new questions. Then save them into the game and voila, you have it.

    (it may not be as easy as I wrote )

    And every week or so add questions into the database.

    Yes, this is definitly the easiest solution.

  • Hello, you could put the spawn "code" into a group and when u want to deactivate the spawning u disable the group?

Fireche's avatar

Fireche

Member since 23 Mar, 2015

Twitter
Fireche has 1 followers

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies