As of late 2021, we are in the process of updating Stencylpedia and fixing up outdated & broken content. Thanks for your patience!
32,943
Views
Beginner
Level
18
Comments
Abigayl's Interactive Tutorials (Part 5)
by Joe (Updated on 2012-07-21)
Tutorial 5 - Music, Screen Boundaries, Backgrounds, Power-ups, and More
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 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!
18 Comments
gustavojvs
I cant add any sound in my game, when I try to test the game it says: "Warning: Could not embed "Assets/sfx/sound-8.mp3" (Flash only supports Layer-III MP3 files, but file is Layer2)"
I tryed to edit it with the "Audacity" program as the Stencyl program itself sugests, I deleted all the metadata and used the 44.1 KHz configuration, but didn't work.
I also tryed to download some sound from stencylforge, but even them didn,t work. And now even when I remove the sound and all the sounds codes from all behaviors, it keeps saying the same message,
I tryed to save and reload the document without success. Can anyone help me with this?
0
I cant add any sound in my game, when I try to test the game it says: "Warning: Could not embed "Assets/sfx/sound-8.mp3" (Flash only supports Layer-III MP3 files, but file is Layer2)"
I tryed to edit it with the "Audacity" program as the Stencyl program itself sugests, I deleted all the metadata and used the 44.1 KHz configuration, but didn't work.
I also tryed to download some sound from stencylforge, but even them didn,t work. And now even when I remove the sound and all the sounds codes from all behaviors, it keeps saying the same message,
I tryed to save and reload the document without success. Can anyone help me with this?
0
gamergirlj
Hey Abigayl I have been trying to add a freeze pickup for my game that freezes all actors on screen (The player doesn't control an actor it is a tap to win game) I tried adding speed values and setting it to 0 but since the behavior is attached to an actor it won't let me apply the speed values to other actors setting them to 0 when I click the freeze power-up.
1
Hey Abigayl I have been trying to add a freeze pickup for my game that freezes all actors on screen (The player doesn't control an actor it is a tap to win game) I tried adding speed values and setting it to 0 but since the behavior is attached to an actor it won't let me apply the speed values to other actors setting them to 0 when I click the freeze power-up.
1
LecJackS
It took me a while to figure out how to reproduce the "kill the actor" loop in the new version, but I got it!:
http://i.imgur.com/zJyogfw.png
0
It took me a while to figure out how to reproduce the "kill the actor" loop in the new version, but I got it!:
http://i.imgur.com/zJyogfw.png
0
Spartanlazer73
abigayl thank you so much you helped me a lot and For once I can impress my class mates and proved a 12 year old can make a game!
1
abigayl thank you so much you helped me a lot and For once I can impress my class mates and proved a 12 year old can make a game!
1
Abigayl
EDIT: I do still check these tutorials... just not that often. PM is a far more reliable way to get ahold of me.
0
EDIT: I do still check these tutorials... just not that often. PM is a far more reliable way to get ahold of me.
0
Abigayl
PLEASE NOTE: I am no longer checking comments here. If you need to reach me, try my livestream, Kongregate private messaging, or the Stencyl forums private messaging.
0
PLEASE NOTE: I am no longer checking comments here. If you need to reach me, try my livestream, Kongregate private messaging, or the Stencyl forums private messaging.
0
Mercury-N
Abigayl, I've followed all your tutorial and I've learned a lot about stencyl from you, so thanks a lot, I'm a 14 year old boy and I previously programmed in flash, but I'm a newbie in stencyl but that fact has been changed due to you, so once again, thank you very much
0
Abigayl, I've followed all your tutorial and I've learned a lot about stencyl from you, so thanks a lot, I'm a 14 year old boy and I previously programmed in flash, but I'm a newbie in stencyl but that fact has been changed due to you, so once again, thank you very much
0