gumshoe2029's Recent Forum Activity

  • I'm guessing using DOM elements as layers?

    You can do that using the Scripting Feature or addons using the Addon SDK; but the layers will be abstract to the editor, meaning you can't see changes from the editor, only during runtime.

    Yep, I can do basic UI elements with CSS etc. without having to modify the root page. That is what I had to do in C2, and apparently nothing's changed.

  • I'm afraid we still don't know what you're talking about.

    https://www.construct.net/en/forum/construct-3/general-discussion-7/c3-non-canvas-layers-127552

    Newt, the forum pro as always. And I take it the answer is still no. Sad days.

    That was Construct 2's greatest failure. No one likes having to modify the root HTML page that hosts the c2runtime.

  • Hey,

    Does Construct3 allow for non-canvas layers to be implemented?

    Thanks!

    Tagged:

  • And if it was a header problem, why doesn't it affect to the C2 logo? (For example, icon-114.png loads as expected, while any other image does not).

    ea, I agree this is the part that doesn't make sense. It shouldn't affect image files in the project directory.

    I could integrate the image(s) in a sprite, but what I really want this for is to be able to access that image(s) from HTML code, like

    <img src="image.png" ... />[/code:rw07jwg1] I am starting to consider whether this is a bug, and if it is not, this isn't documented at all! Maybe Scirra could throw a bit of light on this...
     would try hosting the image in a Apache webserver directory (htdocs on Windows) and set the httpd.conf (make sure to include the headers.so module) file to include a [code:rw07jwg1]Header set Access-Control-Allow-Origin "*"[/code:rw07jwg1] line.  You can install Apache webserver on Windows, but it takes a bit of coaxing, or if you dont mind installing PHP and MySQL, you can just use a [url=https://bitnami.com/stack/wamp/installer]WAMP stack[/url].

    I suspect the issue is in the loading mechanics, and some security mechanism that is throwing wrenches into your implementation. It feels like a server/security issue.

    You will need a web server to test your final exported C2 app anyway. :-p

  • I think this is a header problem.

    Construct is very... legal.

    If you don't include the CORS (I think it is CORS?) header then Construct will simply not load your image, assuming that you are trying to 'steal' your own image.

    In theory, loading images from the project directories should bypass this issue, but maybe not?

    Can you not integrate this image into the sprite itself? Or is it dynamic?

  • Check and make sure you can load it in a browser first. If not, get the URL correct, then try loading it in your C2 app.

  • You have to set the header in the response from the server. So your code needs to be in your server-side code... not in Construct.

    Like this:

  • Put it on a new frame in your sprite.

  • Don't use Wordpress. That is a monolithic software piece of doom.

    What you need is an Apache webserver (on your computer).

    Put your exported html/etc files into htdocs.

    Then go to http://{ip-of-your-computer-on-your-lan}/

    and it will work.

  • You have to use 3D animations turned into sprite sheets using a spriter or Spine; and careful use of layering and visibility. You are better off using Unity, etc.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's not. I emailed them asking for something similar, but the only export tool is built into C2.

gumshoe2029's avatar

gumshoe2029

Member since 4 Mar, 2014

None one is following gumshoe2029 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies