Player Coordinates Detection

Designed a really awesome, amazing, complicated contraption? Show it off here!

Player Coordinates Detection

Postby AwesomeJRFD » Mon Jul 21, 2014 4:03 am

Player Coordinates Detection

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 other stuff 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


By AwesomeJRFD and JSlayerXero
ImageImage
User avatar
AwesomeJRFD
 
Posts: 101
Joined: Mon Jul 21, 2014 2:42 am
Location: Sixteenth Dimension: Hyperspace

Re: Player Coordinates Detection

Postby ColdWater » Sat Aug 01, 2015 7:31 pm

Did you know I created a custom background with 120/130 items ,changed those tags to "bg" and I dont excepted to put the tag player? ;-;

Anyway if you remove the vertical part in the trigger creations ,the objects will move horizontally (genius)

Triggers goes too far honestly.
( ͡° ͜ʖ ͡°) is love ,( ͡° ͜ʖ ͡°) is life.
Salut la France ( ͡° ͜ʖ ͡°)
Dont be crazy if I abuse lennies ,please ,seriously I love those , same thing if I talk everyday on shadows effect in the LD ,but I like making 160 objects in one single 17x22 screen.
waaaaa
User avatar
ColdWater
 
Posts: 128
Joined: Fri Feb 20, 2015 11:45 am


Return to Trigger creations

Who is online

Users browsing this forum: No registered users and 6 guests

cron