Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: [Request / Listing] [gm6]Multiple Room Doors  (Read 1446 times)

0 Members and 1 Guest are viewing this topic.

pxl_moon (dotyue)

Team Dekunutz
[Request / Listing] [gm6]Multiple Room Doors
« on: June 24, 2006, 06:05:40 am »
  • .越//
  • *
  • Reputation: +5/-1
  • Offline Offline
  • Gender: Male
  • Posts: 2280
how do i make it that when link enters a room from north the view starts there and objLink starts there & when he enters from south that the objLInk starts from south and the view too... it seems i cant activate a view through code and say "when he was room1 then he comes from south"
« Last Edit: February 11, 2012, 09:06:45 am by Niek »
Logged

~~Resources~~
~Minish Cap Style~

Minish Cap Beta:Firerod Icon, Majoras Mask:ChuChu, Ocarina of Time:Gossip Stone, Oracle Series:Link plays the "Herpes of Ages", Impa, Wand Maker: HUD
~GB-Zelda Style~
Ocarina of Time: Deku Caca
~Other~
Paper Mario Style Zelda&Link, Tetra Trackers HUD-Cleanups

pxl_moon (dotyue)

Team Dekunutz
Re: [request, gm6]Multiple Room Doors
« Reply #1 on: June 25, 2006, 11:43:42 am »
  • .越//
  • *
  • Reputation: +5/-1
  • Offline Offline
  • Gender: Male
  • Posts: 2280
*bump* noone? anyone? someone?
Logged

~~Resources~~
~Minish Cap Style~

Minish Cap Beta:Firerod Icon, Majoras Mask:ChuChu, Ocarina of Time:Gossip Stone, Oracle Series:Link plays the "Herpes of Ages", Impa, Wand Maker: HUD
~GB-Zelda Style~
Ocarina of Time: Deku Caca
~Other~
Paper Mario Style Zelda&Link, Tetra Trackers HUD-Cleanups

Re: [request, gm6]Multiple Room Doors
« Reply #2 on: June 25, 2006, 12:00:10 pm »
  • Master Of Disaster
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 2330
Ok, use variables in this one. When Link would be in a room called "south", add "global.currentroom=south" in the room create - event. Then let's say, there's a room called "north". Now, in the room create - event of room "south", add
Code: [Select]
if global.currentroom=north
instance_create(x,y,objLink)
global.currentroom=south
then in the room "north", add in the room create - event:
Code: [Select]
if global.currentroom=south
instance_create(x,y,objLink)
global.currentroom=north
Hope you got the idea. I'm not very good in explaining these things
Logged


.TakaM was here
  • Lumeuni

mit

Re: [request, gm6]Multiple Room Doors
« Reply #3 on: June 25, 2006, 12:08:34 pm »
  • QBASIC programmer since age 4. Take that, world.
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Posts: 1079
The view should automatically follow Link, but if you want it to specifically start somewhere, you can set its position using view_xview and view_yview.
Logged
Programmer / Spriter / Level designer / Game Director / Web Designer / Music Sequencer for
Random Highscore table:

Play the Kousou Arcade today!
  • Kousou Games
Re: [request, gm6]Multiple Room Doors
« Reply #4 on: June 25, 2006, 01:04:27 pm »
  • Txet Lanosrep
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 700
« Last Edit: February 11, 2012, 09:05:39 am by Niek »
Logged

Retro
  • TITANIC

pxl_moon (dotyue)

Team Dekunutz
Re: [request, gm6]Multiple Room Doors
« Reply #5 on: June 25, 2006, 02:57:07 pm »
  • .越//
  • *
  • Reputation: +5/-1
  • Offline Offline
  • Gender: Male
  • Posts: 2280
Does this help?

http://www.zfgc.com/forum/index.php?topic=4591.0

no


Ok, use variables in this one. When Link would be in a room called "south", add "global.currentroom=south" in the room create - event. Then let's say, there's a room called "north". Now, in the room create - event of room "south", add
Code: [Select]
if global.currentroom=north
instance_create(x,y,objLink)
global.currentroom=south
then in the room "north", add in the room create - event:
Code: [Select]
if global.currentroom=south
instance_create(x,y,objLink)
global.currentroom=north
Hope you got the idea. I'm not very good in explaining these things

thx, i had to make a few additions and in the second entrance doent move the cam, but i have what i wanted
« Last Edit: February 11, 2012, 09:06:12 am by Niek »
Logged

~~Resources~~
~Minish Cap Style~

Minish Cap Beta:Firerod Icon, Majoras Mask:ChuChu, Ocarina of Time:Gossip Stone, Oracle Series:Link plays the "Herpes of Ages", Impa, Wand Maker: HUD
~GB-Zelda Style~
Ocarina of Time: Deku Caca
~Other~
Paper Mario Style Zelda&Link, Tetra Trackers HUD-Cleanups

Re: [request, gm6]Multiple Room Doors
« Reply #6 on: June 26, 2006, 03:11:35 pm »
  • Master Of Disaster
  • *
  • Reputation: +0/-0
  • Offline Offline
  • Gender: Male
  • Posts: 2330
Hey, always glad to help ;)
Logged


.TakaM was here
  • Lumeuni
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.019 seconds with 51 queries.

anything