skrotar's Forum Posts

  • Create a variable to store the numbers (lets call it count)

    Then do a for event, for each sprite make the action add 1 to count

  • What error do you get from the tutorial that i linked? i downloaded the example capx and even that doesnt work

  • I just tried to use a free server to do this, just going through tutorials and learning, perhaps i'll try another. How did you manage to get that response Magistross?

  • Still cannot get it to work, i uploaded the php as example php exactly as you described

    http://gametesting.rf.gd/example.php <--- theres the php, i just uploaded what you suggested

    And here is the code

  • Same sprites? use the pick all event. System, pick all.

    So if you had a sprite named box you create the even under system - pick all.

    Object (pick the box)

    expression would be self.width

    comparison > (greater than)

    value = 250

  • Im trying to follow this tutorial and i have downloaded the examples but it simply does not work

    Anyone know why?

    https://www.scirra.com/tutorials/61/aja ... t-2/page-4

    I have tried both the in tutorial example and my own of setting this up

    http://gametesting.rf.gd/example.php

    and then making an ajax request (tag : "" Url: "http://gametesting.rf.gd/example.php")

    get nothing on completed, only on error.

  • can anyone help me to solve errors in my game.

    What errors?

  • Nevermind got it to work thanks man that was easy

  • dont suppose you wanna give me a capx example? purdy please?

  • how do i save the array tho?

    i basically want to be able to hit a button in game and swap the contents of the two arrays in game.

    so there is an inventory array and a stored array and i want the contents of inventory to go to stored and stored to go to inventory.

  • I tried searching the forums for this but all references are to the webstorage plugin that no longer exists

    I have an inventory system for a ship which is based off of an array, what i want to be able to do is have it so that the player can change ships. Because of the way i want to do it i want to have an active inventory array and a storage inventory array, i thought i could swap the data between the arrays by exporting to and then importing json files but that seems like it is no longer possible.

    Is there another way i can easily copy all the data from one array to another?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are there any tutorials or posts that explain how to make an inventory system like this one?

    Most of the inventory systems i find are zelda ones, cant find anything thats the same

    http://navigator-odor-64173.bitballoon.com/

  • A capx would be greatly appreciated

  • Ok im sure this is simple and i'll feel really dumb when someone shows me but my brain is not working right now

    I have a variable For currency, and a variable for an item cost, also every time this item is bought its price goes up by a variable which is a multiplier.

    Example: Cost of an object is 6 and the multiplier (.5) is floor(cost + (cost*Multiplier). The first item bought is then 6 and the second one is then 9.

    Now the part im having trouble with - I want to be able to buy multiple of that item at once. Lets say you can choose to buy 1, 10, 100 or max. Max would be based on their total coins how many they could buy of said object.

    Thanks for any help

  • Hi there i have a variable that is a number and i was wondering if i could set multiple text objects to different values in the variable.

    For example is the variable is 156 would it be possible to set one text object to the 1 (hundreds value) another to the 5 (tens value) and the last one to the 6... all of the same variable.