Your questions, our answers

Talk about the level designer. Read about tips and tricks and share ideas.

Moderator: Level Moderator

Re: Your questions, our answers

Postby Karyete » July 31st, 2014, 12:10 pm

How the hell do you make 1-way platforms (ones where they warp back to their start point once they finish their route)? I have no idea how that works.
Image
Major credit goes to l.m for this!

Museum of Monsters

Most recent SM63 / LL level: Flickering Forest
User avatar
Karyete
Moderator

 
Posts: 1745
Joined: March 6th, 2011, 4:35 am
Location: Yes

LL Level Designer Contest Winner
LL LDC #4: Ruins/Temple

Thumbs Up given: 273 times
Thumbs Up received: 148 times

Re: Your questions, our answers

Postby Purple Coin » July 31st, 2014, 2:45 pm

Is it possible to modify the maximum health of the player?
~Purplegaze / Purple Coin

That one guy who made an account on this forum in 2011 when he was 8 years old and thought he was cool.
User avatar
Purple Coin
Guardian to Glitch Castle

 
Posts: 5
Joined: June 5th, 2011, 9:01 am

Thumbs Up given: 1 time
Thumbs Up received: 0 times

Re: Your questions, our answers

Postby AwesomeJRFD » July 31st, 2014, 3:06 pm

Karyete wrote:How the hell do you make 1-way platforms (ones where they warp back to their start point once they finish their route)? I have no idea how that works.

Use this and change the path. It seems to only work on touch-and-go platforms with custom paths.

Purple Coin wrote:Is it possible to modify the maximum health of the player?

Give them a Golden Apple or Cyan Shield for +1 max HP, a Full Iron Armor for +2 max HP, or a Cursed Amulet for -1 max HP.
Image
User avatar
AwesomeJRFD
Honorary Member

 
Posts: 836
Joined: November 11th, 2010, 2:06 pm
Location: Sixteenth Dimension: Hyperspace

Runouw Votes Winner
Best Thread (An Explanation of Triggers) in Runouw Votes Summer 2013

Thumbs Up given: 50 times
Thumbs Up received: 38 times

Re: Your questions, our answers

Postby Purple Coin » July 31st, 2014, 4:24 pm

AwesomeJRFD wrote:
Purple Coin wrote:Is it possible to modify the maximum health of the player?

Give them a Golden Apple or Cyan Shield for +1 max HP, a Full Iron Armor for +2 max HP, or a Cursed Amulet for -1 max HP.


Equipment?? What's equipment? How do I give it?
~Purplegaze / Purple Coin

That one guy who made an account on this forum in 2011 when he was 8 years old and thought he was cool.
User avatar
Purple Coin
Guardian to Glitch Castle

 
Posts: 5
Joined: June 5th, 2011, 9:01 am

Thumbs Up given: 1 time
Thumbs Up received: 0 times

Re: Your questions, our answers

Postby AwesomeJRFD » July 31st, 2014, 7:07 pm

Purple Coin wrote:
AwesomeJRFD wrote:
Purple Coin wrote:Is it possible to modify the maximum health of the player?

Give them a Golden Apple or Cyan Shield for +1 max HP, a Full Iron Armor for +2 max HP, or a Cursed Amulet for -1 max HP.


Equipment?? What's equipment? How do I give it?

In Null Space, there is an inventory system. You can give the player items in the LD through the "Create Item Drop" trigger function. You can also have the player start with pre-equipped items in the level's main properties window.

In these you need to specify the equipment ID. Use my ID reference list for those.
Image
User avatar
AwesomeJRFD
Honorary Member

 
Posts: 836
Joined: November 11th, 2010, 2:06 pm
Location: Sixteenth Dimension: Hyperspace

Runouw Votes Winner
Best Thread (An Explanation of Triggers) in Runouw Votes Summer 2013

Thumbs Up given: 50 times
Thumbs Up received: 38 times

Re: Your questions, our answers

Postby CedarBranch » October 14th, 2014, 12:11 pm

