Burvey's Forum Posts

  • digitalsoapbox

    Nevermind, I figured it out. I'm such a noob....

    Thank you for your help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • digitalsoapbox

    How do I import the video into the project?

  • I currently am using HTML_Div_Pode to display a video in my game. I'm using the following code and it's working perfectly for me:

    <video><source src="http://www.mysite.com/video.ogv" type="video/ogg"></video>

    What I would like to do though is simply include the video file in the node-webkit extraction so I can fetch the video from the local files rather then from over the internet.

    Something like this:

    <video><source src="files/video.ogv" type="video/ogg"></video>

    Is this possible and if so how would I go about doing that?

    Thank you.

  • Yes, I'm using the tag, not the filename.

  • I think I figured it out. It's forcing me to have it look for the sound in the Sounds folder, rather then the Music folder, even though the sound is in the Music folder.

  • I tried that and it's giving me an error.

    UncaughtTypeError: Cannot call method 'tick' of undefined localhost/Audio_plugin.js, line 2575 (col undefined)

    I guess I'll keep playing around with it. Thanks.

  • Is there an easy way to play sounds in a sequence without using the wait command? For example I want to play first.wav and when it finishes play second.wav

  • Thank you, that's what I had figured too but I wanted to confirm before moving forward. Thanks again.

  • I was wondering, if I'm planning on exporting my game to a windows 8 app, will it have to be 100% compatible with Internet Explorer (should I be using that to preview rather then Chrome)?

  • mindfaQ, that worked. I think that's about the only thing I didn't try too! Thank you very much.

  • I tried that as well and unfortunately it's not working.

  • How can I make an object spawn in the center of the screen regardless of the users screen resolution?

    I've tried using

    Browser.ScreenWidth /2

    Browser.ScreenHeight /2

    as well as several other settings to no avail.

    I also tried playing around with the objects origin point and some other 'tricks' but I couldn't get anything to work consistently.

    Also, in case it makes a difference, I'm using Scale Outer for this project.

    Any help would be appreciated.

    Thank you.

  • Thank you very much! This is very helpful!

  • Hey guys. I feel kinda dumb right now because I've been trying all day long to figure something out that I think should be easy but I can't get it to work. I have an array populated with words such as "cat, dog, horse" etc... I want to associate each word in the array with a sound and then when the payer enters a word into a text box, if that word is contained in the array I can get the associated sound file to play (not right away, I would call it to play later). So the player types "cat" in the text box, and it remembers "meow.wav" and I can load and play that sound at a later time. If anyone would be willing to post an easy to understand capx of how to do that I would really appreciate it. This has been bugging me because it seems like it should be easy to do. Thank you very much.

  • Thank you. That will help a lot!