View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0009970 | Shattered Haven | Gameplay Idea | Dec 1, 2012 6:58 pm | Jan 12, 2013 8:29 pm | |
Reporter | GameMaker24 | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Summary | 0009970: The risk of adding FG and BG objects during two-players | ||||
Description | In various places, I have code which adds FG and BG objects when the player crosses certain PlayerAt locations. I just realized that this can be a dangerous thing during two-player mode. For instance, Player 1 could cross a trigger point while Player 2 is standing right where a ravine is going to open up. The result, of course, is Player 2 falling over and over again until dead. Would it be possible (or a good idea?) for the game to automatically suppress any action that would cause an object to be placed on top of (or under) a player? It would be difficult to make sure no player is standing in the way of a scripted event because there isn't a PlayerNotAt command. :) | ||||
Tags | No tags attached. | ||||
Internal Weight | Feature Suggestion | ||||
|
I think this would be really tricky to make work in a sensible way -- for instance, it would make the script just not trigger, which could lead to other problems. Instead, I suggest that we make it so that it moves the second player onto the first player, or something along those lines. |
|
Thanks! * Added (but have not tested) a new script command: MOVEPLAYERSTOTARGETPOINT ** Only when in two-player mode, move whichever player did NOT trigger this script to run to the position of the player who DID. |
|
I tested this at 001-E. When player 1 walks west onto a trigger-column range, player 2 vanishes. After the script and story conclude, player 2 appears on the bottom right corner of the sub-level. (On top of a tree.) |
|
Thanks! * Fixed a typo that was breaking MOVEPLAYERSTOTARGETPOINT. It should work now, although I've not tested it (the typo was blatantly obvious when I looked at the code again). |
|
Whoa, she teleported! That was my verbal reaction, lol... I had imagined her running at full speed (like, a 4) toward Pierce. I had been wondering about this, too, since she might either run through walls, across pits, or navigate like a Gray to that target point. (All would have potentially significant issues, depending on the level and the current location of the other player.) But still, she teleported... Are we allowed to do that? Maybe a different solution for this problem would be to make the character move off of a tile, automatically, before the BG object is placed. But yes, I imagine that would be a really complex thing to orchestrate. I'll stick to the teleport method, for now. The example is at 001-E. When either of the players travels west far enough, additional pits and ravines appear. The danger was in one of those holes swallowing the player up repeatedly until HP reaches zero. |
Date Modified | Username | Field | Change |
---|---|---|---|
Dec 1, 2012 6:58 pm | GameMaker24 | New Issue | |
Dec 1, 2012 6:58 pm | GameMaker24 | Status | new => assigned |
Dec 1, 2012 6:58 pm | GameMaker24 | Assigned To | => Chris_McElligottPark |
Jan 4, 2013 4:35 pm | Chris_McElligottPark | Note Added: 0029543 | |
Jan 4, 2013 4:46 pm | Chris_McElligottPark | Note Added: 0029544 | |
Jan 4, 2013 4:46 pm | Chris_McElligottPark | Status | assigned => resolved |
Jan 4, 2013 4:46 pm | Chris_McElligottPark | Resolution | open => fixed |
Jan 5, 2013 4:31 pm | GameMaker24 | Note Added: 0029589 | |
Jan 5, 2013 4:31 pm | GameMaker24 | Status | resolved => assigned |
Jan 5, 2013 4:31 pm | GameMaker24 | Resolution | fixed => reopened |
Jan 7, 2013 11:59 am | Chris_McElligottPark | Note Added: 0029668 | |
Jan 7, 2013 11:59 am | Chris_McElligottPark | Status | assigned => resolved |
Jan 7, 2013 11:59 am | Chris_McElligottPark | Resolution | reopened => fixed |
Jan 12, 2013 8:29 pm | GameMaker24 | Note Added: 0029780 | |
Jan 12, 2013 8:30 pm | GameMaker24 | Note Edited: 0029780 | |
Apr 14, 2014 9:30 am | Chris_McElligottPark | Category | Suggestion - Gameplay => Gameplay Idea |