Page 13 of 14

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

Posted: Fri Dec 07, 2018 3:35 pm
by ZeGGamer1
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.

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

Posted: Sat Dec 08, 2018 12:23 am
by ZeGGamer1

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

Posted: Sat Dec 08, 2018 12:29 am
by dale_coop
Awesome! Looks fun.

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

Posted: Sat Dec 08, 2018 12:34 am
by Redherring32
It looks like some of the games I played on gba back in the day!
Great job! :)

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

Posted: Sun Dec 09, 2018 6:18 am
by Redherring32
If this issue is concluded, could someone post what ended up working?
Because I'll need projectiles very soon.

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

Posted: Sun Dec 09, 2018 8:18 pm
by ZeGGamer1
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.

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

Posted: Sun Dec 09, 2018 11:45 pm
by Redherring32
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!

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

Posted: Tue Dec 11, 2018 4:06 am
by Redherring32
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

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

Posted: Tue Dec 11, 2018 7:04 am
by dale_coop
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).

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

Posted: Sun Jan 06, 2019 7:03 pm
by ZeGGamer1
Is there a way to get projectiles working on the new scrolling platformer module?