Author Topic: How to make the top and sides of screen work like walls and ceiling?  (Read 1233 times)

l3agu32

  • Wannabe
  • Posts: 22
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 51.0.2704.103 Chrome 51.0.2704.103
    • View Profile
  • Playstyle: Keyboard
How to make the top and side of screen work like walls and ceiling, instead of killing the kid. But with the bottom of the screen still killing the kid. Thank you!

Zero-G

  • [+--oo]
  • Alumi
  • Spike Dodger
  • Administrator
  • Posts: 167
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 51.0.2704.103 Chrome 51.0.2704.103
    • View Profile
    • My twitch channel
Re: How to make the top and sides of screen work like walls and ceiling?
« Reply #1 on: July 01, 2016, 04:11:01 PM »
you could place blocks above the room or 1 long block that does the same.
im too lazy to figure out how and where you would need to go to code it that way.be lazy be smart

Thenader2

  • Wannabe
  • Posts: 25
  • yo
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Firefox 47.0 Firefox 47.0
    • View Profile
  • Playstyle: Keyboard
Re: How to make the top and sides of screen work like walls and ceiling?
« Reply #2 on: July 01, 2016, 04:18:12 PM »
You can do it in some ways, the way I do it is the lazy way.
I just take a normal block and on its creation code I add image_xscale for ceilings or add image_yscale for walls; after that I drag them outside of the room. Basically what Zero said but with image scaling :p
Code: [Select]
image_xscale=25 //for ceiling
image_yscale=19 //for walls
Probably the guy with the lamest username.

pieceofcheese87

  • Global Moderator
  • The Kid
  • Posts: 346
  • Personal Text
  • OS:
  • Windows 8.1/Server 2012 Windows 8.1/Server 2012
  • Browser:
  • Chrome 51.0.2704.103 Chrome 51.0.2704.103
    • View Profile
    • Twitch Tv Channel
  • Playstyle: Keyboard
Re: How to make the top and sides of screen work like walls and ceiling?
« Reply #3 on: July 01, 2016, 04:18:25 PM »
put this in the world's room start event and it will be in every room:
Code: [Select]
a=instance_create(-32,0,objBlock);
a.image_yscale=19;
b=instance_create(832,0,objBlock);
b.image_yscale=19;
c=instance_create(0,-32,objBlock);
c.image_xscale=25;
Signature