fens's Forum Posts

  • Remote preview doesn't provide me with construct 3 debugger. How can I debug multiplayer?

  • You do not have permission to view this post

  • Photon can send arbitrary js data (basic types, objects and arrays) but Construct2 does not support anything aside strings and numbers as far as I know.

    So we could send single number payload w/o conversion to string but this will make api more complicated while benefit is questionable.

    Can I decrease data size if I use my own token split symbol (like "|") for data parameters?

    JSON uses a lot of extra symbols "{", "}", ";" for 1 dimension data.

    Oh, and it's very sad to send float like 2.7182928, because it's string.

  • As far as I understand raise event data is always STRING.

    Is it possible to optimize event data with ints and bools?

  • Hi!

    I don't know if this question was asked, but I haven't found any answers.

    Basic C2 multiplayer have very useful feature - object position sync. As far as I know photon doesn't provide similar feature. My own solutions - sending coordinates every second works bad and needs a lot of traffic.

    Could you help me to find proper solution to object position sync problem without learning true server-client communication manuals?

  • I pasted sprite object into canvas (used canvas functions).

    Than I was trying to get rgba code of any pixel of that sprite. Canvas couldn't find pixels belonging to sprite. Is there way to get rgba of pasted object?

  • Yeah, this is I've been looking for )

    But it's same like: "I solved this problem with "for each every tick" method, but it takes a lot of cpu work."

    Guys, I don't catch how I should work with families. I didn't found any actions with inheritance (only clone).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
    • I want use the same sprite for all units.
    • Unit has team, which i can change during game proccess.

    Is it unsolvable problem?

  • For example:

    • I want use the same sprite for all units.
    • Unit has team.
    • Turret shouldn't target unit with same team value.

    Turret behavior doesn't work in this way (link to capx)

    drive.google.com/file/d/0B55PnHLHjkIGQ3lHRVRMNUsxUEU/view

    tarek2

    Thank you, I never thought in this way, but it doesn't work if I have the same sprite for player and targets.

  • Guys, help is need so much.

    I need to check for targets to attack it, but basic turret behavior doesn't suit for me (it's impossible to manage targets with complex conditions).

    I solved this problem with "for each every tick" method, but it takes a lot of cpu work.

    Are there up-to-dated addons (or solutions) with turret behavior but more advanced and optimized?

  • Thanks a lot!

    Now it makes sense )

  • All unit's in file has similar turret behavior. Why top unit's shoot and bottom don't?

    Cap file:

    drive.google.com/file/d/0B55PnHLHjkIGQ3lHRVRMNUsxUEU

  • For now a days it's common practic "Code free". It gives users free opportunities to do code and pay only for compile and export services. It helps test all features and reallize you really need this tool.

    Guys I wish you best so I really want to share my vision (based on other game engine expirience). Is it possible to change monetize politics to force users pay only for last step of game making?

  • DaniellMesquito I'll see it easy at night, I have several things to do now.

    fens sorry friend, I forgot to remove the debug before uploading.

    https://dl.dropbox.com/s/4qbv3j8ocke6bu5/%5BPLUGIN%5D%20HTML%20%26%20iFrame.zip:26e2nzsm]Plugin - [url=https://dl.dropbox.com/s/ev79vi9pw30zhxh/%5BPLUGIN%5D%20HTML%20%26%20iFrame%20%28compatible%29.zip For compatibility error with old projects Now, works perfect

  • I still cann't get how can I execute function inside of js file and get return value.

    I added jsfile to HTML object. On C2 function I receive value and put it into text. But when I try execute I get "Inst19" all the time.