Virpoja's Recent Forum Activity

  • Ok, maybe I was exaggerating a bit when I said that I don`t know anything about servers... I do know what they are, but I am not aware how to configurate them and which hosting service provider would be suitable for my needs.

    Many service providers have ton of different options and it is really hard to grasp what do i need...

    So basicly my needs are:

    • to be able to open browser tabs on the server
    • to have enough bandwidth to be able to host simple action game for about 40 simultanious players (players would be divided in 8 rooms.
    • bandwidth requirement would be around 20 bytes / peer
  • Hello!

    I`ve been toying with multiplayer games lately. I`ve made a small multiplayer action platformer using peer to peer techinique. You can check the game out in Scirra Arcade: https://www.scirra.com/arcade/multiplay ... 6-v10-5795

    Next i`d like to try programming multiplayer game that uses Client - host infrastructure. I am going to try method that Ashley is talking in this thread: multiplayer-discussion-dedicated-server-peer-and-client_t122599

    I do grasp the principals of peer / host programming in the way Ashley is referring on the thread, but....

    Problem is that I don`t know anything about servers... I`ve been searching for days and I still have no clue how to:

    • open browser tabs on server etc. (i know that I could do this on my own PC, but I am looking towards Web hosting)

    SO.... how is opening browser tabs on a server done? Would I need a hosted virtual machine for that or is there another way? Does any one know a good tutorial on setting up servers this way?

  • Got it!

    Thanks Ramones your code works perfectly. Problem was my collision system which was flawed. Again thank you for your help Ramones!

  • I tested this out. It works but collisions to other players seems to be buggy. I am guessing its because multiplayer object only updates every other tick and that doesen`t work well with this kind of raycasting. I`ll keep on testing and try to make improvements.

    So.... I am still looking for an answer to original question: "Is there a way to pick specific instance of multiple simultaneous overlaps?"

    Also thank you Ramones, even if I can`t get this to work I learned something new from you.

  • Thanks Ramones, looks very promising!

    I`ll have to test this in my full project. I think this is going to work well in that too. I am bit worried it makes controls feel bit laggish since I am implementing this in multiplayer environment. On the other hand target should always be between player and wall so it might not be a problem.

    I`ll run some tests

  • Hello again!

    Once again I find my self in need of help from the ever awesome Scirra community.

    Here`s my problem:

    I need to find a way to pick a specific instance of an sprite from several overlaps. I am trying to create a "laser" which would always set its width according to nearest wall in Shooting direction. (so not just nearest to the player for instance, but the wall that would be hit first so to speak.)

    Problem is that all the instances are hit simultanously so i can`t exactly pick the one which was hit first. I`ll attach sample Capx, that should clarify what I am trying to achieve.

    As always, any help is welcome and thanks in advance!

    here`s Capx: https://www.dropbox.com/s/61a8isd1rg735 ... .capx?dl=0

  • Thanks for getting back to me lennaert.

    I got this to work, with a little workaround.

    I created separate sprite as a target for the turret. Then attached target sprite to only those peers that are not the player.

    Works like a charm, but since there is now second object that moves 1 tick or in multiplayer environment 2 ticks after the peer, the latency might be an issue.

    I`ll have to test this more and maybe try to find some improvements.

    Thanks anyway, and here`s Capx to show my progress. https://www.dropbox.com/s/kxus09e8sqs2f ... .capx?dl=0

  • UPDATE!

    I`ve figured out some bits of this. I got "AutoAim" to work from host side on prototype level.

    I used: set lookx to Peer(Peer.peerid<>Multiplayer.MyID).X

    to pick enemy player and to set player Aim Position.

    Now i need to figure out how to do this on the peer side.

    Again, any help is welcome.

    Also here`s Capx

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

  • HI!

    I am trying to tackle a simple multiplayer action game (and I know it`s nowhere near of simple to implement).

    Anyways, wanted to ask if there`s anyway to use turret behavior to "target" another player?

    I mean like attaching turret to player (peer) and to add target enemy player (peer).

    I am using the real time multiplayer example to test this out, so i do not have CAPX that would clarify this more.

    Also if turret behavior cannot pick specific peer (which I suspect is the case), is there a way to pick different Peers "manually"? For example use lookX lookY variables to aim at the location of another peer. I have experimented with this but I am having really hard time picking specific peers..

    Anyway, I hope some1 can point me to right direction.

  • clockworkmonster

    Hi, you can use Admob plugin and then export via Cordova. Then use Intel Xdk to compile APK (via Crosswalk)

    That way you have APK file with ads that you can publish in several stores without need to export again.

    There are number of tutorials about this on Scirra forums.

  • Hi guys, I have to say this Challenge was just what i needed to push trough and finish couple of my android projects. And also to learn to use ADMOB & Crosswalk in the process.

    Once again thanks alot to Scirra team & awesome community on these forums!

    here are my games:

    http://www.amazon.com/Vitsa-Seagull-Hap ... ll+happens

    http://www.amazon.com/Vitsa-Croak-For-I ... oak+for+it

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • blackhornet, You Sir are Awesome!!

    Thanks a lot, now it`s working like a charm

    Thanks to everyone else too, once again Scirra community pulls through

Virpoja's avatar

Virpoja

Member since 1 Jan, 2013

Twitter
Virpoja has 131 followers

Connect with Virpoja

Trophy Case

  • 11-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • x2
    Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies