mardoch's Recent Forum Activity

  • Hi everyone,

    So here is my question, I did this but it only fill 1 column and 1 line.

    How do I manage to fill my entire tilemap?

    Bonus question: is it possible to also randomise the rotation and mirror for tiles?

    Thanks!!

  • I tried to check if they failed to find path but it's not about that.

    They have a valid path but don't want to move anymore.

    If I want then to regenerate the obstacle map it's simply because I don't want them to stay in line in front of their goal. The idea was to make them side by side as they are also solid objects. That's the reason…

  • Hi everyone,

    I'm actually prototyping a game with some bad guys who runs after you or your coffin (yes, you play as a vampire).

    I just tried for the first time the pathfinding behavior and it works pretty well. But at some point, AI stop moving and I don't know why.

    Maybe there is something I didn't get.

    Here is the code for the guys who attacks the coffin object:

    And here is the code for the ones who attack the player object:

    If you want to test it, here is the c3p file:

    dropbox.com/s/raem6256p6b9jlt/GameTest.c3p

    Maybe there is something I didn't get about the pathfinding so any help is more than welcome!

  • I didn't find it out yet but remember something about twitter card.

    It's quite simple you just have to had some code on your index.html page. When you call your tweet with your referred game's page (with browser object), it will automatically display an image or video with desc and title.

    Infos there:

    https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards

    And here is what the code should look like inside your page:

    <meta name="twitter:card" content="summary"/>
    <meta name="twitter:site" content="@yourname"/>
    <meta name="twitter:creator" content="@yourname"/>
    <meta property="twitter:description" content="Your text"/>
    <meta property="twitter:image" content="https://www.your-website.com/your-image.jpg"/>
    

    And finally the page to test your image:

    cards-dev.twitter.com/validator

    Hope it will help you guys, especially if you are as lost as I am XD

  • Ok so I'm starting to get mad with this, can't find a solution/explanation to make it work but (and I'm quite stupid because I lose the file) I already did this perfectly last year.

    How can I share an image or a gif or even a video on twitter and instagram?

    My code is like:

    -> Browser: Go to "https://twitter.com/intent/tweet? &text=This is a my text. http://game-url-here.com &img to URL(http://www.game-url-here.com/my-image.jpg/)" (target self)

    Please help me! I trying to resolve this for hours!! How is it possible to not have a proper working action include in construct?

  • Hello everyone,

    I was wandering if there is a way to make a smooth zoom with the 3D camera.

    I tried something with lerp but doesn't seems to work…

    + System: Zoom = 1

    -> Caméra3D: Move Camera position distance lerp(Self.ForwardZ,Self.ForwardZ,0.3) along Z axis

    + System: Zoom = 0

    -> Caméra3D: Move Camera position distance lerp(Self.ForwardZ,Self.ForwardZ+500,0.3) along Z axis

  • You do not have permission to view this post

  • Here is the solution:

    + System: Pick BG1 where BG1.BBoxBottom ≥ ViewportBottom("LayerBG")

    + BG1: Variable1 = 0

    + BG1: Pick instance with UID BG1.UID

    -> BG1: Set Variable1 to 1

    -> System: Create object BG1 on layer "LayerBG" at (360, BG1.Y-1280), create hierarchy: False

  • For now this is my code:

    + System: Trigger once

    + System: Pick BG1 where BG1.BBoxBottom ≥ LayerParallaxY("LayerBG")-640

    -> System: Create object BG1 on layer "LayerBG" at (360, BG1.Y-1280), create hierarchy: False

    It works for the first background but it stop at the second one…

  • Try Construct 3

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

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

    I'm trying to make a simple doodle jump like game and I have a problem about my background.

    I have several different images for it and I want to create a new object with a random image each time my view reach the top of the actual background. So it will scroll to a non identique background each time.

    I join my c3p file here so maybe someone know who to do this…https://drive.google.com/file/d/1nIWwMrhVr7YyDEltI03Nnr_r__By9rqR/view?usp=sharing

    Thanks!

  • Ok I see, it can be useful, thanks.

    But still I don't know to pin the last bone (SnakeBones.IID.5) to the base. That's my main problem actually.

  • Yes in fact I usually do it with sprites animation but I choose this way to make it unpredictable and make its movements randomized. The head is the only hit point.

    I'm curious about your container idea, how do you link the head and base?

mardoch's avatar

mardoch

Member since 21 Nov, 2013

None one is following mardoch yet!

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies