AnD4D's Forum Posts

  • umarfarooq I'm using Construct 2 :)

    Custom scripts is not something I can do. Also, does your method actually allow a visualizer to make note of it?

    For example, the visualizer that already exists in the Example section will only react to music played from the actual project. If I have YouTube (for example) playing in the background, the visualizer will not react.

  • Does anyone know of a way to download music from a web host, and play it within the program?

    I want to upload some music and have the program download or even stream music that I have hosted online.

    I know I could just add all my files, but I want to save space, and have LOADS of music set aside.

    I wish to make a visualizer, so I don't think I can simply use an embed feature. Also, embed seems to hate autoplay these days.

  • *Cough*

    It seems... round(Self.Angle/45) works...

    I tried using "int" as I thought that rounded up or down, but apparently not. Sorry!

  • Hi all!!!

    I had a look at this tutorial here, and while it's nice, it's not quite what I want.

    https://www.construct.net/en/tutorials/animation-management-8-712

    Is suggests using the code "floor( (((A + 45) % 360) / 90) )" in order to get 4 directions, so I thought I could simply convert that 90 for 45 and have 8 angles.

    Unfortunately, I'm stupid :D

    Anybody have a smart way of doing this? I'd rather not have loads of events when I can do it in 1.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well it looks like its not going to work with Ajax, even with proper https.

    I'm out of ideas.

    Pretty sure its a Cors issue though.

    Well I appreciate you trying :D No idea why this is so tough!

  • Use the return Ajax to load into the Json object.

    The path would probably be be root, chatters, viewers

    XD

    Sorry, I feel like I'm missing this entirely. Either I'm not understanding what you're saying, or I've explained my issue poorly.

    I can not use AJAX to grab text from the URL. When I try, it displays no data, which means I can't feed this into the JSON.

    A similar question was asked here:

    https://www.construct.net/en/forum/construct-3/how-do-i-8/how-do-i-do-basic-web-scraping-137896

    And sadly no solution was given.

    If I could get access to the data, I'd be able to use the JSON plugin to grab it... but I can't figure out how to do it :(

  • Thanks for replying newt

    I have that plugin already, but can't figure out how to grab it. I've tried LoadJSON... but that's not working.

    Is there another section I'm meant to be using? I was in the process of creating a PHP to scrape the text :D

  • Does anyone have any idea how I can use Construct 2 to grab the data displayed from this link?

    https://tmi.twitch.tv/group/user/and4d/chatters

    I have tried AJAX, but it just shows up as blank. I've used AJAX throughout my project to display php, etc... but it can't grab this.

    Am I using the wrong object/plugin?

  • > I would rather suggest you to buy assets.Many already would had/have been using open source assets,so it gives a very bad taste.Also using open source assets depict less seriousness of the programmer towards game development.

    That doesn't really work in the game jam scene.

    The Idea is that if you come up with something worthwhile you then replace the artwork if necessary.

    There's more than enough free stuff out there to make something that looks decent.

    Besides everyone knows if you're realllly serious you make your own assets from scratch.

    Lol! Exactly :)

  • AnD4D

    Sorryyyyyy :)

    Hahahahaha! :)

  • Oh man, imagine all the extra sleep I could have gotten with an additional 4 days :D

  • OK, well my game has been submitted!

    That was a lot of fun, although I wish I'd spent more than 6 days on it. Was a last minute decision whether I'd enter or not, but I'm glad I did :)

    Good luck everyone!

  • Mine? 2. But they're basically the same.

  • So this is what I have...

    But I have no idea if it'll work or not, as I do not know the name of what Gamee stores the save data as.

    The log I use at the top simply doesn't do anything, so I can't even take a peek at the JSON.

    I just guessed at "save" because why not? :D

  • From what I can tell, there's no way to test the save state mechanic. Anyone managed to have any luck with that?

    I have created the data that needs to be saved, and can submit that data as save data, but I have no way to figure out how to get that data back down to me :D

    Saving isn't really that important... but it sure would be a nice feature...