Dan Blast's Forum Posts

  • Hi everyone. I have an iframe on one of my layouts that initially starts off the layout and when a button is pressed it moves it onto the layout and when another button is pressed it moves it back off the layout BUT the video keeps playing.

    Is there an easy way to stop a video playing?

  • Is there a way to pull a recent youtube or vimeo video into an iframe?

    What I would like to do is have an iframe in my app that would show a current video that I post. Kind of like a news update each month or week.

    Is there a way to do this with just a video or would I have to make a webpage, put a video on that and have the iframe pull that url?

    That would be an extra step verse just posting a video and have it load into an iframe then a week later for example post another video and have it load in that one as the most recent?

    I was thinking maybe using a youtube playlist then I could just load the playlist into the iframe and then when I post a new video include it into that youtube playlist and move it to the top so it plays first.

  • Hi everyone, I'm considering taking my app to the next level and publishing it to the app stores. I've never done this before and would like to get some information and opinions.

    How easy/hard is it to get your app on:

    Apple store?

    Android store?

    How long was the process for each?

    Are there other paying alternatives?

    Any advice?

  • Perfect thank you again!

  • Got it included as a test on the main dashboard page but I'm noticing that when I first go to either page (Main dash or eat) the health bar is empty then after 5 seconds it fills where it is supposed to be.

    Is there a way to have the health bar show the proper status before the function call five second command?

  • Got it running!

    The thing was I had the line 6 set every 5 seconds to subtract .05 when I changed that to .5 it sped up enough for me to see it faster.

    Thanks so much!

    Now I just have to get it working in the other event pages.

  • Made the changes you suggest but the health bar moves slightly then stops with no further changes. Can't pin down what I'm doing wrong.

    Edit: Actually I see it (the health bar) going down it's just slower that's why I didn't catch it. But when it hits zero the hungry animation is not playing. I changed the line 6 to -.5 instead of -.05 and its working now.

    Thanks so much.

    Now I've got to get it working across the other layouts.

  • I deleted all references to hungerscore on all other event pages it's just the eat event page. Still not working.

    drive.google.com/file/d/1_YdmMttmQytx2hRCvZ-SeejYtIv68WV8/view

    If you want to take a look.

  • I know you said don't copy but I'm kind of stuck and trying to catch up. I ran the code you gave as an example it deducts .5 and shows on the health bar but then stops subtracting and stays there.

    Thanks for being patient with me. I'm trying to learn as best I can.

    Any ideas?

  • Yikes that's a bit complicated I don't understand how to get that number amount field under that Onfunction ChangeHungryScore line.

  • Try Construct 3

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

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

    I tried to follow your example but I got lost on how to add the burpamount and fartamount (sounds silly when I type it LOL!) to the family.

    Am I making a new global variable? or trying to add a new instance variable to the food family? I tried that but then when I go to add it as an action it won't appear as an option.

    BTW I missed your last post and saw it after i posted.

  • My bad, since I'm new to using families. I appreciate you introducing me to that. It will be very helpful in the future.

    Now I'm running into this issue. (I Fix one brake another I guess).

    I'm trying to have when the hunger score gets to zero to have a hunger animation play.

    The problem is it loops not the animation but the command and constantly restarts the animation so it looks like it does not play. In addition I tried also to add a stomach growl sfx but since it loops it sounds terrible.

    I need to get the animation to loop but for the hungerscore to stop subtracting after it hits zero.

  • Hmm just gave that a try and can't seem to get that to work.

    I eliminated the specific code block for the cheese for example and grouped all the food items under one family.

    Changed to code as in the example but the cheese can be dragged but does not interact (disappear) when over the mouth.

  • Ah very interesting. I did not know about this.

    Thanks I'm going to play with this and see what I can do.

  • Here's a screen shot of the event sheet with the relevant code.