Pantaloons's Forum Posts

  • thehen, that's great news, I look forward to the new release.

    Is the jQuery reference something I can fix on my end, or will it be updated in the next release?

  • Superb plugin thehen, good job!

    I tried your example (in r116) and it worked fantastically!

    Is there any chance you'll be supporting later builds of C2. I've done soooo much work on my project since r116, that it'd be very difficult to roll back.

    I ask because I also tried your example in r128.2, but I just get a black screen. Not sure if this is something to do with new C2 version? The VS debugger showed an exception message (see below), and highlighted (**) a line from a function within the "WindowsPhonePluginForConstruct2.Mainpg" code:

            //Back button

            protected override void

            OnBackKeyPress(System.ComponentModel.CancelEventArgs e)

            {

            ** Browser.InvokeScript("eval", "cr.plugins_.windowsphone.prototype.cnds.OnBackTrigger()"); **

                e.Cancel = true;

            }

    <img src="https://dl.dropboxusercontent.com/u/101200636/errormsg2.png" border="0" />

    It'd be a great shame to lose such a fantastic plugin to later builds of C2!

    Keep up the great work!

    <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" />

  • Thanks Ize, yes I had the same idea a few days ago.

    <img src="smileys/smiley36.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the example Ize, I've taken a look and think I get what's happening, and it should help to get me started.

    One further question about the example; what if I wanted the trail to be a solid, rather than a group of dashed lines?

    I guess I could use the same approach (i.e. make solid blocks and place them next to one another on the layout, so that they appear to be joined together).

    But in order for them to reveal smoothly, wouldn't I need to make my solid line from lots of small blocks, and wouldn't that greatly increase the number of sprites on the screen, thereby slowing things up in the game?

    Is there some way I can create one long solid line and just reveal parts of it as my player passes by (so that just the section behind the player is showing)?

    Thanks again, I really appreciate your help.

    <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Thanks pixel perfick,

    But I'm still pretty new to C2 and game development, would you be able to elaborate on your advice (perhaps with a simple example)?

    For instance how would you control a smooth line/trail transition i.e. how would you create the illusion of the line/trail growing smoothly behind the player as they move forward to the next level marker?

    Thanks again

  • Hi sosensible, thanks for the reply and apologies for my poor explanation.

    I was hoping to create a menu map similar to the image below (from Zombie Misfits).

    <img src="https://dl.dropboxusercontent.com/u/78057629/world_map.PNG" border="0" />

    My player would go from area to area or level to level, and each time they moved on to the next level, they would leave a trail behind them.

    Hope that helps to make it a little clearer.

    Thanks again for the help.

    <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Hi All,

    I'd like to create a menu page in the form of a map. My player would move around the map, going from level to level, preferably leaving a trail behind them, to show their progress. Does anyone know how I might be able to achieve this?

    Thanks for your help.

  • Sorry Ashley my bad, I was being an idiot! It's working fine now.

    Thanks again for your patience.

    <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Ashley,

    Thanks for the reply.

    I set up the close action as advised, exported to CocoonJS and ran it (using Android CocoonJS launcher), but could not close the app. Am I missing something?

    <img src="https://dl.dropboxusercontent.com/u/78057629/BrowserCloseimg.png" border="0" />

    Thanks again.

  • Hi Ashley,

    I was aware of the 'close' option, but I'm exporting to CocoonJS. And I was under the impression that the Browser object was not fully supported by Cocoon yet. Do you know if this has changed recently?

    Thanks.

  • Hi Wink,

    Thanks for the brilliant example. It really helps a lot with the problem of multiple screen sizes. I've been playing around with the formula you used, and trying to work out how I could get a sprite to position on the right hand side of the screen. But I'm still quite new to all of this and haven't had much success, any tips you could offer?   <img src="smileys/smiley4.gif" border="0" align="middle" />

    PS I had already tried anchoring my sprite (to the right side), but noticed a slight draw delay when loading on my Galaxy Tab 10.1. So you can see the white background behind sprite just before it's repositioned (which makes it look very unprofessional)

    BIG thanks!!

  • Hello,

    I've been trying out CocoonJS, and wanted to find out a bit more info on its functionality with C2.

    Basically I wanted to find out if there's a way to close my app using C2 & Cocoon (I've read some threads which mention shutting down with the "Browser" object, but I don't think cocoon fully supports that yet!).

    Thanks for any advice you can offer   <img src="smileys/smiley4.gif" border="0" align="middle" />

  • No worries Darklinki, I really appreciated your advice, and I did ask for a "ball park figure" after all <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Thanks Ashley, I appreciate the advice.

  • Hi Darklinki,

    Thanks for the reply.

    I was thinking of targeting both phones and tablets, and trying to make a game which is accessible to as many users as possible (although some of the really old phones will probably be extinct soon, as more new ones are coming on to the market every day).

    Good to know that C2 mem usage predictions are often higher than the real figure. Although I can understand why they do this, it seems a little unhelpful (to us developers)to give an inaccurate mem usage figure.

    Anyway thanks again for the help.

       <img src="smileys/smiley1.gif" border="0" align="middle" />