Allardje's Recent Forum Activity

  • LittleStain

    Yep, i found that out the hard way .

    The object itself is positioned great, Also when the camera scrolls it will stay at it's position. The only thing is if i resize my browser screen it will slide left or right ( only while resizing ).

    I suck at explaining in text, let me show you the following image:

    ( Black things are screensizes )

  • Hi yall,

    After using Construct 2 for a while i get wiser every day.

    My game i am working on is full-screen and will never show borders ( i hope ).

    It re sizes as the screens are different.

    Though i am not sure if it is possible to put a object related to screen size.

    I have a action button which i would like to have on the same position on whatever screen some one uses.

    Lets say i want this button to the left bottom corner. But always at the same position lets say 16 px margin bottom and 16 px margin left.

    Currently i'm using the anchor position and this works, but once the screen is a little more wide it will shift to the right.

    The height works as i want it to work. This is also the perfect example. As you re size the screen the height of the button will always be on the same height.

    Let me know if this is possible.

    Thanks!

  • I am also pretty curious about this. Always after a intel XDK the game feels laggy. It aren't big spikes but really just a laggy feel and some slower movements etc.

    I build for Cordova and select Crosswalk for Android in intel XDK.

  • Hi!

    Just as the title mentions. I would love it to have a option where i can check if i have any unused global variables in my event sheets.

    I am that kind of "messy" person that uses global variables just to find out there is a better way afterwards.

    I know i should just remove the global variable if i remove the event using it but well long story short i'm really bad at it.

    Long story short, i would love a option to check if there are any unused global variables in my event sheets.

    Cheers!

  • rexrainbow Hey i was looking for this but trying to install your plugin i get the following error:

    I am using version 204.2

  • He means that you are currently using "Every tick" > On collision.

    What you can do is just change the "Every tick" to "Every 0.1 seconds".

    Just be sure that it fits your needs because you will have a 0.1 delay (obviously) in your check so be sure it doesn't do any harm to your gameplay.

  • Ok i just tried everything i could think of and i just can't get it to work.

    I created a capx that would do the trick as i tried to explain above.

    Could some one with knowledge of the multiplayer object look into this and take a look where i go wrong?

    Thanks in advance.

    The capx:

    https://www.dropbox.com/s/fvi5ndh3gfhks ... .capx?dl=0

    What works:

    This capx will let you connect to a other player. Once connected it creates the "avatar" object for the joined players so both players got the same object.

    The "avatar" object gets the right peerid's ( one for the host, one for the peer ).

    The problem comes into play when i try to update the "avatar" frame. This should show on both ends but it does not.

  • Nope the only way is to drag and drop em.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok so i was looking in to this a little more and i still didn't figure it out.

    I really am missing the part of updating.

    Can any one try to explain to me how data is transferred?

    For example how could i:

    Show 2 same objects for each player. This object has 2 frames.

    Each player can click on their own object to simply change frame from 1 to frame 2. If a player does this ( host or peer ) it has to update the object to to correct frame on both screens.

    If any one can help me out a little i would appreciate it very much.

    My idea would be:

    Object has 2 values, peerid and framenr ( as in my image above ).

    On touched "object" set framenr to self.framenr+1

    And this is the part i miss, how do i get the frame change aka variable change to both users?

  • I hope you will get an answer soon. I also have a issue with multiplayer but i know it's a lack of my own knowledge. I am working full-time on multiplayer functions at the moment.

    I will try to figure out your problem so i will learn myself also. Will let you know if i can get any further.

  • Hi!

    I've thrown myself into multiplayer a few days ago and i have to learn a lot.

    Though i think i know the connection basics but i have a struggle with updating the screen for both players.

    I've ended up trying to integrate the functionality from the Multiplayer 3: Pong tutorial.

    As far as i get it to work:

    Player 1 and Player 2 can connect with each other. Both getting a ID and a object will be created for the new joined player.

    Now just to learn i am trying to change the frame of the object if the player clicks it.

    Once changed the screen has to update for both players.

    Changing the frame of the object is working without any problems but i can't get the change visible at the other player.

    I wish i could get some more knowledge about actually updating the game on both ends.

    I will post some screenshots from my current page underneath here. Please any feedback and or tips are welcome.

    I highlighted my problem in red. I wish some one could enlighten me about how to process that change at the other players side. Thanks!

  • Hi,

    I got a fairly easy question here but i can not find the answer and at this point i'm afraid i am looking for with the wrong search terms.

    So i figured i could ask here.

    The question is like the title says: How do i show 1000 as 1.000, 10000 as 10.000 and so on?

    I almost feel stupid for asking this but i just can't find the right syntax.

    Thanks!

Allardje's avatar

Allardje

Member since 25 Jun, 2013

None one is following Allardje yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies