Saturday 15 December 2012

timer event in stencyl








Fig : timer behavior in stencyl


Attributes : -

time - Number


enemy walks horizontally behavior in stencyl







Fig : enemy walks horizontally behavior in stencyl

Attributes :- 

enmyspd - Number
test - Boolean
time - Number

enemy walks vertically behavior in stencyl







Fig : enemy walks vertically behavior in stencyl

Attributes :- 

enmyspd - Number
test - Boolean
time - Number
 



light follow the player in stencyl






Draw Light Radius

Attributes:-

1. Create a actor with type 'Actor'.
2. Create a Light with type 'Actor'.

player 4way movement behavior using keyboard - Stencyl







Fig : player 4way movement behavior using keyboard - Stencyl

Attributes : - 

Boolean : -


Pressed Up?
Pressed Down?
Pressed Left?
Pressed Right?
Player Controlled?
Isomatric Movement?
8 way movement?


Number :-
Initial movement
Acceleration
Idle Threshold
Top Speed
Slowdown Rate

Control :-
Up Control
Down Control
Left Control
Right Control

Animation:-
Up Animation
Up Animation (Idle)
Down Animation
Down Animation (Idle)
Left Animation
Left Animation (Idle)
Right Animation
Right Animation (Idle)

Actor :-
Actor



player jumps one platform to another in stencyl

  
Player jumps one platform to another platform in stencyl events

 Created Event :-

Make self always Active.

Updated Event :-



Collision - Any actor collides with :-

when self hits a platforms  -- 1st Actor Actor Actor of type
if the bottom actor was hit
Set Jump ? to True



Attributes:-
1. Create attribute 'Jump?' with the type 'Boolean'.