Voidy - New GM Game whose first demo will be out soon-ish!
Moderators: ~xpr'd~, tyteen4a03, Stinky, Emerald141, Qloof234, jdl
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- boywhoflies
- Rainbow Spirit Chaser
- Posts: 5510
- Joined: Thu Jun 26, 2008 3:16 pm
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
Hm. I have it working so if the the laser were to always point at the char it will detect him, and it won't be able to if there is a wall in the way. I just need it to match the laser's line.
Here is the code if anyone can help.
The sound thing is a test.
Here is the code if anyone can help.
Code: Select all
argument0 (x) : Starting x coordinate
** argument1 (y) : Starting y coordinate
** argument2 (dir) : Direction of laser
** argument3 (range) : Maximum range of laser
** argument4 (obj) : Object which blocks the laser
** argument5 (col1) : First colour
** argument6 (col2) : Second colour
Code: Select all
//player collision
if !collision_line(argument0,argument1,o_voidy.x,o_voidy.y,argument4,false,false)
{sound_play(sd_letter)};
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- boywhoflies
- Rainbow Spirit Chaser
- Posts: 5510
- Joined: Thu Jun 26, 2008 3:16 pm
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
That's a great idea, but the only way I can think of getting that to work is to use paths. Oh, and if you want, maybe I can help you with quests. I have gotten much better at GameMaker now.Nobody wrote:Energy pipes that carry whatever is in them from one place to another. Some pipes Voids can travel through, some pipes everything else can travel through, and some pipes everything can travel through.
- boywhoflies
- Rainbow Spirit Chaser
- Posts: 5510
- Joined: Thu Jun 26, 2008 3:16 pm
- MyNameIsKooky
- Rainbow Spirit Master
- Posts: 9712
- Joined: Mon Dec 01, 2008 10:18 pm
- boywhoflies
- Rainbow Spirit Chaser
- Posts: 5510
- Joined: Thu Jun 26, 2008 3:16 pm
- MyNameIsKooky
- Rainbow Spirit Master
- Posts: 9712
- Joined: Mon Dec 01, 2008 10:18 pm
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- TheThaumaturge
- Rainbow Master
- Posts: 760
- Joined: Fri Dec 17, 2010 1:56 am
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- boywhoflies
- Rainbow Spirit Chaser
- Posts: 5510
- Joined: Thu Jun 26, 2008 3:16 pm
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- boywhoflies
- Rainbow Spirit Chaser
- Posts: 5510
- Joined: Thu Jun 26, 2008 3:16 pm
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
@Technos72 Thanks!
Hmph.
When I hit the corner of a block, while moving diagonally, I will go flying up, or down.
My code for collision is
Hmph.
When I hit the corner of a block, while moving diagonally, I will go flying up, or down.
My code for collision is
Code: Select all
move_contact(direction) vspeed=0
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am
- TheThaumaturge
- Rainbow Master
- Posts: 760
- Joined: Fri Dec 17, 2010 1:56 am
- StinkerSquad01
- Rainbow AllStar
- Posts: 4251
- Joined: Mon Aug 09, 2010 3:39 am