55,208

Views

Beginner

Level

37

Comments

Abigayl's Interactive Tutorials (Part 4)

by Joe (Updated on 2012-07-21)


Tutorial 4 - Mouse-based Shooting, Collisions, and HP

 

CHANGES TO CURRENT STENCYL VERSION:

  • Game Center is now Dashboard
  • Collisions Groups are now in the Settings button at the top of the page
  • No longer need to make Actor Behaviors; use "Events" tab instead
  • Now need to use “Add an Event” at the top left to make the headings
  • If using events, do not need to "Attach to Actor" (still needed with Behaviors though)
  • Collisions between Actors are now handled by collision events (use "Member of Group" and change the group to "Actors")

 

Liked this one? See them all!

Part 1: The Basics

Part 2: Attributes, Saving/Loading, Kongregate API

Part 3: Advanced Controls, Spawning

Part 4: Mouse-based Shooting, Collisions and HP

Part 5: Music, Screen Boundaries, Backgrounds, Power-ups and More

Part 6: Virtually Lagless Actors

Disclaimer: Use comments to provide feedback and point out issues with the article (typo, wrong info, etc.). If you're seeking help for your game, please ask a question on the forums. Thanks!

37 Comments

Abigayl
Dais, I might include that in the second tutorial set when SW2 comes out. Using swords comes down to two basic ideas: animations and collisions. If you can handle the animations, then it's just a matter of killing (or wounding if using HP) enemies upon contact. It's a bit more complicated than other game genres, but it's still reasonable. Can always come to the livestream if you want some direct help if you have specific questions.
0 14 years, 5 months ago
daisukexdark
Would you be able to do a tut for swords and melee, and also awesome tuts so far.
0 14 years, 5 months ago
Abigayl
You're welcome Alex :)
0 14 years, 6 months ago
alexsilent
Thank You so much, Abigayl!
0 14 years, 6 months ago
Abigayl
Thanks for the feedback on the trigonometry. I was rather concerned about adding it.
0 14 years, 6 months ago
Fredrik
Thank you!
The trigonometry part was very helpful and easy to understand, but I had no clue at all how to do it before watching this so thank you.
The part with the healthbar was also nice.

0 14 years, 6 months ago
Abigayl
As with the previous tutorials, please feel free to send me a PM (here or Kongregate), visit my stream (livestream.com/poweredbyflowers), or leave a comment here with any questions/concerns you have. Thanks!
0 14 years, 6 months ago

Sign In to Comment