Consider this. My player is to the right and from left enemy bullets or something are spawning , I want to get a point when I avoid each one of the upcoming object..? How can I do this? I added action to a spawning object, but that is weird to, it keeps spawning the action on uneaqual intervals and also fills up 2 or 3 actions if I take time for a slow upcoming object. So it is a really big problem.. Anybody help is appreciated. Thanks! @jerry @Nihat @blad300 @playsgames6666
How about you add an action to the death animation of the bullet. So when you avoid the bullet it dies off screen or on screen and rewards you with the points
Does it have to be spawned bullets ? If the player is advancing forward you can have them as wake up objects with velocity and the action will be easier to place
@meremy @telerebor.. They are not bullets just some enemies. And my character just moves on same axis not advancing.. As I said tried with spawning action but is irregular.. Also tried to attach the action to the enemies.. But since they are spawning the action comes 1 time..
If it's not a spawned enemy you can have him with a 0 opacity action like that, and every time you pass it by you will get the coin.
Hmm this might be tricky because the action feature from my understanding so far only affects the character so when character passes throught it, it scores but when non character object passes throught, it does nothing. Anyone correct me if I am wrong....
@meremy Thanks..! It is a spawned enemy and is continuously spawning and coming towards the character and I have to avoid it, and when I do I get a Score 1 point..?? @sysads you are corect. Have any idea how to achieve this? Thanks!
Yes. The action is the purple line and avoiding the object you take it so your score increases. I don't think you can do it by spawning objects. You have to set the objects manually with wake up or the character will have to advance into them. This works so much better with scenes. Why do you keep wanting it to be a spawner ?
Because I want a unique style of gameplay not moving into scenes but one scene and after time to time it gets harder and harder by timewrap increase. I guess there is not way huh?
Nothing comes to mind. I've also tried several game ideas where the character doesn't move and the environment comes to him but it's very tricky and it's hard to scale the game
Its easy to do. same principle as earning a point when shooting an enemy. As @telerebor said, have your bullets or object collide and destry with wall behind your character and place the points action in the death animation. so when your bullet or object is destroyed your character will collect, the point.
Not may work, will work. Just remember to set the action opacity in death animation to zero. and make it really big so it takes up the whole screen to ensure that the character hits it.