aquadijoib's Recent Forum Activity

  • Hi,

    I would like to make something like a properties file for each item in my game. So a file for a sword for example should look like this:

    ID=1

    name=sword

    damage=75

    ...

    The game should then be able to for example find the value of "ID" in the file.

    Is there a function like this already in construct 2 or if not can I somehow find the different values?

    Thanks!

  • Try Construct 3

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

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

    I would say that you should do the same as the audio analyzer example does. But you should create more of those lines that show the wave as the music goes on instead of using the same lines and resizing them all the time.

    I hope you understand what I mean

  • I think you should take a look at the audio analyzer example. I don't know how to record audio though. Maybe with the User Media object?

  • gumshoe2029,

    Thanks for your help! It works now

    Thanks again!

  • Thanks I'll have a look at that

  • Hi,

    i want to add a world generator to my game that spawns objects randomly around planets. The objects should spawn at a specific distance because the planet has a range in which it pulls objects to itself with the platform behaviour.

    Here is a screenshot of my game with a planet:

    https://drive.google.com/open?id=0B7r2W ... jVtRi0zVEk

    The red line shows where the objects should be spawned.

    After they are spawned they will be pulled to the planet automatically (If they are touching the atmosphere) so everything i would like to know is how to find the right X and Y coordinates when the objects are spawned.

    Thanks! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • korbaach,

    I sent you the capx of my whole project as a PM. The game is in space so you have to go to the planet next to the start and the ship will automatically land there . Then you leave the ship with F. There is a piece of wood on the planet and everytime you go over it, it adds 1 more wood to the inventory. With Tab you can open the Inventory and when pressing E and standing in front of the chest (the blocky thing on the planet) you can open it. The swap works for the first time I think. But when you try to swap it again, only the amount shows up and everything messes up. In the array it shows NaN (Not a Number?).

    Sorry if my project is a little messy.

    Thanks!

  • korbaach,

    Thank you again for your amazing example! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    I implemented the system from your example in my project and tried it out. Something happens, but not exactly what I want <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> .

    The only thing that was changed is that I have 2 different types of slot objects. One for the inventory and one for the chest. Because I wanted the inventory slots to be next to the chest slots. So I thought that I simply have to duplicate it for the chest and the inventory.

    I put some screenshots of my events below. If that's not enough, please tell me and I'll send you my capx.

    Thanks!

    Links (in correct order):

    https://drive.google.com/open?id=0B7r2W ... HNWVF93QVU

    https://drive.google.com/open?id=0B7r2W ... DJGVTNDTW8

    https://drive.google.com/open?id=0B7r2W ... U1tc3Yxams

  • korbaach,

    Can you help me one more time please?

    I'm still not able to make it possible to move from chest to chest or from chest to inventory. I mean from one Z index (Storage) to another.

    Thanks again!

  • korbaach,

    Thank you so much for all your examples. But I don't know how to move an item from one chest to another or from the inventory to a chest.

    Thanks again!!!

  • korbaach,

    Does your method also work with 3 dimensional arrays? Because as I said I want to be able to move an object from for example 2,0,0 (From inventory because Z is 0) to 5,0,1 (From the first chest because Z is 1). But I think the Array.IndexOf expression doesn't work with 3 dimensional arrays.

    Thanks!

  • Thank you korbaach,

    I'll try that right now!

    Thanks again

aquadijoib's avatar

aquadijoib

Member since 17 Jan, 2015

None one is following aquadijoib yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies