[4.5.9] Mega-Metro-Vania Action Script - Starnado!

CluckFox

Active member
This is a work in progress action script for projectiles that use the "aimed physics". They can be player projectiles, enemy projectiles, enemies, effects, any game object really. The attached script is adapted from NESMaker core or module code.


This is a work in progress. I will update this thread with more features later.
 

Attachments

  • AI_Wiggle.zip
    397 bytes · Views: 28

CluckFox

Active member
Enjoy a horizontal Starnado!


The only difference between horizontal and vertical is

Code:
    +running
    LDA #%11000000
    EOR Object_v_speed_lo,x
    STA Object_v_speed_lo,x

I will post the full code shortly.
 

CluckFox

Active member
Here's the full code. Some notes:

object details

The Max Speed and Jump Speed affect the wave pattern. Experiment with different combinations of both.

action step details

The Horizontal/Vertical direction of the wave can be changed on a per-action-step basis with bit $02 of the flags available in Object_vulnerability,x
 

Attachments

  • AI_Wiggle_rev2.zip
    454 bytes · Views: 18

9Panzer

Well-known member
Managed to get it to work in a clean install but I seem to have something interfering with it in my main build. I'll see what I broke and show it in action when I figure it out! :D
Thanks for putting this together @CluckFox !
 

CluckFox

Active member
Managed to get it to work in a clean install but I seem to have something interfering with it in my main build. I'll see what I broke and show it in action when I figure it out! :D
Thanks for putting this together @CluckFox !
You're welcome!

Let me know what the issue was if you figure it out. Let me know on Discord if you want a hand figuring it out.
 

Jonny

Well-known member
Excellent šŸ‘Œ

I had a play about with it attempting to do a horizontal zigzag mario style boo. For some reason my monster seems to be dropping down a little each time so it end up off screen I.e not a 'streight zigzag' if that makes sense!? Might be something else in my project.

Experimented with speed and jump but I think I'd need finer control over the action timer to get what I was attempting.

What will other features be? Circular trajectory maybe? šŸ¤ž
 

CluckFox

Active member
For some reason my monster seems to be dropping down a little each time so it end up off screen I.e not a 'streight zigzag' if that makes sense!?
Thanks for trying it out and providing feedback!

I'm working on a small demo game right now where I can try out new projectile and AI patterns. I'll be sure to work on level horizontal "flight" for monsters in it.
 

Bucket Mouse

Active member
The drift (and the direction) seem to depend on what number you set as your Max Speed. Also: see the note I left on Discord.
 

CluckFox

Active member
I started making this into more of an actual game. I'm still using it as a test-bench for the "Wiggle" AI, but I may develop it into a community tutorial complete with asset pack. I don't plan on ever releasing this particular work as a full game in any case.

 
Top Bottom