Sumyjkl's Recent Forum Activity

  • Usually you need to port-forward to host on a PC, but I'm not sure how that applies to C2. If you can find the ports required (probably in the MP tutorial by Ashley) you can sign on to your router and allow that port. Otherwise you're IP is basically not going to work. I don't really know much about the multiplayer in Construct, but I'm pretty sure that applies to anything. It would explain why it only worked on LAN and Hamachi too.

    I would suggest looking up how to port forward for your specific router. That could be far more specific and helpful than I.

  • If all else fails a workaround could be to store your initial X Y coordinates, and move at random angle a random distance every frame that it makes a particle. Then again, there might be a less finicky and more optimized way to achieve the same effect.

    [attachment=0:1b8fks8i][/attachment:1b8fks8i]

  • As for the first problem, if you aren't using a server, make sure you're portforwarded and everything; that is likely to be the problem if you haven't.

    The lag is probably (I'm basing this entirely on logic because I have little hands-on experience with netcode) caused by setting the peer position based on the "send input to server and retrieve" way of doing multiplayer. Best to avoid that as much as possible and just say to move to where the player now is, or move the peer to where the server thinks it is only sometimes.

    Not sure how much sense that made. Maybe someone else can clear it up.

  • Sumyjkl

    Great work... but kind of useless

    Well actually, I would say that it is more useful than it is great work. It is a feature not something I have invented. There are serious applications for it, but they are indeed very limited.

  • Note: It's uploaded on the arcade also.

    So today I got an idea when messing around with the shadow casters and shadow lights. The shadows created are actually three dimensional (height parameter) and so you can 'project' a shadow as a building for example. Now sure how this could be used other than in a building though, as that is one of the very few things that don't have overhangs, and curves. But nonetheless it's possible, so yeah. Here's how to do it.

    [attachment=0:3g4x9rbi][/attachment:3g4x9rbi]

    You'll need to click the image to see the whole thing, it gets cropped on the forum.

    [attachment=1:3g4x9rbi][/attachment:3g4x9rbi]

    The makeup of my capx is the following:

     ・A layer with the shadow light and casters on it (lights above casters)

       ・In this layer, the light has the set color effect, so it isn't just black, but can be actually changed.

          ・The height of the light in my case is 300 and buildings range from 20 to 100, but with higher values of this and the casters' height I think can reduce the fish-eye effect.

    Under this I have a generic one color background. Simple as that really.

    The following is then a list of limitations:

    ・Is only top-down

    ・All 3d objects are the same color and have no shaders or anything of the sort really

    ・Anything with graphics of any kind cannot work because of the above

    ・AI line of sight wouldn't really work

    ・Basically anything else you can think of.

    However, there's one last cool thing, you can actually decrease the angle by moving the light at an angle from the scroll coordinates, meaning it's less topdown and more thirdperson.

  • Make it global. It's in the properties tab on the object. You'll need to set it invisible if you at some stage don't want it though.

  • For some reason it was to do with the "set angle of motion" action. I used "set angle" (in the angle subsection of the object) and it worked perfectly.

    [attachment=0:5n94es8c][/attachment:5n94es8c]

  • Não consigo Publicar um game na Scirra Arcade.

    [ "I can't post a game in the Scirra Arcade" ]

    English: Have you exported with the "Scirra Arcade" mode? Check the requirements on the upload page. I don't really know what kind of problem you are having.

    Portuguese: Você já exportado com o modo "Scirra Arcade"? Verifique os requisitos na página de upload. Eu realmente não sei que tipo de problema que você está tendo.

  • if x or y < certain position

    Move 1 pixels at angle 90

    Just have it in the condition, then when it is past that point the condition will bu unfulfilled and thus it will stop moving.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for the info. I was wondering what was going on...

  • You would most likely use it the other way, like critchance > random(100)

    So in this case you would compare your system variable with > value of random(100).

  • Not a whole lot of information to go on here, but maybe this will help you more generally: https://www.scirra.com/tutorials/search?q=pause%20menu

Sumyjkl's avatar

Sumyjkl

Member since 16 Mar, 2014

None one is following Sumyjkl yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies