Sami424's Recent Forum Activity

  • Construct 3 - Multiplayer P2P

    Hello, not being familiar with the multiplayer plugin, I wondered if it was possible to synchronize peers only when the host decides.

    I thought about connecting each peer individually with the host but apparently that's not possible without leaving the current room.

    I would really appreciate using the functions provided with the plugin such as sync obj, predicate input, etc... rather than sending a "Message" which would be poorly optimized for position, variable...

    Why not sync them all the time?

    Because it will allow both to optimize sending on demand and to add protection against cheating such as wallhack.

    Are you using the official multiplayer plugin?

    I think you can achieve what you are looking for with Photon or Playfab, it is better for a real multiplayer game. You can get Photon plugin for c3 free, Playfab is free if you add it yourself using javascript, or you can get Chadoris PlayFab Plugin.

    Both of the above is FREE up to about 100 users.

  • You do not have permission to view this post

  • Tilemaps will give you times more performance in your case. Optimzinig the rendering of repeated patterns is their exact purpose

    Thank you ! I decided to use tilemaps.

  • Use tiles if:

    Your maps have a lot of repeating patterns.

    Don't use them if:

    Your maps consist of large unique images.

    Mostly the same patterns, a few objects here and there like "houses", its a top down shooter game, so the floor tiles are exactly the same only different shapes.

    but this game is built for MOBILE, so that's why I am curious on performance with tilemaps.

  • O i got a full tileset i want to use, aswell as seperate pngs.

    Its not pixel game, now for my level making, should i use Sprite, tilemap or? Tips? All The graphics are ready its just im getting issues finding The correct sizes to use to be able to paint tiles properly using tilemap.

  • You do not have permission to view this post

  • This won't work when daylight saving timezone changes - in that case adding 24hrs can either stay on the same day, or be two days ahead.

    Date calculations are much more complicated than they first seem.

    Hmm, if I have a variable for each date type, such as DAY,MONTH,YEAR etc.

    And I use "Date.Get(year,month,day,hour,minutes,seconds,milliseconds)", then I would get the current date in milliseconds. So if i use this date that i got in MS, can i then check if for example a day has passed, using milliseconds?

  • oh thanks

    Did it work? I always thought we had to convert the date to mseconds first using variables.

  • Thanks for your response, but no I did that. I also tried going to each frame individually and positioning the image point.

    Your image point on the SPAWNED sprite defines where its spawned on that imagepoint thats creating that sprite.

    So check if the object you are SPAWNING the sprite, has an image point(0) in a bad placement, usually its center by default.

  • I'm trying to make a text box but I don't know how to pin it to the bottom of the viewport.

    Why do you want to pin to bottom of viewport?

    Anyways, this can be done by creating a new layer called "txt"(for example), set the "txt" layer parallax property to 0,0(default is 100,100).

    Setting parallax to 0,0 means this layer does not move away from the viewport, so anything that is on the bottom of viewport ON that layer, will not move away. This is so we can create for example "HUD" for our games.

    If you CREATE viewport on that layer using event sheet, and place it on bottom of the viewport then it will be like its pinned anyways, so you dont need PIN, just set layer parallax to 0,0

  • > > > There is a run in background plugin you can use.

    > >

    > >

    > > Can you write more details? I don't know what you're talking about.

    >

    >

    > construct.net/en/make-games/addons/462/run-background/ace

    >

    >

    > Dont know if it will work in ur case tho.

    The server returned an HTTP 404 error. That requested URL could not be found.

    C3 Website is weird today or its my work net, im sorry link is construct.net/en/make-games/addons/462/run-background

  • You can either use Facebooks Api and features to create a highscores on fb, if you want to post score to their Facebook feed use the native Facebook plugin and do "post to Wall", both require you to create a app id on Facebooks dev console, from there its Easy.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Sami424's avatar

Sami424

Member since 9 Jul, 2018

Twitter
Sami424 has 5 followers

Trophy Case

  • 6-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies