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

Pages: 1 2 3 ... 137
Ask a Question / Re: ads appearing after 3 attempts at main game
« on: December 06, 2018, 12:05:04 pm »
are you sure the code that sets it back to zero is not doing that before the advert gets a chance to show. Have you tried drawing the ads attribute to the screen to make sure its working?

Ask a Question / Re: making videos for App Store/ Twitter/ Youtube
« on: November 29, 2018, 05:54:19 am »
For the appstore I use Quicktime then iMovie as a "app preview" option.

Ask a Question / Re: Need help with ads! Fast!!
« on: November 27, 2018, 07:09:17 am »
what errors are you getting?

Ask a Question / Re: How to give an attack radius for enemy actors?
« on: November 23, 2018, 12:49:01 am »
You could attach a circular region to the actor and when another actor enters that region they attack.

have you tired to build the game in flash or html5? does that work?

Chit-Chat / Re: Facebook instant games?
« on: November 09, 2018, 02:13:34 am »
Most of this is in the original html5 index.html. The main things are the script for connect.facebook and the initialization of FBinstant. You can just copy this and replace your index.html with it. Of course, change "yourgamename". This works on my iPad. I've tried to connect on my Window's phone, but I cannot find how to open instant games on it :D

Code: [Select]
<!DOCTYPE html>
<html lang="en">
        <meta charset="utf-8">
            <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
            <meta name="apple-mobile-web-app-capable" content="yes">
                <link rel="shortcut icon" type="image/png" href="./favicon.png">
                    <script type="text/javascript" src="./lib/howler.min.js"></script>
                    <script type="text/javascript" src="./lib/pako.min.js"></script>
                    <script type="text/javascript" src="./lib/FileSaver.min.js"></script>
                    <script type="text/javascript" src="./Flicker.js"></script>
                    <script src=""></script>
                        FBInstant.initializeAsync().then(function() {
                                                         setTimeout(function() {
                                                                    var canvases = document.getElementsByTagName("CANVAS");
                                                                    var canvas = canvases[0];
                                                           = "100%";
                                                           = "100%";
                                                                    console.log("Found canvas: " + canvas);
                                                                    }, 3000);
                                                         FBInstant.startGameAsync().then(function() {
                                                                                         window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false });
                                                                                         if (typeof window.devicePixelRatio != 'undefined' && window.devicePixelRatio > 2) {
                                                                                         var meta = document.getElementById ("viewport");
                                                                                         meta.setAttribute ('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no');
                        window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false });
                        if (typeof window.devicePixelRatio != 'undefined' && window.devicePixelRatio > 2) {
                            var meta = document.getElementById ("viewport");
                            meta.setAttribute ('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no');
                        html,body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }
                        #openfl-content { background: #000000; width: 100%; height: 100%; }
                        div#openfl-content { width: 100%; height: 100%; }
        <noscript>This webpage makes extensive use of JavaScript. Please enable JavaScript in your web browser to view this page.</noscript>
        <div id="openfl-content"></div>
        <script type="text/javascript">
            lime.embed ("Flicker", "openfl-content", 640, 960, { parameters: {} });

Could you explain a bit more about what to do with this code? you then export the game as HTML5 and upload to facebook?

Ask a Question / Re: Control actor with buttons
« on: November 08, 2018, 12:25:55 am »
Set up your character to move using the keyboard controls then use the on screen button behaviour that comes with stencyl. You attach the on screen button behaviour to the button actor.

Ask a Question / Re: Problem With Jump
« on: October 27, 2018, 09:00:21 am »
What happens if you remove the set touch floor to false block?

Ask a Question / Re: Problem With Jump
« on: October 27, 2018, 01:48:05 am »
I think it could be the way you are setting touch floor to false when action one is pressed, maybe move the button press out of the updating event and use a when key is pressed event.

you will probably need to re think the way you do the jump logic.

Really cool game. I really like playing it. I have a few questions:

- Did you write your own extension for Unity Ads?
- Why did you decide to go with a publisher?
- How relevant do you think having a publisher was for you getting featured?

Congratulations on the feature! Happy to see Stencylers being successgul :)

there is a new unity extension here -,57357.0.html

Awesome work FMStudio!

Ask a Question / Re: Get enemies to climb ladder?
« on: October 21, 2018, 02:02:08 am »
There are several ways to approach this, how do you currently move your enemies? do they have gravity enabled?

Ask a Question / Re: Height/Width of Actor Type before Spawn
« on: October 21, 2018, 01:59:14 am »
You could maybe use the for each actor of type block?

Ask a Question / Re: Resuming Sound
« on: October 20, 2018, 03:20:43 am »
try putting the resume sound on channel 0 above the set sound on channel 2 to true block.

Chit-Chat / Re: Facebook instant games?
« on: October 20, 2018, 03:15:25 am »
Nice good work! So you solved the scaling issues?

Chit-Chat / Re: Facebook instant games?
« on: October 16, 2018, 11:17:03 pm »
Nice! What scaling mode did you use?

Pages: 1 2 3 ... 137