gibbon's Forum Posts

  • I am surprised to find no way to get the pixel colour of either the canvas or a sprite?

    Am i missing something or is this really the case?

    Thanks

  • Im sure all of you know it doesn't work in C2

    gibbon

    ...

    Just to add, my issue was regarding screenshots when using safari on iOS. I have manged to get it to work but what doesn't seem to work is the "invoke download" of the screenshot.

    Thanks

    Andy

  • Assume that space wasnt there, i didnt copy it over, i just typed it out and accidently put ina space.

    in the actually project there is no space.

    It simply doesnt work... If you could do it and it works then please do explain how.

  • I can't seem to work out what I'm doing wrong, I thought I would integrate some external JS functions but was having no luck. So, I have simply started a new project and tried this in both c2 and c3 but still I cannot get my JS to execute?

    I am using the browser to execute a simple function... "test link();"

    JS I have put in the index file AND tried in a separate JS file but simply nothing and nothing in the console???

    <script type="text/javascript">

    function testlink(){

    alert("test");

    }

    </script>

    Can anyone shed light on what I'm doing wrong.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HI, I was wondering if anyone knows a trick whereby I can open link in Safari, from my web app which is being used from "home screen"?

    All links open in the Web App viewer which is fine, but I want to make 1 open in safari.

    Thanks

  • Hi, I am having some issues regarding downloading the canvas snapshot on mobile.

    Before I ramble on, my ideal goal is to click a button and it download the canvas as an image to my camera roll (iOS).

    Unless I'm doing something wrong, invoking the download of the canvas snapshot does not work inside safari on mobile. What I can do is open the URL of the canvas snapshot and this works, and from there I can "hold down" on the image and "save image" as you would anywhere else on the internet. This I thought would work just fine, until I added my "web app" to the home screen for "full screen" viewing at which point when you hold down on the image, it simply doesn't ask to "save image"?

    Does anyone know a work around to how I can do this?

    Thanks

  • Hi, I have an iframe and ive noticed that when the iframe has focus, any input from the keyboard is lost?

    Is there a way around this?

    Thanks

  • Hi, I am trying to have multiple instance of a sprite, but then load different images into each at runtime?

    What im observing is every time it loads a different image, it changes ALL sprites to that image.

    How do I go about this?

    Thanks

  • Please read before hitting the link! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> Firstly being my first post ill say hello, im a "construct newbie", purchased it a few days ago. I am a full time web developer and c# programmer and a "semi-indie?" game developer with unity. However, for my 2D projects I have always used clickteams multi-media fusion but always found it a little dated, limiting but more so, difficult to "over come obstacles" from a programmers background.

    So I thought i would try out construct and found it simply ticks all of them boxes, you can tell it has been developed with "programming logic" in mind but makes it super nice and easy to develop with. It has 100% converted me and I really look forward to using it on any future projects.

    Anyway, to get to grips with construct I decided to create 2D minecraft style thing, I thought i would put it up here as I have no intentions to go much further as like I said, it was only really to help me get to grips with construct, plus there are hundreds of these games about!

    But im also just astonished at how well optimized HTML5 games from construct are, this is 640kb total size, its done with under 100 events (84 to be exact) and has only 12 sprites.

    You can mine & craft, place torches.

    Terrain & mines are seed generated (array based)

    Mud, Stone, Coal & Gold

    Inventory System (array based and dynamic)

    and that's about it <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> Controls are in the start screen.

    http://andygilbertphotography.co.uk/noname/index.html

    Thanks

    Andy