AwesomeJRFD wrote:Poison Effect & Cure
(I thought I posted this here before, but it may have gotten removed for some reason)



  1. Place 4 triggers around the player that each move all 4 with the player (You can use my player coordinates detector for that)
  2. Modify those triggers to also move the spikes item which has a separate tag than the 4 triggers ("poisonspikes" for example), and is about 256 Item Coordinates above the player's start position:
    Code: Select all
    llitem:0;144;1504;1;0;0|6:player;-112;1504;512;256;1;1;move,player,0,32,0,0:move,poisonspikes,0,32,0,0:add,g_playerY,g_playerY,32|6;110;1444;64;64;0;1;set,g_playerX,144:set,g_playerY,1504|6:player;-128;1232;256;512;1;1;move,player,-32,0,0,0:move,poisonspikes,-32,0,0,0:sub,g_playerX,g_playerX,32:set,g_F,0|6:player;-112;1216;512;256;1;1;move,player,0,-32,0,0:move,poisonspikes,0,-32,0,0:sub,g_playerY,g_playerY,32|6:player;160;1232;256;512;1;1;move,player,32,0,0,0:move,poisonspikes,32,0,0,0:add,g_playerX,g_playerX,32:set,g_F,1
    The spikes item should follow the player just outside of the camera's view, assuming you haven't zoomed out or changed the camera in any way.
  3. When you want to move the spikes item to the player, have the following code in the level and use Activate: "poison":
    Code: Select all
    llitem:6:poison;736;1600;16;16;0;1;branch,5,2,g_poisoned,0:exit:move,poisonspikes,0,512,0,0:set,g_poisoned,1
  4. When you want to move the spikes item away from the player, have the following code in the level and use Activate: "cure":
    Code: Select all
    llitem:6:cure;752;1600;16;16;0;1;branch,5,2,g_poisoned,1:exit:move,poisonspikes,0,-512,0,0:set,g_poisoned,0
  5. As you can see, I also included a boolean variable check (g_poisoned) to make sure that "poison" or "cure" aren't activated twice in a row, which would cause the spikes to move too far above or below the player.

Proof of concept level using the codes I provided above (I left the spikes visible so you can see what happens):
Code: Select all
150x50~.7050aa34amaa149amaa149amaa115~~~~0;144;1504;1;0;0~6:mushroom;536;1472;48;32;0;1;playsound,55:activate,poison:sleep,150:activate,cure:sleep,30:turnon,this|6:player;-112;1504;512;256;1;1;move,player,0,32,0,0:move,poisonspikes,0,32,0,0:add,g_playerY,g_playerY,32|6;112;1440;64;64;0;1;set,g_playerX,144:set,g_playerY,1504|6:player;-128;1232;256;512;1;1;move,player,-32,0,0,0:move,poisonspikes,-32,0,0,0:sub,g_playerX,g_playerX,32:set,g_F,0|6:player;-112;1216;512;256;1;1;move,player,0,-32,0,0:move,poisonspikes,0,-32,0,0:sub,g_playerY,g_playerY,32|6:player;160;1232;256;512;1;1;move,player,32,0,0,0:move,poisonspikes,32,0,0,0:add,g_playerX,g_playerX,32:set,g_F,1|272:poisonspikes;144;992;2;2;0;;0|165:mushroom;560;1504;1;1;0;400,100,50;0|90;272;1504;-1;1;0;;0;4;0;camera,1,0,0,0,mushroom,0,0,10:dialog,1,Be%20careful%21%20Touch%20a%20poison%20mushroom%20and%20you%20will%20be%20poisoned%20for%205%20seconds%21:camera,1,0,0,0,tree,0,0,10:dialog,1,Touch%20a%20tree%20to%20cure%20yourself%20if%20you%20get%20poisoned.:cameraoff;0|133:tree;816;1504;1;1;0;;0|6:tree;792;1408;48;96;0;1;playsound,47:stoptrigger,mushroom:activate,cure:invis_wait:turnon,this:turnon,mushroom|6:poison;0;1600;16;16;0;1;branch,5,2,g_poisoned,0:exit:move,poisonspikes,0,512,0,0:set,g_poisoned,1|6:cure;16;1600;16;16;0;1;branch,5,2,g_poisoned,1:exit:move,poisonspikes,0,-512,0,0:set,g_poisoned,0|2;1104;1504~Poison%20proof%20of%20concept~AwesomeJRFD~3~4;0;0~1~1;0~0;0;3~1378948444~0.4

