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
1
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/

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

3
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

4
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

5
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 https://gamemonetize.com/sdk to my html5 game build with stencyl.
Please leave an answer here or pm to talk the details.
Payment by PayPal.
Regards!

7
Hello dear fellows, I need some guidance in order to integrate gamemonetize.com sdk for html5 games for one of my games.
their sdk looks like this:
Code: [Select]
STEP 1:
Add following rows into your index.html file, this will initialize GameMonetize.com 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 (a.name) {
            case "SDK_GAME_PAUSE":
               // pause game logic / mute audio
               break;
            case "SDK_GAME_START":
               // advertisement done, resume game logic and unmute audio
               break;
            case "SDK_READY":
               // when sdk is ready
               break;
            case "SDK_ERROR":
               // when sdk get error
               break;
         }
      }
   };
(function (a, b, c) {
   var d = a.getElementsByTagName(b)[0];
   a.getElementById(c) || (a = a.createElement(b), a.id = c,
   a.src = "https://api.gamemonetize.com/sdk.js", d.parentNode.insertBefore(a, d))
})(document, "script", "gamemonetize-sdk");
</script>

STEP 2:
Invoke an advertisement in your game on following states: "play button", "continue game" , "new level" or when user complete every level:
sdk.showBanner();
.

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]
case "SDK_GAME_PAUSE":
               // pause game logic / mute audio
               break;
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() {
  g.engine.pause()
 };
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]
case "SDK_GAME_PAUSE":
                 g.engine.pause();  // pause game logic / mute audio
               break;

Same question for unpausing

Looking forward for some guidance.

8
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

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

10
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"

11
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,

12
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: https://photongamedev.wordpress.com/2013/06/03/the-do-after-dilemma-building-your-own-time-tracking-mechanic/


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


14
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: http://rungames.org/running-games/play-duke-dashington-remastered

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

<a href="https://www.dropbox.com/s/ybcek9lq1uvl3s9/Variable%20Jump.swf?raw=1" target="_blank" class="new_win">https://www.dropbox.com/s/ybcek9lq1uvl3s9/Variable%20Jump.swf?raw=1</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