- Joined
- May 10, 2016
- Messages
- 446
- Reaction score
- 17
- First Language
- French
- Primarily Uses
On the map, I want to put tower that will shoot player if he pass in front of him in all 4 direction.
Limitation:
- Player can't move while the animation shoot hi
- Tower will not shoot exceed tile with regionID 250
- Tower will not shoot or freeze player if the placer is protected by some objet.
Curently the main trouble is that in PRG Maker all event was just an event and they are all same when come to compare.
He will not see the the picture is water or picture was a shield, etc...
So what I look for... A way for be able to diferenciate different event in coding.
Curently the best way I found is by using "Comment" not sure for english name, it's the note in the right if the eventname.
But I did't find anyway for get it. Maybe a pluggin...
The second difficulty, it's about speed. 5 tower in the map for 5 parallele event.... no way....
One parallele event the check if the player is on the row of any tower .... maybe... but that will require different coding for each level and it's not how I do things...
Using a parralle event that will activate switch on all tower for them to check if the player is on the row... maybe but I think that will lag...
Do a parralele event that detect if player was on a regionID 248 for exemple and if yes activate tower that will make test or in the other side test
from player to tower to see if he have protection... a little bit better but still...
DId you have any better plan? Thanks for you help.
By the way my game is in great progress and I will do a demo game with different level that all user will be able to use in their own project.
All objet in my game was indefendent to any variable, all with script and ready to go when placed on the map without any paramater need to be done.
Limitation:
- Player can't move while the animation shoot hi
- Tower will not shoot exceed tile with regionID 250
- Tower will not shoot or freeze player if the placer is protected by some objet.
Curently the main trouble is that in PRG Maker all event was just an event and they are all same when come to compare.
He will not see the the picture is water or picture was a shield, etc...
So what I look for... A way for be able to diferenciate different event in coding.
Curently the best way I found is by using "Comment" not sure for english name, it's the note in the right if the eventname.
But I did't find anyway for get it. Maybe a pluggin...
The second difficulty, it's about speed. 5 tower in the map for 5 parallele event.... no way....
One parallele event the check if the player is on the row of any tower .... maybe... but that will require different coding for each level and it's not how I do things...
Using a parralle event that will activate switch on all tower for them to check if the player is on the row... maybe but I think that will lag...
Do a parralele event that detect if player was on a regionID 248 for exemple and if yes activate tower that will make test or in the other side test
from player to tower to see if he have protection... a little bit better but still...
DId you have any better plan? Thanks for you help.
By the way my game is in great progress and I will do a demo game with different level that all user will be able to use in their own project.
All objet in my game was indefendent to any variable, all with script and ready to go when placed on the map without any paramater need to be done.
