fens's Recent Forum Activity

  • 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).

    • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

fens's avatar

fens

Member since 3 Jun, 2014

None one is following fens yet!

Trophy Case

  • 10-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies