ryrydawg's Forum Posts

  • I think the main issue here would be the layout size wouldn't it?

    Lets assume you were to create a floor that would spawn to the right each time you reached a certain point, the layout width would be massive...

    I don't have enough experience with construct to know if it's possible to extend layout width with code.. is it?

    The reason I mentioned the autorunner template is because you could keep a standard layout size and just pass the stuff off the layout. then bring it back again using the bullet direction.

    This is going to bug me if not done hahah

    Cheers

  • Yea I get what you saying! What you could also do is look at the auto runner template and see the logic that was used there. Try incorporate it into what you wanting it to do.

    Cheers,

  • Here is the capx,

    Just have it spawn things every time the player get's sent back to the left of the layer

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

  • I was sitting the other day trying to do this too. What i eventually had was a sprite the width of the layout and the height of the "ground"

    Create a variable for each setting eg. 1= desert animation 2=forest animation 3= grassland

    Each time the player the goes off screen, let the system choose a random number in the variable and change the animation of the sprite.

    The capx is on my laptop, i'll upload it later for you to see.

    Cheers

  • Amazing game! You should do a tutorial on the digging mechanic. I think its the best I've seen so far from construct. Keep up the great work!

  • Hey everyone,

    I've been doing tutorials on Multiplayer games and mostly everything suggest using "http://scribblehost.ws/" for a websocket server.

    The page seems to be closed and in beta. Anyone know of any alternatives for this?

  • getting the same error here also. Happened since I converted to Windows 10. You guys on 7 or 8 and getting same problem ?

  • Hey guys, Dunno if this would be useful but it works.

    Save slots when saving a game

    I made the purple block drop and drag so you can test the save and load.

    Clicking the red block will add to the variable. I believe it is just saving the game state. Which is what a lot of people where looking for.

    Anyway, here it is

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Does Anyone Have any suggestions, tips, ot anything? All help is welcome and appreciated!

    Thanks,

    Ian

    If you upload your .capx, we would have a better idea on what it is you are trying to do.

  • When enemy's x =player.x+50

    When enemy's x =player.x-50

    --- Create bullet in direction of player

    That should do it. Just mess around with the Distance when to create a bullet

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

  • Where is the 217 update ??

  • czar

    Awesome! If you figure it out, please post it here

    Keep well

  • HI ryrydawg I am not sure I follow. The 8 direction behaviour would be a possibility for the player but I am not sure how that would solve the issue for the CPU player.

    I have uploaded the new version

    Changes :

    • Made the player and CPU player smaller to avoid the collision box catching on corners
    • Set the cpu player and human player to 8 direction so that they have a collision with solid objects property.

    Note that the size of the cpu and player sprites were changed only on the layer. Not the actual sprite. You can play around with the sizes to get the perfect fit.

    As I said before, there are probably other ways to solve your problem but the would be the quickest

    https://onedrive.live.com/redir?resid=E ... ile%2ccapx

    You could also just scrap everything I just said and simply add a solid behavior to the player and CPU player. That seems to work too but the movement looks too fake

  • Since your player has no "collision detection for solids" Giving it an 8 direction will

    Also, I would work on the detection box and maybe enlarging the size of the doorways so you have a smoother path finding animation

  • Hey man,

    An easy way to do it would be to give your player the 8 direction behavior and set rotation and standard controls to none.

    It seems to work after that.