Closed codecomp closed 10 years ago
Hey @Ralliare,
glad to hear that you are trying ++ out. Have you downloaded the latest dev branch? In older ++ versions the shoot ability checks if the entity that uses the shoot ability is "inside the level".
Unfortunately this check will fail every time if you don't have a level that is completely surrounded by collision tiles. So if there is a "hole" in your collision map, or you just have a few collision tiles, the shoot ability will do nothing.
Because of that @collinhover removed this check in the current dev branch and added some more minor fixes to the shoot-ability. Please switch to the dev branch and report if that fixes your problem.
Thanks for reporting the typo. There are more in some of the tutorials. I will fix the typo and rewrite some of them as soon as I have some time for that ;-)
I've started tinkering with making a somple game with ++ instead of just plain old ImpactJS. I decided following the tutorials would be a good way to see how to get started before jumping into making things msyelf. However I've bit a bit of a road block on the second one.
I have the following in my player entity:
And when I try to shoot I do get the log saying Fire. But there is no entity spawned.
Here is my laser entity
And my laser-gun ability
I also noticed that the following line in the tutorial has a typo in it starting a string eith " and ending with '