Create Projectile doesn't work in platform module?

User avatar
ZeGGamer1
Posts: 88
Joined: Thu Nov 29, 2018 11:26 pm

Re: Create Projectile doesn't work in platform module?

Post by ZeGGamer1 » Fri Dec 07, 2018 3:35 pm

Yes I did.

Apparently my game doesn't like the projectile object, so after I changed back to using the Melee object, All I had to do was check the "Player Weapon box."

I'll let you know what happens when I implement the screen code when I get there.
User avatar
dale_coop
Posts: 3090
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: Create Projectile doesn't work in platform module?

Post by dale_coop » Sat Dec 08, 2018 12:29 am

Awesome! Looks fun.
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE / UNDERGROUND ADVENTURE (Arcade version - Byte-Off-2019)
User avatar
Redherring32
Posts: 445
Joined: Sat Aug 11, 2018 2:48 pm
Location: Usa

Re: Create Projectile doesn't work in platform module?

Post by Redherring32 » Sat Dec 08, 2018 12:34 am

It looks like some of the games I played on gba back in the day!
Great job! :)
My current WIP game: Shadow: An Adventure In Monochrome, you can also find me over at the Community Discord.
User avatar
Redherring32
Posts: 445
Joined: Sat Aug 11, 2018 2:48 pm
Location: Usa

Re: Create Projectile doesn't work in platform module?

Post by Redherring32 » Sun Dec 09, 2018 6:18 am

If this issue is concluded, could someone post what ended up working?
Because I'll need projectiles very soon.
My current WIP game: Shadow: An Adventure In Monochrome, you can also find me over at the Community Discord.
User avatar
ZeGGamer1
Posts: 88
Joined: Thu Nov 29, 2018 11:26 pm

Re: Create Projectile doesn't work in platform module?

Post by ZeGGamer1 » Sun Dec 09, 2018 8:18 pm

There is a discussion that started from around page 7 or so that I went on that shows the progression from just the base code to a working two bullet shooting system.

Of course, read ahead a little bit before implementing any changes.
User avatar
Redherring32
Posts: 445
Joined: Sat Aug 11, 2018 2:48 pm
Location: Usa

Re: Create Projectile doesn't work in platform module?

Post by Redherring32 » Sun Dec 09, 2018 11:45 pm

ZeGGamer1 wrote:
Sun Dec 09, 2018 8:18 pm
There is a discussion that started from around page 7 or so that I went on that shows the progression from just the base code to a working two bullet shooting system.

Of course, read ahead a little bit before implementing any changes.
Thanks man!
My current WIP game: Shadow: An Adventure In Monochrome, you can also find me over at the Community Discord.
User avatar
Redherring32
Posts: 445
Joined: Sat Aug 11, 2018 2:48 pm
Location: Usa

Re: Create Projectile doesn't work in platform module?

Post by Redherring32 » Tue Dec 11, 2018 4:06 am

Ok, I got my projectile mostly working, but I have 2 problems.

1) The projectile is stationary if you haven't moved the player yet. (Dale, the thread you linked on this didn't help.)

2) I can only fire 1 projectile, then I have to restart the game to be able to shoot again.


Thanks in advance for any help -Red
My current WIP game: Shadow: An Adventure In Monochrome, you can also find me over at the Community Discord.
User avatar
dale_coop
Posts: 3090
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: Create Projectile doesn't work in platform module?

Post by dale_coop » Tue Dec 11, 2018 7:04 am

For your 1) Projectiles fired before player moves have no movement, it’s because the player S facing down at start, need some modification... take a look here:
http://nesmakers.com/viewtopic.php?f=3&t=981

For your 2) follow again my tutorial (you have to add some code to update limitProjectile on a new reaction 3 script (« destroy me (Weapon) ») and assogn it to your projectile edge/solid reactions).
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE / UNDERGROUND ADVENTURE (Arcade version - Byte-Off-2019)
User avatar
ZeGGamer1
Posts: 88
Joined: Thu Nov 29, 2018 11:26 pm

Re: Create Projectile doesn't work in platform module?

Post by ZeGGamer1 » Sun Jan 06, 2019 7:03 pm

Is there a way to get projectiles working on the new scrolling platformer module?
Post Reply