WackyToaster's Forum Posts

  • Where exactly is the series of numbers stored initially?

    Anyway, assuming you have them inside a variable: You can use "set Text" and put in the name of the variable in the field (without "")

    Automatically seperating them into a series of variables, probably not since you cannot define variables during the runtime. You could use a dictionary though instead of variables and use tokenat to write the "variables" into the dictionary. And access them again via "dictionary.Get('varname')"

    Here´s an example

    wackytoaster.at/parachute/numbers.c3p

  • Ah, totally overlooked that! Didn´t expect the first node to be -1 actually :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Push all available cards into an array, then pick a random one out of it and delete that row from the array so it cannot be picked again.

  • I did that a while ago, since you can access the pathfinding nodes (= corners/turnpoints) you can use a tiled background to draw lines from node to node. I´ve done a slight modification to the pathfinding example project.

    wackytoaster.at/parachute/pathfindingShowPath.c3p

  • In theory you can make a simple analytic thingy with a little bit of very simple sql/php using AJAX. Basically you can use "On start of Layout" and POST a small bit of data to the server, that then counts up a value by 1 and you know how often a certain layout is visited. You can basically add this to any trigger event (buttons, game won/lost,...) and count all the individual actions.

  • The easiest is probably this, just make sure you have "set angle" enabled on the bullet behavior.

  • Iirc you can setup the button within the browser object. It's a bit hidden there...

  • On that note, a useful tool right now for everyone searching the forums for links and such. The wayback machine, like google cache, except you can choose the date of the snapshot. Interesting to see how the website looked back in 2008, lol.

    archive.org/web

  • lennaert you seem triggered, take a walk...

  • I think this one is already known, right?

    Anyway, an "add image to post" would be awesome after uploading an image.

    WebWiz -> PHPBB -> Custom

    Custom? But why? Don't get me wrong, it's cool to do your custom stuff. I often do that myself, but sometimes it seems to be a case of "reinventing the wheel". Often you will have to solve problems that are already solved in established products.

  • I can agree with you, construct is very nice to pick up. But...

    all you have to do is include the layout layer and walla

    It´s voilà... you really made me laugh >:D

    en.wiktionary.org/wiki/voil%C3%A0

  • You call the function after you requested the file via AJAX, but AJAX might take a moment to complete. So you call the function before the arrays are loaded. Put the function fall below "Load from JSON string" inside the On "INV" completed.

  • Well, here´s my attempt. You do have to fake some stuff, and that usually comes with tradeoffs. So if you want a globe just like google earth, you won´t get around using something like threejs. If you are ok with the tradeoffs, you can fake it. Now I don´t know what you intend to create, but if it´s not crucial, you should consider changing it to something that works fine in 2D and doesn´t require too much faking or third party libraries, it will safe you a lot of headaches.

    wackytoaster.at/parachute/globe.c3p

  • I think what you want to do isn´t really all that doable with native construct, since construct is simply not a 3D engine. I mean it is possible with css/javascript, but at that it doesn´t run all that effective.

    codepen.io/edankwan/pen/emqgpr

    The closest solution might actually be what you did

    A layer with a map image, with a Bulge effect, not so high on the scale as quality gets degraded no matter the image resolution; A layer on top with a white circle. "Source in" on the the bottom layer and "Destination in" on the top layer. This "works" to some extent but it never quite feels like a globe when moving it around with the mouse, it just feels like moving a map around inside a circle

    You actually got me curious about that idea, I might give it a shot. I think there might be some tricks I can use (in terms of design/art) to help faciliate a better perception of a globe and not a circle. I´ll post here if I got something. :)

  • You gotta upload the image though :) After upload it shows something like

    Copy that ID and insert it like this

    [*img=4127]

    (remove the *)