michaelverdi's Recent Forum Activity

  • On a lark, I exported my project to html and uploaded it and it works as expected. It just does not work when you preview or debug. Is this a known issue? From what I see in Construct 2 tutorials (can't find any for 3) using the video plugin, previewing works fine.

  • Hi. Can you be more specific? I don't know how to use AJAX here and I don't see a mention of having to use it in the https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/video video documentation.

  • I'm using the free version right now. Playing videos in my project is the must have feature that I want to understand before purchasing. So I created a new project, imported an MP4 (H.264) and WEBM (VP9) videos. I put a video object in the layout and set the sources to the MP4 and WEBM files. I made sure "autoplay" is on and since I'm testing this in a desktop browser I figured this should work. But when I test the project nothing happens. Here's a screenshot of what I'm looking at.

  • Thanks that makes sense.

    I accidentally asked this question twice and got this answer from Wacky Toaster:

    There´s two options

    Local notifications

    You can schedule a local notification to be delivered whenever. If you know that in 2 weeks something happens, you can do just that. The thing is though you need to know the duration beforehand. This should work well for games where you build something and it takes X hours to build.

    Push notifications

    You have a server that sends these out when needed. So you can say, when a player does his turn, you can send a notification to his opponent. The duration doesn´t matter in that case.

    Afaik you don´t need a server for local notifications since they are stored on the users device. For push notifications there are various services like onesignal. Either way I´m not sure how exactly they work and if there are working plugins available.

    Does anyone know how local notifications and push notifications work? I didn't find any documentation on them or plugins (I could be missing them).

  • I'm working on a game that plays out over weeks or months and I want to be able to send a message to the player that it's time to check back in on the game. I don't see any information on how to do this or a plugin that will allow this. Any ideas?

  • I'm trying to build a game that takes place over the course of weeks or months so I want to be able to send the user a message when it's time to check back in on the game. I'm guessing I have to do that on my server or use a service like Twilio. I can't find any information on how to integrate something like that with Construct. Does anyone know how to do this?

  • I just figured this out from the Bacon1Ipsum.capx file above. I din't want typewriter noises or anything so I stripped it down to the "one event."

    • In your layout, create a text object containing the text you want to type out. Name it SourceText. Then create an empty text object and name it DestinationText.
    • Then in the event sheet for that layout, add the System event, "Every X Seconds." I gave it a value of 0.075 (larger numbers type slower, smaller numbers type faster).
    • Finally add the "Set Text" action to that event. In the "Text" field enter: left(SourceText.Text, len(DestinationText.Text) + 1)

    Hope that helps!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This game is so good. Everything about it feels right - the graphics, the physics, the sounds - so well done.

  • iOS 10 supports inline video with the unprefixed playsinline attribute (https://webkit.org/blog/6784/new-video-policies-for-ios/) but when I export my game as an HTML5 page and open it in Safari in iOS 10 the videos still play fullscreen. Is that because they have the prefixed, webkit-playsinline attribute as stated here - https://www.scirra.com/forum/how-do-i-avoid-the-auto-fullscreen-video-player-on-ios_p1032570?#p1032570? If so, is there a way for me to add the unprefixed attribute somewhere or does the video object for Construct 2 need to be updated to support this?

michaelverdi's avatar

michaelverdi

Member since 28 Nov, 2016

None one is following michaelverdi yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies