R0J0hound's Forum Posts

  • You use a the ajax object to request the url to get the string.

    There may be a json plugin that lets you parse the text, but you can also just do it with javascipt via the browser object.

    Basically you'd do something like:

    Start of layout

    --- ajax: request url "www.myurl.com/data/"

    on ajax complete

    --- browser: execute js "window.data=" & ajax.returnData

    --- text: set text to browser.execjs("data[0].points")

    Or at least very similar. I didn't bother to check if that's the correct names of stuff.

    It uses window.data to make data a global js variable. This doesn't work in all exports.

    So then in js you can access the global "data" variable to get at your values. Maybe a basic js tutorial could shed some light on this. Typos or errors would spit something to the browser console.

    That json is an array of two dictionaries, so you could start with the above and create some events to create two dictionaries and populate them i suppose.

  • Put both objects at 100% opacity on a layer, and set the layer to 50% opacity.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Chome updated so that audio cannot play without a click or tap first. This broke audio in c2 games as well as html5 games everywhere. About 5 versions ago c2 included a fix, but a tap or click is still needed.

    Maybe Firefox followed suit with chrome. Idk.

    In short you need the latest c2 to for audio to work in the latest chrome. The game still need a tap or click first though.

    Audio will work as before if you use older versions of c2 before the fix with older versions of chrome before the change.

    At least that’s my understanding.

  • They deleted all private messages on the 4th of this month. It's in response to the GDPR. I believe it simplifies Scirra's compliance by having all communication between users as public.

    There was a post by Tom about it a few weeks ago. Also he mentioned it again in one of the website issues topics. I'm having no luck finding it though, there is no search on the new forum, and a google search didn't yield anything on the new site, so ehh.

  • You can probably do it with multiple physics objects connected with joints.

    Bare basics would be a two wheels connected with pivot joints to a frame. Acceleration could be done by applying a torque to the wheels which would cause forward motion when in contact with the ground due to friction.

    There are at least three physics behaviors to use. One bundled with C2, and two third party (one isn't free).

  • It was ported to Unity.

    You didn't read the link. It wasn't.

  • It means that number is repeated x amount of times.

    So 44x5 is the same as 44,44,44,44,44. It makes the json file smaller.

  • Here�s the link explaining how they did it:

    seaven-studio.com/bringing-the-next-penelope-to-switch

    Basically they took the exported game and made their own runtime to run it instead of the c2 one. Chowden is similar, but they go from the capx to the export.

  • zenox98

    Ah cool, that works. Didn't know it was you that replied. I was on my phone and the layout seems mangled so I can't read the usernames. So you are no longer anonymous now.

    On I side note, after a few posts and assuring that I am not a robot, I am actually having my doubts.

  • Nope, I'll probably go engineless. Presently I haven't been doing much coding at all.

    Since I only code for fun, things like maintaining previous projects fall by the wayside.

  • Is there a way to unfollow users?

  • Any new insight on that memory leak R0J0hound? I love this behavior a lot but unfortunately I'm experiencing a severe slowdown for the FPS over time, even when nothing is moving anymore in the scene..

    None since my last observation about it. Something that should be deleted isn't because something is keeping a reference to it so it's not being gc'd.

    Anyways consider all my plugins in their final state and won't be updated.

  • It’s not feasible for all broken links to be fixed, but if you reply to the topics with the broken links you’re interested in and the author is still around, they are usually happy to fix those when they get a chance. Most wont bother checking all their links to make sure they still work.

    Dropbox broke all their links about a year ago so that’s the main cause of broken links. The original authors would need to re share the file with a new link.

  • Nothing obvious comes to mind. My testing when I made it was pretty limited, I never have used webview+ or canvas+.

    My guess is there's something with webgl or the canvas dom is a bit different between the two, or maybe the C2 runtime sets up the webgl state slightly different depending on which is used.

    I don't plan on working on the plugin anymore, so I don't have a fix or solution.

    cheers

  • OhhBaby

    I can't see your images.