This indeed works the way it should, however, I found that something needs to be changed when going through transitions and back while the poison is still running, but I fail to figure out what it is exactly, like EXACTLY. I'm using a "slowed down" poison so that the player doesn't get killed too quickly. After 180 frames, the "poison" trigger is activated for 60 frames before activating the "cure" trigger, and it repeats after 120 more frames to go back to activating the "poison" trigger again. Basically, the problem is that whenever I try to fix it so that the spikes go back up (or down?) when they're supposed to (with that boolean variable check) after returning to the transition it started in, they either hurt the player before going back up or they will somehow fail to pass the boolean variable check and I don't know why so. Strangely, it may even work correctly at random. It think it depends on whether it is running the cure or the poison that it will break trying to fix it with other trigger hitboxes, after leaving and coming back through a transition. I really don't know for sure, though; it seems mixed.

AKA: I need to know how to fix it so that the spikes NEVER go too far down or up when passing transitions and coming back. Also how to make sure the player doesn't get hurt just as they return through the transition, before the spikes go back up (or down?); it seems random. I'm looking for trigger hitboxes that go right next to mandatory transitions ON BOTH SIDES, but I can't seem to find an arrangement of functions that prevents the cure and/or poison from working improperly. Like every time.
Really AKA: I need to know how before I can continue working on the level that needs the fix.


EDIT: Moved post here to make it easier to find.
Plus, I highlighted the most important parts of this post, and the especially important parts are highlighted differently. Just to make it easier to understand.

EDIT2: I forgot to mention that I'm using JSlayerXero's Alternate Player Coordinates Detection. His poison demonstration version:
Quote: show
JSlayerXero wrote:Alternate Player Coordinates Detection

This is an alternative to JRFD's Player Coordinates Detector. Instead of the hitboxes being huge and detecting in full blocks, these move 8 pixels at a time, and are set up so that the player will collide with more if it's moving quickly. There is a speed limit I'm not quite aware of though. It does involve significantly more triggers, which can be a bit annoying if you're trying to manually combine it with the poison affect JRFD posted since you'll need to alter/add or remove several move triggers. There might be some other slight differences I'm not quite aware of yet.

These are the raw items, not programmed to work with poison. Springboard button was added to test how fast you can move without breaking this. Feel free to experiment yourself.
Code: Select all
llitem:6:player;64;1504;160;80;1;1;move,player,0,8,0,0:add,g_playerY,g_playerY,8|6:player;48;1408;80;160;1;1;move,player,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;64;1392;160;80;1;1;move,player,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;160;1408;80;160;1;1;move,player,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;48;1408;72;160;1;1;move,player,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;48;1408;64;160;1;1;move,player,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;48;1408;56;160;1;1;move,player,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;48;1408;48;160;1;1;move,player,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;168;1408;72;160;1;1;move,player,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;176;1408;64;160;1;1;move,player,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;184;1408;56;160;1;1;move,player,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;192;1408;48;160;1;1;move,player,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;64;1392;160;72;1;1;move,player,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;64;1392;160;64;1;1;move,player,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;64;1392;160;56;1;1;move,player,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;64;1392;160;48;1;1;move,player,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;64;1512;160;72;1;1;move,player,0,8,0,0:add,g_playerY,g_playerY,8|6:player;64;1520;160;64;1;1;move,player,0,8,0,0:add,g_playerY,g_playerY,8|6:player;64;1528;160;56;1;1;move,player,0,8,0,0:add,g_playerY,g_playerY,8|6:player;64;1536;160;48;1;1;move,player,0,8,0,0:add,g_playerY,g_playerY,8


