mardoch's Recent Forum Activity

  • Hi everyone!

    I'm working on some kind of octopus that player can move.

    I create the tentacles using revolute joint on each part. It work pretty well with a good physic but I have a problem when I move the creature. If it goeas to fast, all the joints beaks up and parts are going mess.

    My question is how can I provide my revolute joint from breaking? Is there a way to make it permanent?

    Here is my cap file:

    drive.google.com/file/d/1xj_nZ1tNXztyTrIDniizGH1yatnpHRDI/view

    Thanks for your help!

  • Yeah!! It seems that's exactly what I was looking for!

    I'll try it and see how it works!

    You are really awesome dop2000!!

  • Hello everyone,

    I have this question about prebuild objects. I have seen several examples about this like this great tutorial: https://howtoconstructdemos.com/generate-random-levels-from-pre-built-scenes/ but my problem is a bit different.

    I want to build a level with just placements sprites that will be replaced by prebuilds walls. My intention is to level design an entire level with a different look each game. To be more clear here is a scheme of my intention:

    As you can see, I have 2 sets of different kinds of walls with differents prebuilds. Of course I want them to eventually be duplicated, and that's not a problem.

    Seems the solution is to call a function but in all previous examples, it doesn't multiply the presets, so the level is limited by the number of prebuilds available.

    Any solution is more than welcome!

    edit: in the end, the prebuilds objects are supposed to be 3D objects but I made it simple for now.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Whoaaooo!! That's perfect! Thanks a lot dop2000!!!

  • 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

mardoch's avatar

mardoch

Member since 21 Nov, 2013

None one is following mardoch yet!

Trophy Case

  • 12-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

16/44
How to earn trophies