landgreen / n-gon

2-d physics rogue-lite platformer shooter
https://landgreen.github.io/n-gon/
GNU General Public License v3.0
134 stars 193 forks source link

Rebar production #167

Closed Masbirb closed 4 months ago

Masbirb commented 5 months ago

The railgun now shoots heavy high damage rebar that takes longer to charge You can jump off fired rebar until it falls off after 30 seconds Pins hit mobs to walls Requires railgun, Harpoon

Masbirb commented 5 months ago

The pin feature according to corn bread could work like this

kgurchiek commented 5 months ago

[insert jeopardy music here]

Masbirb commented 5 months ago

make the bar have an array of what it’s attached to and the mob has a reference to the bar then the mob can check if the bar is attached to anything else, and if it’s attached to a map element, just set its velocity to 0 and disable its movement otherwise the mob carries the bar around just like it does spores and the bar carries blocks if they are in the array and you could pick it up like a block with everything they still have attached and the piece of rebar lasts another 30 seconds

Masbirb commented 5 months ago

image

landgreen commented 5 months ago

The pinning to the map might be easiest to write for needle code, which already penetrate mobs. I have wanted a rebar gun since half-life 2.

uliltra commented 5 months ago

half life mentioned

136166 commented 4 months ago

Sounds like a good idea to help new platformers!