Here is an alteration to JRFD's poison demonstration level. Spikes are still visible for demonstration.
Code: Select all
39x50~.1833aa34amaa38amaa38amaa4~~~~0;144;1504;1;0;0~6:mushroom;536;1472;48;32;0;1;playsound,55:activate,poison:sleep,300:activate,cure:sleep,30:turnon,this|6:player;64;1504;160;80;1;1;move,player,0,8,0,0:move,poisonspikes,0,8,0,0:add,g_playerY,g_playerY,8|6;112;1440;64;64;0;1;set,g_playerX,144:set,g_playerY,1504|6:player;48;1408;80;160;1;1;move,player,-8,0,0,0:move,poisonspikes,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;64;1392;160;80;1;1;move,player,0,-8,0,0:move,poisonspikes,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;160;1408;80;160;1;1;move,player,8,0,0,0:move,poisonspikes,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|272:poisonspikes;144;992;2;2;0;;0|165:mushroom;560;1504;1;1;0;400,100,50;0|90;272;1504;-1;1;0;;0;4;0;camera,1,0,0,0,mushroom,0,0,10:dialog,1,Be%20careful%21%20Touch%20a%20poison%20mushroom%20and%20you%20will%20be%20poisoned%20for%205%20seconds%21:camera,1,0,0,0,tree,0,0,10:dialog,1,Touch%20a%20tree%20to%20cure%20yourself%20if%20you%20get%20poisoned.:cameraoff;0|133:tree;816;1504;1;1;0;;0|6:tree;792;1408;48;96;0;1;playsound,47:stoptrigger,mushroom:activate,cure:invis_wait:turnon,this:turnon,mushroom|6:poison;0;1600;16;16;0;1;branch,5,2,g_poisoned,0:exit:move,poisonspikes,0,512,0,0:set,g_poisoned,1|6:cure;16;1600;16;16;0;1;branch,5,2,g_poisoned,1:exit:move,poisonspikes,0,-512,0,0:set,g_poisoned,0|2;1104;1504|6:player;168;1408;72;160;1;1;move,player,8,0,0,0:move,poisonspikes,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;176;1408;64;160;1;1;move,player,8,0,0,0:move,poisonspikes,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;184;1408;56;160;1;1;move,player,8,0,0,0:move,poisonspikes,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;192;1408;48;160;1;1;move,player,8,0,0,0:move,poisonspikes,8,0,0,0:add,g_playerX,g_playerX,8:set,g_F,1|6:player;48;1408;72;160;1;1;move,player,-8,0,0,0:move,poisonspikes,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;48;1408;64;160;1;1;move,player,-8,0,0,0:move,poisonspikes,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;48;1408;56;160;1;1;move,player,-8,0,0,0:move,poisonspikes,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;48;1408;48;160;1;1;move,player,-8,0,0,0:move,poisonspikes,-8,0,0,0:sub,g_playerX,g_playerX,8:set,g_F,0|6:player;64;1392;160;72;1;1;move,player,0,-8,0,0:move,poisonspikes,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;64;1392;160;64;1;1;move,player,0,-8,0,0:move,poisonspikes,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;64;1392;160;56;1;1;move,player,0,-8,0,0:move,poisonspikes,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;64;1392;160;48;1;1;move,player,0,-8,0,0:move,poisonspikes,0,-8,0,0:sub,g_playerY,g_playerY,8|6:player;64;1512;160;72;1;1;move,player,0,8,0,0:move,poisonspikes,0,8,0,0:add,g_playerY,g_playerY,8|6:player;64;1520;160;64;1;1;move,player,0,8,0,0:move,poisonspikes,0,8,0,0:add,g_playerY,g_playerY,8|6:player;64;1528;160;56;1;1;move,player,0,8,0,0:move,poisonspikes,0,8,0,0:add,g_playerY,g_playerY,8|6:player;64;1536;160;48;1;1;move,player,0,8,0,0:move,poisonspikes,0,8,0,0:add,g_playerY,g_playerY,8|5;632;1504;0;1;0;movechar,this,0,0,0,-32,1,0:sleep,1:turnon,this~Poison%20proof%20of%20concept~AwesomeJRFD~3~4;0;0~1~1;0~0;0;3~1385498775~0.4


EDIT3: Argh. I forgot something important.

NOTE: If I end up solving this by accident somehow, please still answer.






























EDIT4: Okay. New question.

Is it really impossible to use the Player Coordinates Detection across level splitters? If so, then the level I'm working on will be ruined. : (

EDIT5: Thankfully (and what a relief...), I found a workaround (AKA: using doors to go through transitions, then to be sent directly to another set of Player Coordinates Detection triggers). I dunno... I guess somebody could still provide answers to this or whatever, but nonetheless figured out how to work my level out.
Triple J here!
Image
Credit goes to FrozenFire/l.m
Other Stuff: show
AC:NL Info

