RafaelMatos's Forum Posts

  • Magistross The problem is that I have no knowledge at this.

    What I need to do is: everyday I'll update a repository in this server with text and images. I thought about allowing the access to this entire repository because I'm making an app(NW.JS) that will be running in another domain and will get these texts and images.

    Is it simple to do? Could you make an example for me or link some documentation so I could try to do it? ^^

  • oosyrag So if I have the access can I Just do:

    <?php

    header('Access-Control-Allow-Origin: *');

    'Whatever text I want goes here'

    And so using the php file as a normal text file. Would work?

  • Hi guys. I was reading the manual about AJAX and I didn't get how exactly I should allow cross-domain access so I can load text and image files from my server.

    This "Access-Control-Allow-Origin: *" is used on the server?

    [quote:wpc36sms]

    Making AJAX requests cross-domain or in preview

    By default, browsers block AJAX requests across domains. This means, for example, a game on scirra.com can request other pages on scirra.com, but cannot request pages on facebook.com. This is an important security feature of web browsers (it is not specific to Construct 2 or its AJAX object).

    Also, when previewing in Construct 2 the game runs on localhost. This counts as a different domain to the rest of the internet, so typically AJAX requests to any web page will fail during preview, unless the server explicitly allows cross-domain requests.

    If you want AJAX requests to your server to work from any domain, or in preview, you can configure it to send the following HTTP header:

    Access-Control-Allow-Origin: *

    This will enable AJAX requests from any domain, but you should still be aware of the possible security implications of this. For more information on cross-domain requests see HTTP access control on MDN.

    Could someone help me?

    Thanks.

  • It's working now.

    Thank you, korbaach

  • Anyone?

    Can AJAX load a video file from a folder while this file is not at the project?

  • It's not working because you are mentioning the same object twice. Construct won't know which instance to pick. A workaround is to create two families with the same object and then, on creation, put their UIDs in a family's instance variable(let's say ObjUID). Now you just need to verify if family1 is overlapping family2 and check if family1.ObjUID is different from family2.ObjUID. If its different then you know that you are dealing with two different instances of the same object.

    > Where do you see Construct 3 in terms of mobile and console performance, say, at the end of 2017?

    >

    I think it's already very good. Only problem is having to use Crosswalk for Android 4.x, but that is fading away over time (and Crosswalk is already deprecated). Throughout 2017 it will only get better. Being able to forget about Crosswalk and only target Android 5.0+ will be nice.

    Ashley, will publishing to xbox one be a real thing still this year? Steam plugin still works or do we need to use third-party plugins? The only down side of construct is the lack of publishing support, with this problem solved construct would explode with awesome showcases. The support for mobile is already solved I guess with the new features, but what about PC and consoles?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The request is being triggered but the video doesn't play. Am I missing something? I'm not familiar with ajax and video plugin so I probably am.

  • I'm making a program that plays some videos and show some overlay infos. Right now I'm trying to load this video files from the same folder where my app is. Also I can't just import these files to the project because these videos will change frequently so I don't need to rebuild the app over and over.

    So basically I need to load whatever videos I have in this folder and play them.

    Thanks.

  • Off and on I've been trying to get myself to "like" Unity but each time....ugh......also recenlty trying out GMS2 and that has potential. But basically, nothing beats the simplicity and ease of C2 so far. Haven't tried the Fusion stuff yet though.

    Simplicity and ease is not enough to make a game. Plus comparing Gamemaker/fusion/C2 to Unity is just non sense.

  • , you shouldnt abandon that project. It was pretty cool but its normal to have not many feedbacks. Hope to hear from your project soon!

    Thank you ^^

    I plan to make a 3d isometric version of this project. Although It will take a while since I just started with unity recently.

  • I sort of gave up of that project because of two things: the problems that we and others already stated here over and over and because I had no feedbacks which let me down, honestly. Now that I'm studying Unity I think It's going to be hard to get back to it since I now have a lot more possibilities to work with.

  • When users with promising projects begin to dislike the direction of the engine, I think it should be taken into account.

    In my years of experience in game companies changes were made to make the community happy, after all, companies wouldn't survive without a user base.

    In this case, I was quite optimistic using C2 and quite happy with Scirra work, but their lack of response to my comments made me believe that they simply dont care about their user base.

    During GDC Unity announced Unity 2017 and promised features for Artists and Designers which leads me to go into that direction if changes arent made sadly. It represents a lot of work in the current state but business are business.

    Hi Fraktal

    I don't know if It's ethical to say it here but the C3's dissapointment was enough to start learning Unity and I have to say that I'm amazed with this engine already. It's way more complex but It's not super hard. With enough will and patient I can learn it. Also It can natively export to any platform you can imagine and It's free until you generate $100k per year.

    Seriously, based on all of this the only reason someone wouldn't make the transition to unity is the lack of will to learn c# and Unity and they do an amazing job in this subject by teaching us through great official tutorials for complete beginners.

    If you want a partner to discuss it and help each other feel free to send me a PM.

  • Wall text - First Post.

    That's the feeling of everyone.

    Well, as a game engine C2/C3 is a great editor... and that's it.

  • I've said it before to Tom and I'll it say again. This marketing choice of slowly releasing everything until the beta is really a bad decision. At least pointless. They have to understand that this is not a game and no one here needs to be hyped to stick with the engine. If it's good It will be successful. Plus dedicating an entire blog post to small features is frustating at least.

    In my opinion they should release all info at once and use the time until the beta to start listening people's feedback. Most of us love C2 and Scirra's team because they allowed people from other occupations to make games. However no matter how great something is, eventually people lose interest.