Abigayl
I am a Christian, tutor, and Stencyl programmer, with several top Stencyl games
on Kongregate.
165
Followers
0
Following
5
Games
Games
Whatever Goads Your Goat
60 Seconds: Space Rocks
Mr Goldfish
Minesweeper
Invader Breaker
Shoutbox
marcumgames
A question, I have a platformer shooter and the bullets are being created offset just a little below the actor, But i put in everything exactly how it is in your tutorial. How do i fix this?
0
A question, I have a platformer shooter and the bullets are being created offset just a little below the actor, But i put in everything exactly how it is in your tutorial. How do i fix this?
0
lawgo
Hey Abigayl! You've been a great resource to the Stencyl community. Thanks for all the work you've put into making clear and concise tutorials :)
0
Hey Abigayl! You've been a great resource to the Stencyl community. Thanks for all the work you've put into making clear and concise tutorials :)
0
Zaqttack
Sweet! I'm the 100th follower :D
Great games, Awesome tutorials and thanks for helping me on the forums.
0
Sweet! I'm the 100th follower :D
Great games, Awesome tutorials and thanks for helping me on the forums.
0
Abigayl
If you are referring to a behavior on Forge, I never use those so could not comment. One way to have an enemy follow your player is to do a modification of the Tutorial 4 coding and instead of the mouse x/y, use the x/y of the player (and have the coding be for the enemy). To grab the location of the player, use the actor type loop found in the scene palette and search for your actor.
0
If you are referring to a behavior on Forge, I never use those so could not comment. One way to have an enemy follow your player is to do a modification of the Tutorial 4 coding and instead of the mouse x/y, use the x/y of the player (and have the coding be for the enemy). To grab the location of the player, use the actor type loop found in the scene palette and search for your actor.
0
Shafferinc
Am I asking to many questions? If so let me know. Would the follow actor around coding work for it i wanted an enemy to follow an actor? For example if I had an enemy, and i wanted him to follow my main..
0
Am I asking to many questions? If so let me know. Would the follow actor around coding work for it i wanted an enemy to follow an actor? For example if I had an enemy, and i wanted him to follow my main..
0
Abigayl
Shaff, if the gun is its own actor, one idea would be to have it setup to always follow the actor around. For example:
When Created
For each actor of type [Player] (found in Scene palette)
Set ThePlayer to [the actor] (where ThePlayer is an attribute)
Always
Set x of self to [x-center of ThePlayer]
Set y of self to [y-center of ThePlayer]
0
Shaff, if the gun is its own actor, one idea would be to have it setup to always follow the actor around. For example:
When Created
For each actor of type [Player] (found in Scene palette)
Set ThePlayer to [the actor] (where ThePlayer is an attribute)
Always
Set x of self to [x-center of ThePlayer]
Set y of self to [y-center of ThePlayer]
0
Shafferinc
One more question..Lets say I've got a weapon, already programmed to shoot, ect. And its laying on the ground. How could I make it so when my actor walks over it, he acquires the gun in his arsenal? I've looked around in the programming, it would have to be a combine animation or something.
0
One more question..Lets say I've got a weapon, already programmed to shoot, ect. And its laying on the ground. How could I make it so when my actor walks over it, he acquires the gun in his arsenal? I've looked around in the programming, it would have to be a combine animation or something.
0
Recent Activity
Forum Profile
Beta Tester
Rank
807
Posts