Username
Password
Are you new? Sign up now
I’ve forgotten
Home
:.
Downloads
:.
Articles
:.
Projects
:.
Reviews
:.
Forums
:.
Arcade
:.
Klikcast
:.
GOTW
The Daily Click
::.
Forums
::.
Klik Coding Help
::.
Help with attacking in a game I am making!
Post Reply
Post Oekaki
Posted By
Message
Penguin Seph
Registered
11/12/2002
Points
1338
27th June, 2003 at 14:48:56 -
How can I make Sealboy charge up his powers and blast his foes with a different attack? Like, if you tap the Ctrl key he uses a basic shot, but if you hold it down for a second he fires a more powerful attack?
Hi!
Klikmaster
Master of all things Klik
Registered
08/07/2002
Points
2599
27th June, 2003 at 15:23:50 -
How about:
Every 0.05 + Repeat when button is pressed
- Add to value 1
NEGATE Repeat when button is pressed + Value < 10
- Fire basic shot
NEGATE Repeat when button is pressed + Value > 10
- Fire advanced shot
That should do. Experiment a bit
n/a
LegendaryMMSX
Registered
05/07/2002
Points
165
28th June, 2003 at 03:12:13 -
also with that, make sure to add
Only once per action to the last 2 codes click master put.
I think it would be an all out blasting spree if you don't
Im the RTS and TBS coder. Expect some games to come out from me later after I finish my Engine tests.
PS: Dont expect the best graphics.
Post Reply
1
All
Advertisement
Worth A Click