Dream Address: 4400-3141-4504
Mayor: Triple J
Town Name: Quattom



My Super Mario Maker levels: viewtopic.php?f=77&t=46621&p=344256#p344256

My Youtube channel, if you could possibly bother: https://www.youtube.com/channel/UCuP5V8 ... subscriber

Brand-new Bomberman 64: The Second Attack Gameshark Codes!
Now on Dropbox! Active and updated irregularly.
User avatar
CedarBranch
Impulsive & ambitious

 
Posts: 1242
Joined: June 15th, 2012, 1:10 pm
Location: Reclusive. (At least I want to.)

Runouw Votes Winner
Voted "Best Level" with Essence of Time in Runouw Votes New Year 2014/15

Thumbs Up given: 384 times
Thumbs Up received: 108 times

Re: Your questions, our answers

Postby Dtroid » October 30th, 2014, 1:59 am

How to we adjust the camera so that the player is always in the centre?
User avatar
Dtroid
The Legacy

 
Posts: 801
Joined: September 5th, 2012, 6:11 am
Location: Above

Level Creator

Thumbs Up given: 344 times
Thumbs Up received: 24 times

Re: Your questions, our answers

Postby CedarBranch » November 2nd, 2014, 7:22 am

I'M BACK! wrote:How to we adjust the camera so that the player is always in the centre?

Could you elaborate a bit? Are you maybe trying to ask how to keep the camera fixed in place over the entire area/transition?



As for me, I've got another question, because I couldn't find a good source through Google:
    Could somebody please explain how each platform "tipping" property setting works? I've been going through trial and error, but I still don't understand what happens with higher or lower integers in each field (i.e. I have no idea if I should have a higher or lower integer in "weight object strength," nor what it actually does).
Triple J here!
Image
Credit goes to FrozenFire/l.m
Other Stuff: show
AC:NL Info

Dream Address: 4400-3141-4504
Mayor: Triple J
Town Name: Quattom



My Super Mario Maker levels: viewtopic.php?f=77&t=46621&p=344256#p344256

My Youtube channel, if you could possibly bother: https://www.youtube.com/channel/UCuP5V8 ... subscriber

Brand-new Bomberman 64: The Second Attack Gameshark Codes!
Now on Dropbox! Active and updated irregularly.
User avatar
CedarBranch
Impulsive & ambitious

 
Posts: 1242
Joined: June 15th, 2012, 1:10 pm
Location: Reclusive. (At least I want to.)

Runouw Votes Winner
Voted "Best Level" with Essence of Time in Runouw Votes New Year 2014/15

Thumbs Up given: 384 times
Thumbs Up received: 108 times

Re: Your questions, our answers

Postby Dtroid » November 4th, 2014, 1:34 am

I was wondering how to adjust the camera so that the player is always in the centre of the screen.

I've noticed that AwesomeJRFD's Player Detection triggers doesn't make an object move along with the player very well. When the player was running and jumping to the right,the object goes out of the camera.
User avatar
Dtroid
The Legacy

 
Posts: 801
Joined: September 5th, 2012, 6:11 am
Location: Above

Level Creator

Thumbs Up given: 344 times
Thumbs Up received: 24 times

Re: Your questions, our answers

Postby AwesomeJRFD » November 6th, 2014, 5:21 pm

I'M BACK! wrote:I was wondering how to adjust the camera so that the player is always in the centre of the screen.

Have a trigger loop that constantly sets the camera to an item, and use the Coordinate detection to keep the object always on top of the player (if you're also using the custom background trick, the game needs to be running at 30 FPS for it to work properly).

I'M BACK! wrote:I've noticed that AwesomeJRFD's Player Detection triggers doesn't make an object move along with the player very well. When the player was running and jumping to the right,the object goes out of the camera.

This might be a problem, but I'm not sure what you mean. Can you elaborate?
Image
User avatar
AwesomeJRFD
Honorary Member

 
Posts: 836
Joined: November 11th, 2010, 2:06 pm
Location: Sixteenth Dimension: Hyperspace

Runouw Votes Winner
Best Thread (An Explanation of Triggers) in Runouw Votes Summer 2013

Thumbs Up given: 50 times
Thumbs Up received: 38 times

PreviousNext

Return to Last Legacy Level Designer