Potato23's Forum Posts

  • In my game I have a ship in the sky with 8 direction movement. I changed it to 4 direction movement and no angles are being changed. Because he has animations for Up, Down, Left, Right. Sort of like a RPG character, but with a flying boat. Now I want the ship to shoot, except there is one problem. If am MOVING up, and I press D to shoot out the right side of my ship it will move right because that's what the bullet behavior does. But if i'm moving the ship right, it will shoot out of the front instead, I tried many ways to fix this, such as rotating or adding degrees and they work, but if i shoot one cannon ball, it will go the right way, if i shoot again it will go the right way as well but the previous ball redirect back to the angle again. To make matters worse i'm trying to shoot out the LEFT & RIGHT side of my ship, which makes things harder for me. I'm not good at explaining problems... Can anyone help?

  • Let's say your object that your spawning is named, "Enemy". And your trying to spawn him every 5 seconds. I know that's not what your doing, but you didn't provide enough details.

    So try putting this Event,

    Every 5 seconds > System create object, Enemy.

    Put what layer you want the Enemy on.

    For the coordinates of spawning use, X:random(width of your layout)

    Y:random(height of your layout)

    So Every 5 Seconds a "Enemy" spawns at a random spot anywhere on the layout.

    -But your question is what if he spawns in a block or somewhere he can't move?

    To solve that, use this.

    Enemy is overlapping Platform>Destroy Enemy

    >Create Object "Enemy" on layer 0 (random(width of your layout)) (random(height of your layout))

    Basically when he's created and he is somewhere he is not supposed to be, he will be destroyed and placed in a new spot, if this keeps happening he will keep spawning until there is somewhere "spawn able."

    This is a bad example but it can be worked with, if it is not fitting your game tweak it the way you want it or just not use it.

  • Never would of thought of that! Thx What behavior did you use for movement?

  • Try using the Event "For Each" in system and select the object Snake. So when your Events are triggered it changes the animation "For Each" separate snake.

    My question, for your ship game, what behavior did you use for enemy ships? And how did you make them shoot at you?

  • Some networks block peer-to-peer connections due to NAT. See this guide for more detail: https://www.scirra.com/tutorials/892/multiplayer-tutorial-1-concepts

    Thx Ashley, that explains my problem!

  • Every time I play a multiplayer game, how come I can never connect with other people?

  • I accepted it now what?

  • > Sure, that would help.

    >

    ok I need your newgrounds account name to invite you

    PotatoSki11z My account name.

  • Newgrounds Account?

  • Sure, that would help.

    OMG I have the Best Idea ever! Can someone give me the money for a personal license! It's even on my wish list!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Every time I play a Online Multiplayer in the Arcade it never works, why?

  • Looks fun!

  • Do you have some made games already?

  • >

    > > Cool game music is nice but the game dint save my time in the score board.

    > > I think the game can be too hard for a lot of people

    > >

    > To save your score board time, you have to pass 5 seconds, and a Construct 2 Logo will pop up, and click to submit you score. If it wasn't this way, everyone who played would make the leader board, that's a lot of people. Im know it is very challenging, I'm deciding how to make it easier. Thx for the feedback!

    >

    Ah is see. I didn't know what that logo was. But it is working now, i'm in the ranks.

    Also the background music isnt repeating.

    Im trying to add some more music.