oosyrag's Forum Posts

  • Sorry I was unable to determine exactly what is wrong in your particular project as it was heavy for me to figure out, but I think I have an idea what you are looking for...

    I've made a small example that will pick an object when is within a certain range of another, with sub events that differentiate which side it is on.

    You can add trigger once while true if you want the event to run just one time when the two objects come in range.

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

    Hope this helps!

  • Have you gone through the multiplayer tutorials? It is worth spending some time to familiarize yourself with it to have a basis to know what sort of work you will need to put in.

    The multiplayer plugin may seem intimidating at first, but it is actually rather well done and very clean to use provided you actually go through the tutorials and understand what each event is for.

    This will help you judge if you want to proceed with a multiplayer game, and it will let you design with multiplayer architecture in mind.

    On the other hand, I always like to prototype my base game first to make sure it's something I want to keep working on. Even if you had to redo some of the events later for multiplayer, it will be much easier the second time around, and you'll be sure your base game works as intended first. It is much easier to diagnose bugs and problems if you focus on one thing at a time!

  • I think on peer connected, as the peer, will not trigger. It seems like on peer connected is for the host to know when a peer connects. For the peer, I think you want to use On Joined Room.

  • Link to it in a new tab

  • I just had a thought that technically you could have one single host that all peers connect to, and use a custom pseudo-room system to divide up the peers within the same game room instance yourself. But then you would not be able to use the host sync action, and would have to create a custom client update messaging system as well. This is probably not a good idea.

  • I won't be able to diagnose much further without seeing the debug.

    Can you check if the host is receiving the message and setting the variable on the host to the correct value? Also confirm that the host is able to spawn a character on its own properly based on a static variable.

  • The host should take care of the syncing. Basically the player will send a message to the host with data regarding the input (placing which block where) and the host will change the tilemap based on that input. The host will then sync the tilemap object to all the peers.

  • So basically, you want to have a single object have physics disabled for some instances of the same object, but not others.

    I think you'll either need custom physics events or sperate objects for each chain of lines.

    How many chains do you need at any given time?

  • Would it be a difficult undertaking/bad idea to allow dropbox/scirra links specifically to be posted by new forum members? Seems like it could be a good idea.

  • https://www.scirra.com/tutorials/73/sup ... reen-sizes

    [quote:28hrw2zt]It's much better to pick an aspect ratio, then scale the game to fit that.

  • Do you need hundreds of hosted game instances? A hundred tabs is one way. A hundred virtual servers is another. Or physical ones. Up to you. I think when you get to the scale of hosting thousands of players you might have another back end solution lined up that doesn't rely on the multiplayer plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The quick answer is to not actually use the tilemap for collision. Place invisible sprites over your tilemap and set as solid to create collision boxes. I believe this is a pretty common practice.

    Edit: It looks like you can also edit the collision map for each individual tile in the tilemap editor: https://www.scirra.com/manual/172/tilemap

    [quote:1qnfcefe] A custom collision polygon can be set for individual tiles by clicking the Edit tile collision polygon button in the Tilemap bar, or just double-clicking the tile in the Tilemap bar.

  • If you are using the layout editor to place your instances, I think you will have to set them manually. Set them as you go, you'll have to go through each object to place them eventually anyway.

    In the event that you really do have 1000 objects to place with unique instance variables, it is probably a good idea to set up a system with events to create them dynamically.

    You can use placeholder objects and replace them on layout start and set all the properties of the object and its variables.

    Or you could use a simple array to store the data - each object would get an x, y, angle, size, instance variable ect, then loop through the array to create all your objects.

  • Construct does not support transformations like that natively. I highly recommend Spriter for your animating needs.

  • Legally the character is copyrighted, meaning the owner has every right to sue you, and win without much contest, if they so desired.

    In practice, Capcom is very friendly to fan art. Nintendo not so much. Either way it becomes a lot more dangerous when you start making money/selling other people's ideas and work. That said, the chances of you selling a game with copyrighted materials and making enough money to be noticed and sued are rather low. But if it does happen you will get wrecked for life, so most people probably would not want to risk it.