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

Hello dear fellows, I need some guidance in order to integrate sdk for html5 games for one of my games.
their sdk looks like this:
Code: [Select]
Add following rows into your index.html file, this will initialize SDK.
Fill gameId and and use SDK events (mute audio, pause game and after that resume game logic).

<script type = "text/javascript" >
   window.SDK_OPTIONS = {
      gameId: "your_game_id_here", // Fill the game_id
      onEvent: function (a) {
         switch ( {
            case "SDK_GAME_PAUSE":
               // pause game logic / mute audio
            case "SDK_GAME_START":
               // advertisement done, resume game logic and unmute audio
            case "SDK_READY":
               // when sdk is ready
            case "SDK_ERROR":
               // when sdk get error
(function (a, b, c) {
   var d = a.getElementsByTagName(b)[0];
   a.getElementById(c) || (a = a.createElement(b), = c,
   a.src = "", d.parentNode.insertBefore(a, d))
})(document, "script", "gamemonetize-sdk");

Invoke an advertisement in your game on following states: "play button", "continue game" , "new level" or when user complete every level:

Step 1 done. I have added the above code without any modification inside my index.html file.
Step 2 done. I have managed to make a call inside the behavior of my level select button so that when a user clicks on it the sdk will load and will display a test advertisement (short video of 10 seconds + audio ) that overlays the game as expected, yet the audio from the advertisement and the audio from the game will mix together.

I can't figure out how to  pause the game while the test ad is playing by writing some piece of code  in this section here:
Code: [Select]
               // pause game logic / mute audio
For example I use the Pausing behaviour from StencylForge to pause my game and by looking at the code it's generates inside the game.js file it looks like this:
Code: [Select]
g.pause = function() {
doing something like the code below on index.html doesn't work, it will break all, the sound from advertisement will play at the right moment, the game background music also plays over the sound generated by the ad, but the video for advertisement doesn't overlay, and does not take over the game graphics  :
Code: [Select]
                 g.engine.pause();  // pause game logic / mute audio

Same question for unpausing

Looking forward for some guidance.

After several retries with unistalling and installing all over again with no success I have downgraded to 4.0.1 version and the game works perfect again.
Also I have installed 4.0.2 version on a computer that never got stencyl installed before and the  game works perfect on that computer.
So there must be a problem with upgrading from 4.0.1 to 4.0.2

Yes it does have this folder and neko.dll is inside neko-win32 dir

Hi Justin and thanks for the quick answer. Just tried commands you provied  and I get the following error:
"The program can't start because neko.dll is missing from your computer"

I just upgraded to the latest Stencyl release 4.0.2 and none of my previous game works.
All scenes loads fine, works editing etc, but when trying to test a scene or compile the game for flash or html5 I always get the Failed: Building for Flash. (Return code: -1073741515) error.
logs attached.

Previus version of Stencyl worked perfectly for me I just upgraded because of the scene layering bug, that I had to solve using that python script.
Looking forward for some guidance to solve this issue.

My system is running windows 7,

Ask a Question / Re: Make an actor slide for 2 seconds problem
« on: November 20, 2019, 11:20:58 am »
Finaly managed to get it work like I wanted.
Many thanks to Photon for his outstanding tutorial featured on his blog:

Ask a Question / (SOLVED) Make an actor slide for 2 seconds problem
« on: November 18, 2019, 10:09:42 am »
Hello, to all, hope I can get a bit of help from someone more experienced as I got stuck on a behaviour I'm trying to build for a character.
So here is my problem:
I have a character to be used inside a running game: the controls are UP key - jump, X  key -fire, Down key - slide.
My  problem relates to sliding behavior in the following way.
As my character is set to continuoslly run by itself, Once I press the DOWN key I need the character to slide for 2 seconds, if the DOWN key is still being held preesed after the 2 seconds passed the character should get up automatically and continue with running animation.
If the DOWN key is released the character should automatically get up and continue running.
Once the DOWN key was released the character should be able to slide again etc.

My code works but not as aspected, I believe it's a timer related problem, so I kindly ask for some guidence in order to find a better way to build this behaviour.

Outstanding game, I really enjoyed playing and it, congratulations
 I have published the flash version to my dedicated  online games portal yet due to it's fixed resolution with a width over 850px it cuts a bit from the right side of the screen.
Normally I use a maximum width of 720px for the published games but in order to have this one work, I had to add some html code to extend the view area a bit?
May I ask why didn't you make it scale to fit the "screen" ?
Here is how it looks now:

Here it is.
Create also a collision event that sets to 0 the Jump attribute only when the actor is on ground.

<a href="" target="_blank" class="new_win"></a>
Thanks a lot Liberado, this kind of variable Stencyl jump behavior Super Mario style was exactly what I was looking for.

Pages: 1 2 3