The_Lost_Hylian |
Posted on 01-30-13, 05:24 pm
|
Goomba
Karma: 33 Posts: 2/27 Since: 01-25-13 |
I'd like to know if it's possible to make a door appears after killing all enemies or after collecting some coins.
|
Freeze |
Posted on 01-30-13, 06:54 pm
|
Karma: 3752 Posts: 1740/2112 Since: 06-28-11 |
The_Lost_Hylian |
Posted on 01-30-13, 08:01 pm
|
Goomba
Karma: 33 Posts: 3/27 Since: 01-25-13 |
Thank you for your Help Frezze, I will try it later.
|
The_Lost_Hylian |
Posted on 02-04-13, 05:59 am
|
Goomba
Karma: 33 Posts: 9/27 Since: 01-25-13 |
Freeze, the target id is the output id right? I set output id of the sprite 168 with the id of the door but when i kill all enemies my door does not appear, what else is necessary to make it work?
|
Freeze |
Posted on 02-04-13, 04:24 pm
|
Karma: 3752 Posts: 1753/2112 Since: 06-28-11 |
The_Lost_Hylian |
Posted on 02-04-13, 07:44 pm
|
Goomba
Karma: 33 Posts: 10/27 Since: 01-25-13 |
Yes, I have a zone and the zone id is set in the enemy zone id of the sprite 168, mario zone id is set 255 and the target id is the id of the door but when i test my level the door is visible. How can i add an image here?
|
Freeze |
Posted on 02-04-13, 08:51 pm
|
Karma: 3752 Posts: 1754/2112 Since: 06-28-11 |
The_Lost_Hylian |
Posted on 02-04-13, 09:47 pm
|
Goomba
Karma: 33 Posts: 11/27 Since: 01-25-13 |
Yes i have put enemies inside the zone but the door is not hidden, i'd like to show what i have done but i have no idea how to put images here
|
Hiccup |
Posted on 02-05-13, 07:10 am
|
Birdo
Karma: 2754 Posts: 504/2091 Since: 06-26-11 |
The door should be the 'Event Triggered Door' sprite.
And if you want to display images here. 1. Take the screenshot. Most common method: PrtSc / Print Screen key on the keyboard, and paste it into paint and save. 2. Upload it:. Most common method: go to imgur.com and upload the image, then copy the direct link / address of the image. 3. Put it "in" your post. Most common method: write [img][/img] in your post and paste the image link in between the two blocks, like this [img]www.website.com/images/image1.png[/img]
|
Freeze |
Posted on 02-05-13, 07:08 pm
|
Karma: 3752 Posts: 1755/2112 Since: 06-28-11 |
The_Lost_Hylian |
Posted on 02-05-13, 09:50 pm
|
Goomba
Karma: 33 Posts: 13/27 Since: 01-25-13 |
Thanks Hiccup, I was using a door object instead of sprite 292 Event Activated Door, now the door is working ok =D
|
Freeze |
Posted on 02-06-13, 12:10 pm
|
Karma: 3752 Posts: 1756/2112 Since: 06-28-11 |
Posted by The_Lost_Hylian I set output id of the sprite 168 with the id of the door Then, how could you set the ID of the door? A door object hasn't got an option to set an ID. |
The_Lost_Hylian |
Posted on 02-06-13, 04:00 pm
|
Goomba
Karma: 33 Posts: 14/27 Since: 01-25-13 |
The first time i was only using an entrance(door) which has an entrance id and i set that id as the Target id of the sprite 168 and the door did not appear after killing enemies(I did not know how the door worked), the second time i put a door object and then i set an entrance(door) and set the entrance id as the Target id of sprite 168(It did not work) and in the third time i used the sprite 292 instead of door object and it worked fine.
One more question Freeze: Is it possible to create bricks around Mario and make appear some enemies when he enters into a zone and destroy the bricks after Mario kill them? |
Hiccup |
Posted on 02-06-13, 04:18 pm
|
Birdo
Karma: 2754 Posts: 506/2091 Since: 06-26-11 |
Yes that is possible, but you cannot make the enemies appear out of nowhere - you would have to use a workaround like:
putting them above mario in the ceiling which is destroyed and the enimies fall down but onto a platform above mario (to give the player a chance to react), then in a few seconds they walk over to mario. |
The_Lost_Hylian |
Posted on 02-06-13, 05:07 pm
|
Goomba
Karma: 33 Posts: 15/27 Since: 01-25-13 |
Ok Hiccup, I am thinking to use sprite 197 to destroy the platform where the enemies are to make them fall and to make bricks appear around Mario but how do i activate that sprite at the moment that Mario enters in a determined zone(I have only used with switches) ? Can i use sprite 168 to activate the sprite 197? If so the sprite 197 will be activated as soon as Mario enters in a zone If the zone does not have enemies inside of it?
|
Hiccup |
Posted on 02-06-13, 06:01 pm
|
Birdo
Karma: 2754 Posts: 507/2091 Since: 06-26-11 |
yes you can use that with zones
|
The_Lost_Hylian |
Posted on 02-06-13, 10:39 pm
|
Goomba
Karma: 33 Posts: 17/27 Since: 01-25-13 |
Using sprite 168 combined with a zone to activate sprite 197 to create bricks when Mario enters in a zone did not work. I thought that using sprite 168 with a zone without enemies will activate the sprite 197 as soon as Mario enters in the zone but it did not work, It looks like to activate sprite 197 using sprite 168 is necessary to have at least one enemy in the zone or is possible to make it work without enemies in the zone?
|
Hiccup |
Posted on 02-07-13, 04:42 pm
|
Birdo
Karma: 2754 Posts: 511/2091 Since: 06-26-11 |
You can do it without enemies, yes.
|
The_Lost_Hylian |
Posted on 02-07-13, 06:05 pm
|
Goomba
Karma: 33 Posts: 18/27 Since: 01-25-13 |
Hiccup, I already try it but it did work. Here it is what i have:
Zone ID: 2 Sprite 168 Target ID: 2 Switch Mode: Activates Target Triggering ID: 0 Usage Mode: Activate or deactivate? Mario Powerup: Any Mario Mario Status: In Zone Enemy Zone ID: 2 Mario Zone ID: 255 Sprite 197 Input ID 1: 2 Input ID 2: 0 Type: On/Create First Block Type: Bricks Input activation: Permanent Pattern: Solid Is there anything wrong with the settings of sprites and zone? |
Freeze |
Posted on 02-08-13, 08:22 pm
|
Karma: 3752 Posts: 1760/2112 Since: 06-28-11 |