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 - adytt

Pages: 1 2 3 4
Ask a Question / Re: Destructible terrain - image API
« on: January 25, 2022, 11:57:34 am »
Try asking on discord channel for stencyl you should find help there!

Windows / Mac / Flash / HTML5 / Freddy Run 1 - a spooky running game
« on: December 13, 2021, 11:03:06 am »
Check out Freddy Nightmare Run 1  - an improved html5 remake of a running game released few years back for flash.
You can try the game here:

Game controls: check out instructions scene or have a look below:
 Up = jump;
Down = slide;
X = shoot;
P = pause

Ask a Question / Re: Platformer Movement - low FPS
« on: July 26, 2021, 02:34:00 pm »
Where did you get that behavior from?
It's available freely on StencylForge

Ask a Question / Re: Full Screen HTML5?
« on: July 26, 2021, 02:32:09 pm »
yes there is but that needs to be triggered by the website hosting the game , can be done by user clicking a button such as this website uses 
More info can be found here:

Ask a Question / Platformer Movement - low FPS
« on: July 16, 2021, 02:12:31 am »
Hello Stencyl mates, was wondering if there are some improvements that can be made regarding the Platformer Movement behaviours as for example I'm struggling to improve the FPS for a current project.
Testing on simple scene (details bellow) once the actor starts walking the FPS drops from 60 to as low as 36, rising up to 43, 45 going low again and so own, being most steady in the 40 - 45 FPS range.

Scene details only include:
- 1 layer - tileset
- 1 actor (featuring the following behaviours: Animation Manager, OnGround, Walking, Jumping, Ducking, Slowdown, Hurt, Cannot Exit Screen, Camera Follow, )
- no background
- no drawing inside scene for score, lives, coins etc .

The only modification done to the standard package downloaded from StencylForge was to the walking Behaviour by adding playing a step sound on frame 0 and frame 3 of each walking left or right animation (each animation has 6 frames ) inside WhenUpdating

Removing the sound code only improves to FPS to a maxim low of 45

Test was performed on HP EliteBook -  i7-3520M CPU @ 2.90GHz   2.90 GHz , 16GB RAM SSD , WIN10 64bit

Test was done using the integrated FlashPLayer.
Another test was done after uploading the HTML5 (FPS MONITOR enabled) on an actual server and the results displayed were constant 39FPS

Testing the HTML5 game (simple scene actual) from a Andoid phone playing in browser resulted in a constant 59FPS, yet the steps sounds were sometimes missing when constant holding  the virtual button down. sounding like it would only play on frame0, not frame 0 and frame 3

Also checking the Onground behavior looks like the WhenUpdating event runs every frame

Any help would be kindly appreciated!

Thank you very much guys, both of your answers helped and now everything works perfectly.

Would appreciate a bit of help in coding a behavior that draws a line between 2 actors.
First actor(pulley) is fixed it's x and y coordinates are always the same while the second actor(platform) moves up and down only on the y axis.
the following code used in a whenDrawing event inside the actors behaviour shows nothing on the screen

Kindly have a look and if you have better understanding of how draw line block works please leave a reply.

Ask a Question / Re: Joint extension help please
« on: March 17, 2021, 12:11:22 pm »
I managed to make it work by adding some invisble actors at the top and bottom edges that colides with the platforms, so that the platforms won't cross the maximum and minimum spots.

Ask a Question / Re: Joint extension help please
« on: March 17, 2021, 06:17:36 am »
I have figured out how to create the puley joint by using this block of code attached bellow  and it seems to work.

When jumping on a platform it will go down while the other will go up.
However I need some help to make the platforms stop once they reach the maximum or minimum travel distance up or down as for now they move above the limits defined.
I believe this needs to be coded  in an "always event" yet I don't now if there are specific blocks build in this extension that can be used.

Ask a Question / Joint extension help please
« on: March 11, 2021, 12:19:55 pm »
Hello I need to code a behaviour for 2 platforms that are connected by a rope and 2 pulleys  something similar to the ones found in Super Mario games  just like in the picture attached.  so that when the actor jumps on one platform  it will go down and the other will go up.
I have downloaded and installed the Joint extension, yet there is no info of how to use blocks, as the examples on stencylForge such as Joint Sandbox no longer works.
I believe I should use the pulley  joint type block and such, yet if someone already coded something similar and would like to share some info please help.
Looking forward to get some info.
Kind regards!

Ask a Question / Re: StencylForge - Empty downloads
« on: March 31, 2020, 11:00:21 am »
Problem to forge downloaded behaviours opening as empty is a bug in the latest public release and has been highlighted , if you use an older build of stencil  it will work just fine/

Windows / Mac / Flash / HTML5 / Re: INDIE GAME DEV STUDIO The Game
« on: January 24, 2020, 12:01:44 pm »
Man that's quite interesting

Ask a Question / Re: Behaviors don't work.
« on: January 20, 2020, 07:12:34 am »
I have also encountered this problem when importing behaviours from stencylforce to the newest build of stencyl. 4.0.2
Just try to edit/open each behaviour before attaching in to an actor, save, and then attach the behaviour to actor.
Another problem that I encountered was that when I have opened a behaviour it actually showed nothing inside, no blocks of code, nothing, I believe this is a bug of the newest stencyl build, when it comes to use old behaviours from stencylforge.

in order to solve this you should use an older version of stencyl to check and see the code inside behaviours export it and import it to stencyl 4.0.2

Extensions / Re: Poki SDK
« on: January 14, 2020, 01:33:49 am »
Hey rob, just left you a private message, please have a look into it

Paid Work / Extension request implement SDK
« on: January 14, 2020, 12:09:55 am »
Hello, I'm looking for someone to help me implement advertising SDK to my html5 game build with stencyl.
Please leave an answer here or pm to talk the details.
Payment by PayPal.

Pages: 1 2 3 4