alan349's Forum Posts

  • Hello guys, today i'm here to ask you feedback of my new spawn method that i'm using in my RPG Heaven's Fate.

    Thanks to Sisyphus, who helped me to implement this method, now i'll focus in adding some Interfaces, reactive the options, and the most inportant that can't be missing, the Heaven!

    Here's the link: https://www.scirra.com/arcade/addicting-action-games/17390/heavens-fate-v075-new-spawn-method

    Please comment it and give feedback

  • Here the capx example, it work's the way you describing it.

    Man! I discovered what I was doing wrong! First I was using X=player.X+ViewportLeft, making the enemies spawn on screen AND in the Right side, after I changed it to X=player.X-ViewportLeft, making the enemies spawn in the left side BUT alot far in the Layout...

    The thing is, I just need to use X=ViewportLeft, I don't need to use the player.X, that's why it was spawn far in the Layout But now I got it fixed, Thanks man, U helped me to see that mistake!

  • Hmm, If I understand it correctly you need to spawn them just outside the window, doesn't spawning them at let's say Player.X + windowWidth solve the problem? How exactly do you want them to spawn?

    Yes, and I used to use this method, but I discovered that if I resize the browser window, changing the windowWidth, it begins to spawn incorrectly, since it begin smaller/bigger, the point is changed, understood?

  • Here the capx example, it work's the way you describing it.

    Mmm, in your example it seems to work correctly.. Strange.. I'll give it another try and check if it works now

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you want to spawn them on specific places over the layout? or just wherever but outside windows size?

    Left and Right outsides of the screen

  • >

    > > I don't know if it works, can't try it right now, but try System>Create Object on WindowLeft(or top, bottom, right).X-100, WindowLeft.Y

    > >

    >

    > Thanks for the idea, but this WindowLeft command doesn't exist...

    >

    I don't remember the command, i don't have c2 right now, maybe it calls ViewportLeft, Right, Top, Bottom.

    I've already tried viewpoRight and Left, but the Left one don't seem to work correctly, spawning the enemies at a fixed point only...

  • You can also use LayoutWidth / LayoutHeight, as you know how big your layout is

    Man, i'm developing a Platformer RPG, so the layout width is alot bigger than the window size...

  • I don't know if it works, can't try it right now, but try System>Create Object on WindowLeft(or top, bottom, right).X-100, WindowLeft.Y

    Thanks for the idea, but this WindowLeft command doesn't exist...

  • Anyone can help me?

  • I would like to know how to spawn an enemy out of the player view (out of the game screen) regardless of resolution/window size.

    Since i'm developing my game for mobile devices, I would to like to make the enemies spawn correctly in any device.

    Any tips?

    Could you please check the plays count or remove this games to allow me to reupload it to make it work:

    https://www.scirra.com/arcade/addicting ... ven-rework

    https://www.scirra.com/arcade/addicting ... en-demo-20

    The plays counter got stucked after I upload a new version of them..

  • , thanks for report this bug, but the problem is that I already knew about them

    The first one was my mistake, since I forgot to put the portal (I will explain it below), this way the player will not get to this area and fall down.

    The second one was "intentional", I disabled the other skills since it wasn't needed for the reason I published it, that is only get ideas and suggestions about the spawn method, like yours.

    OK, let explain the portal thing: Have you ever played the game I mentioned before? If so, u'll know what i'm planning to do.. The thing is, in the end of the "level" there will be a locked portal, that will be only unlocked by killing the monsters till one of them "drop" the "item" needed to unlock it. I did it because my old version (link:http://www.newgrounds.com/portal/view/636410?id=636410) was so much "linear", the player couldn't walk freely in the scene, having to kill each monster after monster, making the game boring and tiring

  • Guys I'm here to divulgate and ask help for you.

    Now I'm developing a rework of my old project, Take to Heaven, focusing in mobile devices.

    Here is the link: http://www.scirra.com/arcade/addicting-action-games/17303/heavens-fate-v05-take-to-heaven-rework

    But the problem is, I need your help with the spawn method, as you can see in-game, it is a "bit" insane (that's why i disabled HP). I would like to know your suggestions about a better way to spawn the enemies, for example, if you have already played Colosseum Heroes at your Android Device, I would like a spawn method like this ok?

  • Title says everything, please answer me