Pandy's Forum Posts

  • Hello all,

    I have quick doubt about multiplayer.

    If say I had a multiplayer game which has around 10 peers including host. If the host disconnects for whatever reason, will the multiplayer session be lost for the rest of the peers?

  • Knifegrinder ludei

    Yeah, it was. Kinda played around all the answers and got it to work. Now I have a problem where the game doesn't go back to the layout once you log in. It gets stuck on a blank white screen.

    Thanks for the reply anyways.

  • ludei

    Hello all,

    I am trying to get a Facebook object working for my cocoonJs project.

    I know I can use the social feature in cocoonJs, BUT i want my project to run in Webview+ (not Canvas+. Multiplayer, which I need, only works in Webview+), and the cocoonJs social feature does not work in Webview+.

    So I tried using the default Facebook Object that comes with Construct2, and the object does seem to work in Webview+, but I get the below error

    "Given URL is not allowed by the application configuration. One or more of the given URLs is not allowed in the app settings. It must match the website URL or Canvas url or the domain must be a subdomain of one of the app's domains"

    Can anyone explain this?. Is there a fix?

    I'll check the app's setting at the FB developer page, but I'd appreciate some guidance.

    Thanks

  • Sorry for being kinda Off Topic, but can anyone link me to any tutorial that shows how to setup admob for cocoonjs, and also to setup all the necessary things for IAP in cocoonjs to work.Searching didn't help. And I can't really understand the social feature. Is it for FB? If so how to get it to work?. Thanks in advance

  • Hey all,

    Is it possible to give the spritefonts object animation frames?.

    I was thinking of creating one where 1 frame had one font and the other frame had a different styled font, but then saw that it does not have the animation frame option.

  • Hello,

    I had made a simple shooter game. In the game when a player shoots a target .it's destroyed and new target spawns elsewhere, but for performance sake i just change the x,y of the target instead of actually creating and destroying it.

    So i made a multiplayer version , and I could do it with the help of the tutorials..

    But I'm having a problem on the Peer's side, where the target, when is shot and position is to be changed, instead of it just changing position instantly, it is shown to move from original position to the new position.

    I suspect it's cause I had synced its position in the multiplayer object and the multiplayer object is always trying to predict it's position, hence showing it moving to it's new position.

    So what i did was, Instead of syncing position, I synced variables which will hold the position of the target, and on the Peer side I just give it a command to set it's position to this variables instead.

    Is this method ok?, or is there another workaround?

    And one more doubt.

    I make the host send a blank message with a tag to the peer, everytime the target is hit, so the peer will set the target's position only when it receives the message, instead of every tick.

    Is this method acceptable/reliable?

    Thanks

  • Hey all

    I have a doubt on the stop loop action. When called does it stop every loop that's running regardless of where it is. Say i had the stop loop as a sub event of a running loop. When called will it stop every loop in the event sheet?.

    Thanks

  • Ashley

    Thanks for the reply. This tutorial ( https://www.scirra.com/tutorials/932/mu ... nce?page=1 ) is what got me thinking about SD vs HD.

  • Aphrodite Lazarus1988

    Thanks

    So if i want a 360p Project. I change the window size to (360,640), and then change all my asset's sizes as well (half the size of the 720p Project) ,and then change all their respective X,Y coordinates according to the new window ,and then set "Fullscreen Scaling" to low quality (otherwise C2 upscales all the assets). Correct?

  • Hey all,

    Can a 360p project be done. I'm asking cause i have a 720p Portrait project at the moment. I was wondering if there is any benefit performance wise from running a lower definition project.

    Also i tried to remake the project in 4:3 SD. But it does not seem to fit perfectly on mobile devices. Do only 16:9 Projects fit perfectly on mobile devices?.

    Thanks.

  • Thanks. Do you think games like candycrush run on HD.

    I've had a project on HD for a while, but the performance has been wonky, and the debug shows that the drawcells takes up a good chunk of cpu. So, downscaling to SD would help in that, right?.

  • Hey guys,

    Have a noobish question . Is there any performance limitations in making a 720p or 1080p HD project over a SD project. Draw cells, cpu, are these affected by what resolution the project is?. If i made a game in SD, would it run faster than it's HD counterpart?.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • rekjl codah

    Will it have an improvement in performance of the built app?.

    Thanks for replying.

  • I had downloaded it around 5 months ago but only recently started using crosswalk. I was wondering if it's necessary since it's all done in the cloud.

  • My functions have to pick an object, so i guess it exits once it can't find any object under the picking conditions. I'm guessing recursive functions are still cpu heavy if you have a lot of objects that take part in the loop.