Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Grrr

Pages: 1 2
1
Ask a Question / Re: Jump and run movement issue
« on: June 04, 2017, 11:47:54 am »
I did, it's all same.

2
Ask a Question / Jump and run movement issue
« on: June 02, 2017, 08:45:29 am »
For some reason when I enable it, actor  is unable to collide to anything, jump or move properly,  even though other actor with same settings  moves fine. What could go wrong?

3
Ask a Question / Re: Damaging health bar/custom health
« on: May 13, 2017, 10:19:51 am »
I think there was a health bar in this series:

https://www.youtube.com/watch?v=yYYhkLXfMAI&t=4s
That video has nothing about health.

4
Ask a Question / Re: Damaging health bar/custom health
« on: May 08, 2017, 11:20:46 am »
You need to create 2 number attributes.  Within your health behavior,   "Health" and "max health".  "Health" can be hidden but do not hide "max health".  Refresh the screen using Cntrl R then go back to the actor's tab.  Go to the health behavior you created. There should be a section for "max health".  Fill that with the desired number of health you want your enemy to start with.

Now the code attached to this behavior. 
When created- set "health" to "max health"

When (insert actor that will collide with the enemy and damage it) collides with self,  set " health" to "health" minus  (insert a number of damage.  this probably should be an attribute that is tied to your damage)  if health is less than or equal to 0, kill self

This will work perfectly if the actor that is causing the damage kills it's self on collision.  If not you will have to wrap this code in a boolean statement so stencyl does not register multiple collisions on hit.

Oh and if you are using this for your hero, you will want to use game attributes  (purple ones) instead of blue ones.  This way you will keep your same health when you change scenes.  The enemie's health attributes should be blue though

Is there any video tutorial or screenshot to see it better?

5
Ask a Question / Damaging health bar/custom health
« on: May 08, 2017, 07:09:09 am »
How should I damage health bar or make custom health for enemy or hero?

6
Ask a Question / Re: Enemy's left and right animation
« on: April 30, 2017, 12:40:03 pm »

7
Ask a Question / Re: Enemy's left and right animation
« on: April 30, 2017, 04:44:18 am »
*facepalm* I'm sending again

8
Ask a Question / Re: Enemy's left and right animation
« on: April 29, 2017, 07:26:03 am »
It should also be in an always event, when created only happens once. E-mail me the game file and I can fix it. Colburt187@gmail.com
Sent

9
Ask a Question / Re: Enemy's left and right animation
« on: April 28, 2017, 11:24:57 am »
Also the xspeed should be on the left side. Currently you have if 0> xspeed
It was on right side on the screenshot O.o
Anyways, I moved it to left, nothing changed. Then I've activated movement behavior, still not moving. It stopped moving after I've put 0 x-speed. -_-

10
Ask a Question / Re: Enemy's left and right animation
« on: April 28, 2017, 08:25:29 am »
Sure, here's everything, even scene gravity to make sure nothing stops it from moving (btw, disabling gravity didn't help either, nor did moving back and forth behavior)

11
Ask a Question / Re: Enemy's left and right animation
« on: April 28, 2017, 04:45:59 am »
It's not moving at all that way

12
Ask a Question / Re: Enemy's left and right animation
« on: April 27, 2017, 07:13:57 am »
I didn't really get it but I got one idea, I'll just count turning time and add animation frames x_x
Alright this method not works, it gets messy after sometime. I'm still in trouble, I'd like to see screenshot of events that makes actor move back and forth and change animation :S

13
Ask a Question / Re: Enemy's left and right animation
« on: April 26, 2017, 03:07:43 am »
I didn't really get it but I got one idea, I'll just count turning time and add animation frames x_x

14
Ask a Question / Enemy's left and right animation
« on: April 25, 2017, 09:05:26 am »
Hello. I'll try to be as detailed as I can. So, I've easily made controllable actor change animation and face left side when it's moving left, right side when it's moving right, but I have problem with an enemy actor, it has behavior "back and forth horizontally" and it's always facing one side. What should I do?

15
Ask a Question / Re: Is there any way to make actor jump?
« on: April 18, 2017, 03:40:07 am »
I made new test game with minimal behaviors and it works fine, I've probably messed up stuff, I'll check it out again. Thank you all for your time. ^w^

Pages: 1 2