ShineShrine's Forum Posts

  • The whole point of ID, Categorey, and Properties is so when I go to create a save system, the game will places all of this information into an array and when the game is loaded in, it can create all of the items where they are suppose to go. As for the problem, I was playing around with it for a bit and learned that if the item that was dragging didn't stop touching any slot, the initial slot wouldn't set itself to unoccupied. I added an event saying that on item drag start and item is overlapping slot set that slot to unoccupied. this seemed to do the trick. Thanks for response and help!

  • Unfortunately this didn't fix the problem. After playing around with it for a bit I realized that when I remove the "InvSlot is occupied" on the second sub event, all items stick to their slots, but can overlap each other can share slots. I want the items to realized a slot is full and then choose another slot. Is there a way to get this to work?

  • Hi,

    I have been developing a survival island game and have recently decided to change my inventory system around to get rid of bugs and have all the events flow better. Unfortunately, I have run into some problems as now the items will not snap to new slots when moved there, instead they will snap to their old spot instead. Here is the code:

    Here are some functions that I have created to fill data in the slots better:

    Can anyone help?

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hi all,

    I've been developing a top-down, survival island game for that past few months. At the moment I am stumped as to how I should implement a mining system where the player can get stone and other valuable resources. Here is a screenshot of what the game looks like with a patch of stone one can find in the world.

    Anybody got any ideas for how I could go about this system?

  • Thanks so much for this, I implemented the horizontal and vertical blur along with the divide effects and it worked great

  • Hi,

    I am trying to figure out how to create an object with effects that blur other objects behind it. I want to put this object on my project's HUD layer in order to make the viewport have blurry edges to add some character to my game. I have been looking for an answer to this question for a while now, but I can't seem to find a solution. Can anyone help?

    Tagged:

  • Sweet, thanks so much

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks this is working great now! The formula I was using was a standard y=A(B(sin-C))+D formula from trigonometry. This is what it looked like in the events: 36sin((pi/50)*Day))+55. Also I do have a question about the 100*360 part of the equation. If I were to make another formula, but I wanted a shorter interval before repeat, would I just change the 100 and keep the 360, or would I change them both.

  • Hi,

    I have been working on a system that will set the temperature for my survival game. I want the temperature to fluctuate depending on the day over an 100 day period before repeating again. In order to get this to happen I want to use a Trigonometric formula to get this to work. The only problem is that the game system keeps telling me my function is missing something. Can anyone help?

    Tagged:

  • Okay, I will see what I can do, thanks for all the ideas!

  • Im not to great at writing stuff in a JSON file like that but I can give it a shot. What I was hoping to happen was I would have a 3x3 grid and I would drop my items from my inventory in there and then based on how they were configured the game would have an output that would give me a different item. I guess I could have special slots for crafting and check for different configurations for each recipe but I was hoping I could just automate it a bit more. Could I do this with an array?

  • okay, but how could I do that with a grid?

  • Hi,

    I just finished creating an inventory system for my survival game and now I am moving on to a crafting system. I don't really know how to approach it. My inventory system is centered around sprites with different animations, frames, and instance variables that make them the specific item they are. The animations help to show what category the item is (resource, tool, armour, or food and drink). The frame is the the items ID within their respective category. The instance variables show specifics such as amount of item in inventory or resources and food and drink, and durability and damage for stuff like tools and armour. To me, my item system seems a little complicated, so I am stumped on how to build a crafting system with this. I would like the system to be like minecraft's crafting system but i don't know how to pre make recipies. The inventory system uses inventory slots that have instance variables that carry each specific item's information when they are in the specific slot. Does anyone have any advice or ideas? If you need any more elaboration please ask