So I made Portals in Scrap Mechanic...

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 192

  • @4Bakers
    @4Bakers 2 роки тому +94

    The way I'd prevent the feedback loop is the same way Minecraft does it: Override the portal you teleport to until after you exit the trigger, so if you step back in, it works again

    • @vibaj16
      @vibaj16 2 роки тому +7

      I think that's what he did

  • @gaminghub8108
    @gaminghub8108 2 роки тому +49

    Finally! Someone who ACTUALLY made a portal mod for sm.

  • @scottowens398
    @scottowens398 2 роки тому +52

    I know why you had trouble with putting the portals on non-static objects.
    *Aperture Science would like to remind you that portals cannot be placed on moving surfaces.*

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +21

      It's been a while since I've seen portal, so yeah... Probably should have watched something for reference before...

    • @Super_IronMan
      @Super_IronMan 2 роки тому +4

      unless you're sabotaging the neurotoxin, then you can place them on moving surfaces

    • @link7417
      @link7417 2 роки тому +2

      programmers code for not wanting to deal whit paradoxes and nasa level physics X3

    • @ImUnkown482
      @ImUnkown482 2 роки тому +1

      @@Dr-Pixel well just sabotage some neurotoxin chambers and I’m r will work fine

  • @gungu
    @gungu 2 роки тому +4

    11:49 I see you're a true programmer: print("yo mama")

  • @jickhertz4124
    @jickhertz4124 2 роки тому +2

    What I like about your video is you show the funny bugs along the way, not just a couple cuts after each successful step! I love the portal gun, I hope you can collaborate with other modders!

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Well, that's what I do on the raft mod!

  • @MoralMalice
    @MoralMalice 2 роки тому +2

    It would be even more amazing if you even added the camera in the portal

  • @PanKrzychu
    @PanKrzychu 2 роки тому +1

    8:51 borealis moment

  • @danielfreytes8297
    @danielfreytes8297 2 роки тому +4

    I would love to see a scrap portal series.

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      How do I make this a series?

    • @St_rs1123
      @St_rs1123 2 роки тому

      @@Dr-Pixel make portal 3 in scrap mechanic

  • @KaneyoriHK
    @KaneyoriHK 2 роки тому +11

    It's funny to see this, but imagine how making the actual portal felt, making all those puzzle, yeah, it's just a teleport trigger with a camera, but it's still probably difficult to fine-tune.

    • @link7417
      @link7417 2 роки тому

      the portal portals are way more then just that, look up non-Euclidean geometry that is what portal uses to drive their portals

    • @KaneyoriHK
      @KaneyoriHK 2 роки тому +1

      @@link7417 I already know, I just stated the basic idea but it's definitely more than just what I said. Ik that ain't clear, but I've made portals so I know how complicated that actually are, or can be.

    • @link7417
      @link7417 2 роки тому +1

      @@KaneyoriHK Fair enough ^^

  • @mixer2.0
    @mixer2.0 2 роки тому +15

    Well done, great work! This is the quality content.

  • @Fagiano
    @Fagiano 2 роки тому +10

    Really cool! I love the Portal games and this is so cool.

  • @GrepidYT
    @GrepidYT 2 роки тому +1

    As someone who's tried making a portal mechanic myself, It feels good seeing that my working process is very similar to fellow programmers lol

  • @goobertfroobert5572
    @goobertfroobert5572 2 роки тому +1

    Siiiick, every FPS game needs a Portal Gun mod.

  • @Toby-ve6gp
    @Toby-ve6gp 2 роки тому +1

    Love you.

  • @apersunthathasaridiculousl1890
    @apersunthathasaridiculousl1890 2 роки тому +1

    7:14 its good at teleport your vehicle behind you in survival while riding in it

  • @StardomSeeker
    @StardomSeeker 2 роки тому

    This man just proved himself to have the intellect of an Aperture Laboratories scientist

  • @matthrew
    @matthrew 2 роки тому +1

    The way i would have prevented the portal feedback loop, is the same way valve did in the portal series (at least i believe so)
    i would have put a tiny timer on the portal (give or take 0.3 sec) and apply a small push out of the portal in the direction the portal is facing.
    Basically, it would work like this:
    When player enters portal:
    -start 0.3 second timer (while timer active portal is not portaling you across)
    -check which way the portal is facing, and apply a small increase in speed in said direction

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +1

      Yes, but that doesn't work like that in sm. (Kinda does, I guess) I added something like this later.

  • @SuperPeter05
    @SuperPeter05 2 роки тому +1

    That looked painful to do.
    Done well getting that to work.

  • @mki443
    @mki443 2 роки тому

    If you ever do a video like this again i have a 2 part suggestions that might prove to be really usefull for quite alot of creations:
    A. Player scanner, will return the ID of the player in front of the scanner using modpack logic (or return the closest player to a scanner, with adjustable radius cycle using E)
    B. Wireless part connector, Allows scripted parts to be wirelessly connecting (using modpack logic would be ideal of course)
    B could be used to make alot of cool things like camera drones and whatnot, it would also be cool for missles
    A could be used to protect your doors in a cool way or even as a security device if it is ranged.

  • @definitywnierysio4206
    @definitywnierysio4206 2 роки тому +2

    why everything you make is that cool

  • @FileTypeJpeg
    @FileTypeJpeg 2 роки тому +3

    Imagine making the portals so that you can see through them

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +1

      Hmm, I wouldn't know how though

  • @MechaNexus
    @MechaNexus 2 роки тому +1

    bruh, I haven't even unlocked the propeller yet in Raft Mechanic and now you drop this? Lmao, what a mad lad.

  • @liamyes6150
    @liamyes6150 2 роки тому +8

    thank you for this mod, i actually have been wanting a portal gun in scrap mechanic mod for a while now, +1 sub

  • @ERYK2109
    @ERYK2109 2 роки тому +1

    me: I'm not that far into Raft Mechanic, maybe I should wait until they turned it into a custom game mode, so I can play it more easily in the future
    also me: Raft Mechanic go brrrrrrrrrrrrr

  • @theothercreare
    @theothercreare 2 роки тому +1

    Not sure the capabilities of sm's moding api, but do you have the ability to render a perspective to a texture?
    In unity 3D you can render a camera to a texture and then apply that texture to a mesh.
    You would have to do some perspective math to angle of the perspective to make it orientate relative to the player, but thats one step closer to a real portal
    (would make you see through portal a into and out of portal b)
    also at this point, write a vs extension for sm lua (one might already exist)

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +1

      no you can't do this with sm.

    • @theothercreare
      @theothercreare 2 роки тому +1

      @@Dr-Pixel Well then, time for plan B
      You could send many raycasts out each of the portals, then create a corresponding part on the other portal where the raycast was shot, this small part would replicate the color of the part the raycast hit
      basically a custom raycast renderer that renders to the other portal
      It would be decently pixelated but it could be better than nothing.

  • @loganinnityt3337
    @loganinnityt3337 2 роки тому +1

    8:52 Oh My God the cube has entered the Backrooms

  • @dalpilcher5254
    @dalpilcher5254 2 роки тому

    Imagine "Hey bro I made this new car!"
    You just hear a spudgun go off
    "What car?"
    "The one ri- *oh crap."*

  • @daryldeediongson769
    @daryldeediongson769 2 роки тому

    Heres an idea: Draggable wedges if its possible theres an 99.9% scrapman will use it

  • @Redstonista
    @Redstonista 2 роки тому +1

    Really cool, i can't even immagine what player can do whit this mod and the immense creativity you can have in scrap mechanic

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Me neither! Would be epic to see some puzzles or challenges with this.

  • @laszlototh5622
    @laszlototh5622 2 роки тому

    Finnaly! A working Portal mod! Yeah!

  • @Gorill22
    @Gorill22 2 роки тому +1

    WOW you did a great job on this Thanks for putting in the hours for us :)

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Glad you enjoyed it! That makes worth all the effort.

  • @slayerfan61
    @slayerfan61 11 місяців тому

    dude, you had me crying!!!

  • @cid2087
    @cid2087 2 роки тому

    thank you for accepting my request

  • @zxzx8173
    @zxzx8173 2 роки тому

    you deserve much more subscribers your content is so good

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      One of your ideas will be in the next vid... 0_0

  • @doozyprivate10
    @doozyprivate10 2 роки тому

    Great vid

  • @valian8985
    @valian8985 2 роки тому

    Axolotl should hire you xD

  • @Scrap-Bran
    @Scrap-Bran 2 роки тому

    this is Awesome.

  • @klaasmuller9663
    @klaasmuller9663 2 роки тому

    No way u didnt... I literally just completed portal for the 1239th time, and now im getting in to scrap mechanic again

  • @MrHammy-lk1rv
    @MrHammy-lk1rv 2 роки тому +1

    This video was cool but I wish there was a bit more of an explanation did you spawn a second pole in front that was invisible that also can’t teleport you back is that’s how you teleported

    • @Dvance
      @Dvance 2 роки тому +1

      What do you mean?

    • @MrHammy-lk1rv
      @MrHammy-lk1rv 2 роки тому +1

      What did he do so like what mechanic did he use

  • @Dvance
    @Dvance 2 роки тому +3

    I think it'd be cooler if you made the portal placeable on only White bocks that are big enough, or a certain block in general. I watched the video through with no audio, so I'm just imagining the problems you faced until I get to listen!

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      I think you can just place walls on bearings. Then the portals would go right through them...

    • @Dvance
      @Dvance 2 роки тому

      @@Dr-Pixel well that's good. It might be cool if you were to make some Portal Map templates for people to build on if people wanted to make their own portal puzzle in Scrap Mechanic, and only wanted portals to attach to certain walls.

  • @guphord
    @guphord 2 роки тому

    2 OF THE BEST GAMES
    COMBINED

  • @poomonyoutube1607
    @poomonyoutube1607 2 роки тому

    1:11 Should've left the wrong text colour, would've been so funny)

  • @8bitbunnie936
    @8bitbunnie936 2 роки тому

    another amazing mod! all that time really payed off

  • @willraya1791
    @willraya1791 2 роки тому

    so cool

  • @foehammere4192
    @foehammere4192 2 роки тому

    you could add a delay time to the exit and enter times

  • @Evgeny_372
    @Evgeny_372 2 роки тому

    I didn't quite get it, does it work for the player?

  • @Goofy-15
    @Goofy-15 2 роки тому

    I wass literally looking on the workshop for a portal gun mod a week ago, and little did I know you were making it

  • @_miobrot_603
    @_miobrot_603 2 роки тому

    It was only a matter of time before dpp made this

  • @robertdemare6140
    @robertdemare6140 2 роки тому +2

    question: can u also make portal blocks? like draggable portals, and maybe even seethrough? (totally not a specific thing i need for an infinite challenge (within sandbox, because can have it in challenge mode), no totally not)

    • @tuluppampam
      @tuluppampam 2 роки тому

      it would take a looot of work and it would be very long to make
      probably won't be done for a long time

  • @dark-5825
    @dark-5825 2 роки тому

    "Omg object = oject, THIS TYPO! if i've just- no wonder it never works"
    Corrects it with "ovject"

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      That's modding in a nutshell...

  • @braindeadjet8086
    @braindeadjet8086 2 роки тому +1

    Could you make pistons with collisions or collistons.

  • @blackenderman9269
    @blackenderman9269 2 роки тому

    now make a placable portal gun (2 seperate for blue and orange)

  • @ArEyeses6751
    @ArEyeses6751 2 роки тому

    Rather than doing some weird cooldown thing to stop repeated teleporting, just check if something's velocity is away from the portal. If it is, then don't teleport it.

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      I don't create things with velocity away from the portal, so it wouldn't work.

  • @foehammere4192
    @foehammere4192 2 роки тому +1

    your coding pain brings us happiness keep it up...lol😂😂😂😂🤣🤣🤣

  • @V13STOP
    @V13STOP 2 роки тому

    Now we just need a way to make portal guns with different channels for multiplayer if there isn't already

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      That would be possible. You would just need portal guns with different portals.

  • @AJBallistic
    @AJBallistic 2 роки тому +1

    this is awsome i think it would be cool though if you had a custom model for the gun its self

    • @Dvance
      @Dvance 2 роки тому +1

      And a custom model and animation for the portal, I don't think it's possible to do in-game.

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +1

      I don't have a clue about 3d models sadly

    • @Aderalls
      @Aderalls 2 роки тому

      @@Dr-Pixel use Blender, its free, open source, and there are a ton of tutorials

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      @@Aderalls Use blender! It's easy they said...

    • @Aderalls
      @Aderalls 2 роки тому

      @@Dr-Pixel I'm still learning myself 😅

  • @najlitarvan921
    @najlitarvan921 2 роки тому

    an idea for a mod block: a gearbox, would take one rotational input and let rotation output, there would be an option which would shift the strength to speed ratio of the input, probably 4:1, 2:1,1:1,1:2,1:4

    • @forgivenid
      @forgivenid 2 роки тому

      I'm experiencing a strong deja vu moment

    • @bruno_yt
      @bruno_yt 2 роки тому

      He already made a gearbox mod. Or am I misunderstanding something?

    • @najlitarvan921
      @najlitarvan921 2 роки тому

      @@bruno_yt i guess i didn't saw it

  • @guillermoelnino
    @guillermoelnino 2 роки тому +1

    not sure how this could be added to the world famous fant survival mod. Maybe get it from the trader for 50 pineapple crates?

    • @SCOP_
      @SCOP_ 2 роки тому

      Make it 500

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +1

      just don't. Not everything has to be fant compatible.

    • @guillermoelnino
      @guillermoelnino 2 роки тому

      @@Dr-Pixel lol, I know. it would be a bit silly to try and work that in.

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +2

      @@guillermoelnino Fant doesn't even want any other mods in his. If so, he would care about the modpacks that use his mod. He doesn't even have legacy versions.

    • @guillermoelnino
      @guillermoelnino 2 роки тому

      @@Dr-Pixel yeah, theres that. excellent stand alone mod as is my man.

  • @the_infinity_
    @the_infinity_ 2 роки тому

    can you do the goop now (proportion, repulsion)

  • @_NoName_314
    @_NoName_314 2 роки тому

    holy code! you're crazy and we are thankful for that hahahahahah :D

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      I don't think I've ever met a sane coder...

  • @TheBobbybates
    @TheBobbybates 2 роки тому

    i drove my car into the blue portal at high speed..... the game froze, i had to shut down to get control back haha good mod though lots of fun on foot :)

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +1

      Well, it is kinda jank. But portal fysiks can get easily out of control.

    • @TheBobbybates
      @TheBobbybates 2 роки тому

      @@Dr-Pixel haha yeah but it’s all good, new exciting thins for sm :) enjoying it!

  • @KrawllUnchained
    @KrawllUnchained 2 роки тому

    if i'm lucky i can just drop the Gloowwwwwww-Kayyyy. 🤣🤣🤣

  • @DrPeeper
    @DrPeeper 2 роки тому

    I would like it to be a mod(challenges), but custom game is enough

  • @JoachimVampire
    @JoachimVampire 2 роки тому

    if you watch closely at 12:03 to 12:05 if you look at the line that says "object = oject" he proceeds to spell "ovject" instead.
    i totally died with that. xD i feel your pain...

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +1

      Lol, you are right! At least it's fixed on the workshop version.

  • @therafaello
    @therafaello 2 роки тому

    Take the portal mode to survival

  • @thepolishtech1552
    @thepolishtech1552 2 роки тому +2

    Can you make a mod/framework that allows ppl to make custom guns by just adding files into a folder
    For example
    .cfg (fire speed, projectile velocity)
    .blend (models)
    .mp3 (sounds)

    • @Dvance
      @Dvance 2 роки тому

      That's possible, that's a good idea.

    • @jblock9675
      @jblock9675 2 роки тому

      mp3*
      mp4 is for vids

    • @thepolishtech1552
      @thepolishtech1552 2 роки тому

      @@jblock9675 correct will fix

    • @thepolishtech1552
      @thepolishtech1552 2 роки тому

      @@Dvance i mean id love a titanfall2 epg but i dont know how to code it in

    • @bruno_yt
      @bruno_yt 2 роки тому

      Why not just make an own mod? With the better mod support you can make tools with the mod tool, add audio bank files and add 3d models

  • @AcousticJammTheGamer
    @AcousticJammTheGamer 2 роки тому

    ok but how about the Rick & Morty portal gun

  • @Live-Paradox
    @Live-Paradox 2 роки тому

    Omg you are so creative!!!
    (Oh wait you just get your viewers to give the creativeness)

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Yes, that's how it works.

  • @pieater9000
    @pieater9000 2 роки тому

    will it work if i will join someone that doesnt have that mod

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Whoever joins will download the mod as well. However, both players share the same portals

    • @pieater9000
      @pieater9000 2 роки тому

      @@Dr-Pixel is it for beta version?

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      @@pieater9000 yes

    • @pieater9000
      @pieater9000 2 роки тому

      oooooooooooooooh

    • @pieater9000
      @pieater9000 2 роки тому

      its for custom games...

  • @BBQCTX
    @BBQCTX 2 роки тому

    Nice....

  • @zyronreinemiguelfernandoa.5840
    @zyronreinemiguelfernandoa.5840 2 роки тому

    Pls make a WOC moonwalk

  • @Fachowiec-do-jednego-kilowolta
    @Fachowiec-do-jednego-kilowolta 2 роки тому

    You can make gearbox like from real car? (Block)

    • @bruno_yt
      @bruno_yt 2 роки тому

      He already did in a previous video.

  • @dvanderspoelricksen
    @dvanderspoelricksen 2 роки тому

    make a mod with a yeet tool and yeet engine
    everytime you yeet a creation or animal you get more yeet energy batteries with those batteries
    you can power a yeet engine that yeets anything it touches so put the engine on the front of the vehicle
    and the yeet engine is way to powerful

  • @augb.b.3522
    @augb.b.3522 2 роки тому

    Make McDonald’s happy meal with diabetes burger and 10x msg fries with a side of E. coli Mcnuggies

  • @julienmeunierwolfgunnm6536
    @julienmeunierwolfgunnm6536 2 роки тому

    A berring on 45° please

  • @gamma2581
    @gamma2581 2 роки тому

    How about making a block like metal not let portals on themselves

  • @Redking_11
    @Redking_11 2 роки тому

    Can you make gun that lets you walk trough walls and when you press r you cant walk any more and it would look little bit like 1.51

    • @bruno_yt
      @bruno_yt 2 роки тому

      Like disabling collisions for the object you shoot at?

  • @JustIn-sr1xe
    @JustIn-sr1xe 2 роки тому

    I wish I knew how to code. Unfortunately- I can't spot errors in even simple code.

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Well, if it says "Object = oject" it's pretty obvious.

  • @dwightstevenvalde7851
    @dwightstevenvalde7851 2 роки тому +1

    Hey Pixel can u make terraria in sm

  • @tomekruban9652
    @tomekruban9652 2 роки тому

    in a steam it not work

  • @arturgame4614
    @arturgame4614 2 роки тому

    Can you make a wideo how to make a custom recepise in craftbot?

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      There is a literally a .json file for this...

  • @TheMagneticDude
    @TheMagneticDude 2 роки тому

    lol I made a portal gun before and the stupid feedback loop of the two portals teleporting between each other continuously was SO ANNOYING lol

  • @blackrainbow4898
    @blackrainbow4898 2 роки тому

    Next time add bloons tower defense (i mean the whole game lol)

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Hmmm, I could try like a tower defense custom game I guess.

  • @monke7919
    @monke7919 2 роки тому

    Scrapature science

  • @buhhboii427
    @buhhboii427 2 роки тому

    How are you guys doin :)

  • @andreipeters641
    @andreipeters641 2 роки тому

    Wöööaaaakkk

  • @camera_manu
    @camera_manu 2 роки тому

    i understand you, and your frustation! i really do, when it's not working something! Leave a like. one frustration in minus!

  • @spud5921
    @spud5921 2 роки тому

    add minecraft's creeper to the game as a bot

  • @alexanderbouwer2273
    @alexanderbouwer2273 2 роки тому

    Make a second lift (:

  • @fourtyfiftynine
    @fourtyfiftynine 2 роки тому +1

    bro what

  • @apersunthathasaridiculousl1890
    @apersunthathasaridiculousl1890 2 роки тому +1

    what can’t you do?

  • @Creative_YT
    @Creative_YT 2 роки тому +1

    Early sorta

  • @fourtyfiftynine
    @fourtyfiftynine 2 роки тому

    Thinking aobut this you can just hyper travel

    • @Dvance
      @Dvance 2 роки тому

      Yeah, he didn't add a distance limit I don't think.

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Yeah, this is great for moving fast across the map

  • @pieterstoon4380
    @pieterstoon4380 2 роки тому +1

    Coding is just spain without the s

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому +1

      Just wait until Friday...

  • @Ekipsogel
    @Ekipsogel 2 роки тому

    I left a comment for algorithm purposes.

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Nice! More views on these vids, the more incentive I have to make more!

  • @crossedlife6950
    @crossedlife6950 2 роки тому

    print("yo mama") am i the only one that seen it XD

  • @curlychump4074
    @curlychump4074 2 роки тому

    Oh no

  • @00FantMod
    @00FantMod 2 роки тому

    "hitNormal"

  • @SlujM
    @SlujM 2 роки тому

    Fix shark ai
    No
    Make portals
    Yes

    • @Dr-Pixel
      @Dr-Pixel  2 роки тому

      Yes. Shark ai is bad...

    • @Dvance
      @Dvance 2 роки тому

      @@Dr-Pixel Shark AI is the best!

  • @cyantasks7129
    @cyantasks7129 2 роки тому

    object = oject
    yas