Txchaser's Forum Posts

  • OK well nothing done wrong. All of a sudden started working for some reason

  • I have had this working at one time a while back and stopped working with C2 for a while. Am now working on another project and can not seem to get this to work again for some reason.

    I am using ajax to call up a page script that calls up the currently logged in user.

    Ajax should then return the logged in user to may game text.

    The php script is working just fine when going to the page outputting the logged in user.

    My text area will not show the output of the script. I am mot running cross domain, have tried both outside of directory and within same directory.

    Here is my code:

    1) System > On start of layout > Ajax > Request"https://site.com/loggeduser.php"(tag"nick")

    2) Ajax > On "nick" competed > Text > Set text to AJAX.LastData

  • This link should help you out

    https://www.scirra.com/tutorials/1232/m ... sic-player

  • I have my project exported and saved on the web for testing ect. The capx and main project file I was working with in C2 on my computer is lost being that my hard drive crashed. Is there a way to take the exported files and have the project open back up in C2 so that I can continue to work on the project without having to start all over again?

  • OK so I may be wrong but, following the multiplayer tutorial it shouldn't be too hard I am working on the same thing its not going to be layout to layout in essence. It will basically have to be from one game to another, ( this is if you are wanting them to be connected to both the "main lobby" and the game or lobby at the same time. Basically you would name your lobby connecting to the server as one name then name your game table another name thus they would not disconnect from both or either or until disconnected from that instance.

  • I got your reply on the email and just replied to it if you would please read and reply.

  • What type of games are you interested in? This free help making games, partnership, paid help? What experience do you have, arrays, multiplayer, ect.

  • Thanks blackhornet now all i have to do is find a way for the user to delete it.

  • I am needing a way to let a user upload a file (ex. a plain text file) from their computer to the C2 game I am making and then to have it displayed to maybe a text box or such as well as have a way to delete it by the user at a later time. Is there a plug-in for this or not? I may have over looked it.

  • Ok so,

    Correct me if I am wrong on this, but, setting up a dedicated server is possible with the layout on multiplayer if you have purchased the multiplayer coding. Yes it is peer to peer and that is the reason why Scirra or C2 offers to let everyone use their servers is because of the low server usage being that it is peer to peer. It is explained how to use multiplayer on a dedicated sever and the various usages on it. As far as what website that is going to be limited to your knowledge on how to set up the multiplayer on the server itself. If you are just starting up on coding and putting games out that will all be using multiplayer then until you have the knowledge or that many games or programs that rely on multiplayer its best to use the default multiplayer connection that scirra has been generous enough to let us all use. (meaning that they are letting us all use their servers to host our games and or apps on. Peer to peer uses basically no resources mainly because the information is going from one client to another and then transferred back with no usage on the server except to transfer that information. Higher games say for example a high 3d game will use a lot more resources and will use more bandwidth on the server. For simple 2d games or chat apps there is very little load or resources being used because it is transferred person to person.

  • In reading and a lot of trial and error, I have come to the conclusion that this is not possible as of yet. I have also come up with sort of a work around for this and have posted an example in another topic having the same question as mine above.

    https://www.scirra.com/forum/viewtopic.php?f=178&t=167678&p=1010368#p1010368

  • The only way I have been able to do this so far is to open two instances of C2 at the same time then copy each group and paste the whole group (right click on the group which will copy the whole group) or have to copy then paste each separate event. The right click copy does work but the right click and paste wont for me, I have to use ctrl+v to past in.

  • Is there a way to open a layout of the same project in a new window? This will be like a registration to a game. You have the main layout of the lobby where everyone is in the room. There will be a button that can be clicked on in which clicking the button will open up a new window for a separate layout and the player can then click another button to register for that game and will be added to a list to show all registered players for that game.

    I also think that this is a good idea as far as having a live chat for the members to help each other out by use of a chat room instead of using a 3rd party app. for example using (skype, yahoo, ect.) If there are enough people interested I have already implemented a very basic chat room that I will be using for my site and games. As I said it is very basic right now as far as basic text, graphical interface, and so on. I could also implement one for the users of C2 here that are interested in this. I am slowly learning C2 and a chat was one of the things that I was in need of for my projects. As I said I have a basic chat that I set up following the multiplayer tutorial, nothing fancy as of yet, can not choose fonts, no emotions, no host options, no file transfers as of yet but can work on those things. Maybe someone with a little more experience could help me set this up as well if you want. I can set this up 3 different ways as well, to where you can register on my main site and be put into a "C2" user group and be logged into the chat, allow an open entry into chat like the C2 tutorial just type in your nick and enter, or set up basically a sub-domain and a whole new registration for only users of C2 here can get to by a link in this form thread or some other way. Give me your feedback and we can go from there to see if I work on implementing this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post