Carbincopy's Recent Forum Activity

  • How did you figure out clean path finding up/down stairs? Are you using the path finding behavior? I played with it but haven't come up with a good solution yet. I'm trying to figure something out for A.I. pathfinding in a lemmings style game

    I set boundaries so that the image could not cross them if collision = no path

    i set on on foot(block pinned to player) = collision with top of stairs then event upstairs

    = collision door 1 = event room 1

    = collision clock = event clock

    and so on.

  • Man, I've been thinking of making a game like this for such a long time. My only issue for it is the dialogue system and how I want to have lots of animations and such going on during them. How are you going to implement dialogue into this?

    On click ai = talk

    then (dialogue starts or select from dialogue menu)

    On selection = responce

    if (response = 0) then disable

    if (response = 1) then enable

    if selected = 1 then enable response

    if selected = 0 then disable response

    give each ai dialogue options

    if player and ai1 then these options

    if player and ai5 then these options

    and so on..........

    on time or event set focus to selected ai

    On focus start dialogue

    if time=30 event=bath (dialogue taking a bath)

    if doorbell=play.boorbell.wav (pathfind= location of mailbox) event=check mail (dialogue checking the mail)

    if ai collision with player event=catch player

    set path to location set follow for player or pin to ai

    dialogue ( ) on event done set pin to disabled

    It would look something like this (this is just markup of what it should do) not actual coding.

  • wmsgva maybe its not working because of the minification, try exporting without minificating or use square brackets notations within your plugin!

    Also it might not be playing if you are hosting them in dropbox.

  • Nice plugin. worked to play audio from the web.

    I did how ever wish there was more to this plugin.

    Like play loop or play once.

    I had to create a loop by setting

    If play loop ( compare time = play time ) on time = stop stream / play stream.

    and to play once to set the play button active again.

    I had to set wait time = (play time). stop stream and set button active

    sure that does not seam all that hard to do. But if you have 1,000+ sounds/songs that = 4,000+ code strings to turn them on and off as there is no way to set a default on/off once the sound/song finishes.

    I tried is playing and is not playing which in theory should have done this task. but no luck.

    I even tried everytick is playing or is not playing, but no luck.

    Any great ideas?

    Thanks in advance. Jeremy C.

  • A similar question answered by Eren can solve your issue, try the audiostream plugin...

    www*scirra*com/forum/plugin-audiostream_t150385

    (Dots plz instead of stars, as i cant post links yet)

    Thanks for the link. I will give it a try and get back to you about how it turns out.

    > Everybody says this is not supported because of the 2 file types. That is a no brainier.

    >

    > But Since we are compiling 2 versions of code for different platforms we know how to set audio for that which we are working on.

    >

    > Now to the question at hand. How to call an audio file from a web server.

    >

    you mean play an audio file? as mp3 etc? ... if so then u can use the video plugin i think its called you can play any file in it.. including mp3s since has the .h264 codec in it... however the file has to be on a public folder where anyone can read it.. outside that its pretty easy was a example in tutorials somewhere called ... playlist mp3 something...

    Thank you will look that up.

    Everybody says this is not supported because of the 2 file types. That is a no brainier.

    But Since we are compiling 2 versions of code for different platforms we know how to set audio for that which we are working on.

    Now to the question at hand. How to call an audio file from a web server.

  • Hello everybody,

    Things are moving along swimmingly.

    I have come up a great new idea for my next app, Just one problem.

    I would like to open an audio file from a website as to keep the over all size of the app small.

    Is there a way to use like on tap browser goto url which would play the sound with out closing out the app? or loading it in a new window? It would be even better if I could up on tap play (track) at location url.

    any ideas? Has anybody done this with construct 2?

    Is there something like Iheart radio to pull streams?

    Thanks in advance. Jeremy C.

    Bump...

    I did find this https://www.scirra.com/tutorials/536/audio-playing-sound-files-without-needing-to-import?action=lastpage&t=1470163107690#lastcomment, But it only talks about a web based app and does not relate to how to create a mobile app and pull sound from the web to use inside the app.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello everybody,

    Things are moving along swimmingly.

    I have come up a great new idea for my next app, Just one problem.

    I would like to open an audio file from a website as to keep the over all size of the app small.

    Is there a way to use like on tap browser goto url which would play the sound with out closing out the app? or loading it in a new window? It would be even better if I could up on tap play (track) at location url.

    any ideas? Has anybody done this with construct 2?

    Is there something like Iheart radio to pull streams?

    Thanks in advance. Jeremy C.

  • Hello Everybody,

    Back again with another advanced request, as I can pull data from a text file / xml file. Now I would like to be able to modify the text/XML file on a daily - bi weekly bases. But don't understand how to pull a web based file into an app.

    So let's say it is on my server at http://amusementwithatwist.com/ (file name) instead of inside of the app.

    what do I need to do to request the file?

  • You can adapt by creating a "rotate device" message. Create a Top layer for all layouts. Draw a large Black sprite and cover the entire layout. Place a "Rotate Device" message in the form of an image. Remember to set the parallax to 0,0 and the scale rate to 0 in the properties dialog for the layer. Use the browser object:

    Brower is Portrait > Layer Top > Set InVisible

    ___________________________________>Set time scale 0.0 (pauses the game)

    Brower is Landscape > Layer Top > Set Visible

    ___________________________________>Set time scale 1.0 (resumes game)

    Great Info Thanks..

    but noticed small issue with the code shown. Should read

    Brower is Portrait > Layer Top > Set Visible

    ___________________________________>Set time scale 0.0 (pauses the game)

    Brower is Landscape > Layer Top > Set InVisible

    ___________________________________>Set time scale 1.0 (resumes game)

    unless you want the other way then it would read

    Brower is Portrait > Layer Top > Set InVisible

    ___________________________________>Set time scale 1.0 (resumes game)

    Brower is Landscape > Layer Top > Set Visible

    ___________________________________>Set time scale 0.0 (pauses the game)

    But great information on how to get desired device layout. Thanks again Jeremy C.

  • Hello everybody,

    This is an advanced feature request or how would I enable such a feature.

    I have an idea of how I might get it to work but just want to see what others might have done to achieve this trick.

    My idea uses an out side html file with a counter that is trigger once if true and then pre-loaded on start of layout something like how fb scores are pulled into the game. Then using a check if install = set amount toggle group disabled, Thus only x number of people get a specific set of limited features.

    My other Idea uses a button, on click if counter=>x set installed=true, load counter.

    else if counter=x toggle group disabled and delete button.

    my third idea is to create 2 .apk set one active now with all the features and set other to publish after x days pass with some of the features disabled.

    any ideas or know of a plugin that could do this trick?

    Thanks in advanced and have fun and enjoy. Jeremy C.

Carbincopy's avatar

Carbincopy

Member since 27 Nov, 2015

None one is following Carbincopy yet!

Trophy Case

  • 8-Year Club
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

11/44
How to earn trophies