chrisbrobs's Forum Posts

  • Kyatric@

    'You could always fill a text object and "analyze" its content with system expressions like tokenat.'

    This sounded like the best(easiest) option, but i doesnt seem to work.

    As a test, I tried the example in 'system expressions':

    tokenat(src, index, separator)

    Return the Nth token from src, splitting the string by separator. For example, tokenat("apples|oranges|bananas", 1, "|") returns oranges.

    Here is a screen shot after i entered the information in my project:

    <img src="http://dl.dropbox.com/u/22173473/tokenat.png" border="0" />

    Yann@

    dl.dropbox.com/u/23551572/C2/paragraphDisplay.capx (BUILT IN R71)

    Thanks for the example, but I am still using R70. I downloaded R71 but not installed it yet, after seeing a few ' fixed in next build ' posts about it.

  • Anybody tried this Chrome extension?

    Ripple Mobile Environment Emulator

    A browser based html5 mobile application development and testing tool

    Platforms    PhoneGap, Webworks, Blackberry, Webworks tablet IOS.

    Here's a screen shot running one of my Construct games.

    <img src="http://dl.dropbox.com/u/22173473/RIPPLE.png" border="0">

    link

  • guicole@

    'Im really annoyed by the audio situation on HTML5'

    The sound on HTML5 games made with Construct works fine...It's when using Phonegap that the problem arises.

    ssusnic@

    I think this method with sound sprites on iOS is already discussed here:

       Yes, thats the one i mention in the post (i didnt have the link)

    I tried it on my iPhone and it works fine but I'm repeating here that there is still a problem with sounds on iOS in offline mode because there are no caching audio on iOS!

    Do the sounds play on IOS when online?

    Any chance you could post an example capx showing how you got it to work? I am still struggling to get my head round it.

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

  • Question1

    I have an offscreen text object(1) that is made up of 10 paragraphs.

    When the player clicks on a button (1 to 12) I want the a second text object to display the chosen paragraph (button number)

    Couldnt find anything on the forums.

    Question 2

    If the above cannot be done, can i use the webstorage or ajax object to achieve this?

    Thanks in advance

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I came across this on the internet-

    Build and publish an HTML5 game for ipad (3 part tutorial)

    The project was not done with Construct, but the section about getting the sound to work might be of interest.

    I think 'Pode' posted something similar 11/12/2011.

    Link

  • Im trying to look at your example chrisbrobs, but construct is telling me i need the touchmouse plugin, which i have..

    I have removed the touchmouse plugin from the example....it wasn't required.

    If you download the capx file it should work ok now.

  • Hi i am new to construct 2, and let me begin by saying how much i enjoy this program and how simple and in-depth it is.

    I am trying to create a typical physics game involving the same drag backwards and shoot feature that games like angry birds has, I have been having a lot of trouble creating this in events with the backwards motion to shoot forward. Any help with this will be greatly appreciated, i tried to find some tutorials on this but i was unsuccessful, please direct me to one if i missed it. Thanks in advance!

    Ryan

    Here's an example of a simple catapult

    <img src="http://dl.dropbox.com/u/22173473/catapultpic.png" border="0">

    download capx

    Hope this helps

  • It's not my tutorial, it's by TheOMP :)

    Whoops.

    It's at the bottom of the linked page by the way.

    Cheers.

  • This is a question regarding your (Ashley) tutorial about uploading a game to Kongregate.

    "Kongregate offers a Template on their site for the JavaScript API. Within this template is three files- Assets, Game.html and kongregate_shell.html. You only need the shell file."

    I have searched the Kongregate site for this template but cannot find it...can you provide a link?

    Sorry if I have missed something in the tutorial.

  • Very fun game chris! Only thing I'd like to point out is that the pieces of fruit that you already cut can interfere with new fruit coming up, but that might not be a problem depending on how slowly you launch them in the final version.

    It was fun to mash F as fast as possible and completely destroy the framerate with dozens of fruit. I managed to get it down to 12 FPS. <img src="smileys/smiley4.gif" border="0" align="middle" />

    The problem with the cut pieces was down to the 'fade' speed, so i will change that in the next one.

    Thanks for your input.

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

  • I think it is "fruit", not "friut" like in the logo ^^

    Else everything seems to work fine on FF.

    I know, I just spotted it <img src="smileys/smiley9.gif" border="0" align="middle" />

    Cheers.

  • Couple of screenshots of a game I'm working on.

    Ive uploaded an test copy to Dropbox.. if anybody wants to check it out.

    Bear in mind that its only a "Tester' and the Keyboard F Launch is temp.

    Please let me know if theres any bugs.

    <img src="http://dl.dropbox.com/u/22173473/sshot2.png" border="0">

    <img src="http://dl.dropbox.com/u/22173473/sshot1.png" border="0">

    PLAY

    (I spelt fruit wrong) <img src="smileys/smiley9.gif" border="0" align="middle">

  • Drag and drop them straight into your layout.

  • > Does the Canvas allow me to draw a curved line, if for example i left mouse click and move the cursor away to another position and release the mouse?

    Yeah, you would have to set up a counter, and some variables for each click, like on click one set start xy to mouse xy, on click two set end xy to mouse xy, then on click 3 set offset to mouse xy.

    Then on mouse release draw using the variables.

    Or you could set up your own spline with handles, but that's way more complicated.

    Thanks newt...I will see if i can get this to work.

    (not the spline with handles part though!)

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

  • This has been reported a lot lately but I've never seen it myself, and nobody can seem to reliably make it happen. I can't fix it unless I can reliably follow some set of steps that makes it happen on my computer. Any ideas?

    I sometimes get the above error....followed by a popup :

    Application popup: Construct2.exe - Application Error :

    The instruction at "0x00000000" referenced memory at "0x00000000". The memory could not be "read".

    Click on OK to terminate the program

    Only happens when I have had been doing a lot of stuff on a project (mainly adding loads of images) and I haven't saved the level.

    This isn't a complaint by the way ! Construct seems to be really stable at the moment.

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