i want to make my first violent game!
i have a smile with a gun, and i want to make him kill another smile
how can i make then smile shoting the other one
and is possible make the smile shot in diferent directions?
diretional_velocity=5;
yvelocity=-5;
yvelocity=5;
xvelocity=5;
xvelocity=-5;
ingsan wrote:i don't understand
and ps ...i'm not really a guy, actually
Just4Fun wrote:where do you guys get those codes?
Most of the code comes from the demos and the tutorial files that Makslane provides with GE. There is one folder that is titled "scripts". It provides examples of pure script for a few things like scoring, ect.
Obviously the forums also provide a wealth of information. Some of which you are now providing.
hobgoblin wrote:my actor has a pistol
but when shot, the re-fire is fast
so it doesn't look like he has a pistol
how can i make the re-fire slower?
makslane wrote:hobgoblin wrote:my actor has a pistol
but when shot, the re-fire is fast
so it doesn't look like he has a pistol
how can i make the re-fire slower?
You have been used the "repeat" feature in Key Down event.
If you disable the repeat, you will get one shot per click.
But, you can try this:
1) On Key Down (without repeat):
Create a timer with a good interval
2) On timer:
Create your shot actor
3) On Key Up:
Destroy your timer
Users browsing this forum: No registered users and 1 guest