winstreak's Recent Forum Activity

  • Clamp is the best way I can think of to shorten your code.

    Check out this video for a quick walk through:

    youtu.be/KkMVs-9HG-E

  • Fedca nailed it (He is faster than me)

    This Video will walk you through if you need some extra guidance:

    youtu.be/_uCTRtoxT_k

  • Just a thought:

    You can have a check built in that see if there is more than 1 enemy overlapping.

    If yes you have a built in to set one enemy to a position to the left. (You will need to check the position to the left is open before moving)...

    You can also have to enemies overlap and show a text above the enemies saying 2 (or more)

    Then if the enemy catches you with more than 1 enemy is does 2 X damage.

  • Took me a while to decipher your code. From what I can see you need a For each for you enemy as well as a for each for your enemy path. This will stop your your enemies from both going to the same position.

    dropbox.com/s/cbr6un5ovtbheme/HexagonMovement-2Enemie.c3p

  • I believe this might help:

    Set a variable to a string with the color name - this can be changed at any time so you can update colors whenever you need to. Simply add a [color=variable] .. text..[\color]

    This video will go into some detail for you

    youtu.be/wda5h_QcX5U

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You just need to find a unique value that each sprite holds and use that.

    I suggest a variable

    I made you a quick video to explain:

    youtu.be/27jqqqXxVPY

    The end goes into detail on how to make it changeable on the fly.

    Hopefully this helps!

  • I was able to get it to work, thank you for the help!

    Once done getting the variables do I close out of the JSON file some how.

    JSON Destroy?

  • Hey there Buck

    I made you a quick tutorial video

    youtu.be/9nbaZKCI8xM

    This was a large area of requests so hopefully I was able to satisfy all of your wishes. Please let me know if you bump into any issues while you are following along. Best of luck creating your game :D

  • Hey Laurent - I made a quick For each video tutorial for you.

    youtu.be/t7onZZx5hKA

    You will essentially just want to create the sprites called "your-name" then you can call

    For Each "your name" and it will loop through each one allowing you to individually check each "your name" instance on the map.

    You should already have your code set up to make the single enemy move - just replace it with what you know about For each and all of them will go.

    Feel free to ask specifics if you get stuck.

  • I am looking to work with the datetime information.

    I can pull the datetime as a string, and now I want to remove the "-"s and store 2022 as a variable 01 as a variable and 08 as a variable. Any help would be appreciated. thank you :)

    Here is my JSON

    {

    "abbreviation": "EST",

    "client_ip": "73.28.195.233",

    "datetime": "2022-01-08T13:45:58.545677-05:00",

    "day_of_week": 6,

    (Removed to shorten)

    "week_number": 1

    }

  • If it works sometimes I would guess you are missing the passLevel on the times it is not working. Since it is exactly 10 and only so many checks can be done it is potentially possible to get to 11 and break the trigger.

    try setting passLevel >= 10

  • I am looking to grab time of day info from a website and then save that information to TOD.json which is a blank file I have in my project.

    I currently have:

    On start of layout: AJAX | Request: "https://worldtimeapi.org/api/ip" Tag: "Time"

    I have no issues with getting the request correctly - and I am looking for the correct Event to put inside

    On "Time" complete

winstreak's avatar

winstreak

Member since 4 Dec, 2019

Twitter
winstreak has 11 followers

Connect with winstreak