green: platfrom solid (be jumped up and on to, but not down from)
orange: semi solid (can be jumped up on AND be jumped down from)
red: death/ dmg barrier
white: not interacterable
no slanting platforms
there is no way to describe this other than an absolute masterpiece
I think having codes to crack/having ARG elements will attract people because some like cracking codes and doing ARGs
Lore and ARG content attracts.
I know it definitely would attract me.
but hey, that’s just a theory. a GAME THEORY!
and unfinished games detracts!
:)
solution for slopes, maybe.
if you use a similar style to my normal collision and you never take rotation into account, you could do it this way:
- get some parameters (which way the slope slants, whether to collide over or under slope)
- identify 2 points to slope from and to based on which way the slope slants (for example, bottom left and top right)
- do some y = mx + b stuff
- if player’s bottom/top left/right (figure it out based on parameters) are both within the hitbox of the slope and over/under the linear equation, move the player to the surface of the slope, but if the surface is too steep (player variable), don’t go up the slope
i might actually try to do this on my own time…
hey uhh the fire attack changes witch way it goes but not witch way it points
It’s fine since you can fix that by putting this in the default script of the projectile object:
// this.hitbox is defined by the script that makes this clone
if (this.isClone) {
this.x = this.owner.x + this.hitbox.offsetX;
this.y = this.owner.y + this.hitbox.offsetY;
this.scaleX = this.owner.char.scaleX; //you add this little thing
}
Regarding the map, I just need to add the crystals with the error effects. I might also start animating pkhead after since I have already some ideas for his animations/attacks.
…he’s also going to be shorter than Baron, but I could be wrong about his height.
also I found a combo where you hold left or right and spam the attack button
it can be used to destroy the opponent
yes, that’s fine, you don’t have to point it out.
I started adding slopes. i have the parameters and other numbers you may need to make the collision, but i didn’t do the actual collisions yet. i also updated some of the other parts of the platformer engine, which is why I have the engine here, not the game.
@KringlePrinkles @mlgcoolguys_1 if we are ditching the idea of slopes, tell me before I go too far.
important info about what this is
THERE IS NO COLLISION YET, THIS IS JUST A PROGRESS REPORT. you can try to work on it if you want.
THE “COLLISION” CODE IS IN THE DEFAULT SCRIPT OF THE SLOPE CLIP FOR NOW. this was just for the console.log stuff, and i didn’t want to break my computer consoling like 10 things per frame at 45 fps. (idk why i chose 45 at first, but here we are)
THE M (as in y = mx + b) IS INVERTED SINCE IN CODE, POSITIVE Y GOES DOWN, BUT IN NORMAL MATH, POSITIVE Y GOES UP. if it helps, you can multiply it by -1.
nah mate, slopes wont be in this map, but definitely in others
plus, whats a platformer without slopes?
what about super mario bros? no slopes there…
but yeah, you’re not wrong. i’ll still try to figure out the slope thing.
i meant smb 1… the one in 1985… not the newer ones… but ok
so i have a kinda crappy slope thingy. it’s… not great. there are many problems. but it has potential.
- it’s not even finished. it can’t check for the player below the slope yet.
- it will collide for 1 frame, then just drop down.
- in some rare cases, it won’t collide at all.
- I use y = mx + b to detect the slope, so if you go over the top edge of the slope, that line of collision continues and you kinda collide mid-air.
- you can’t run up them. you can run down them, sorta, but you kinda do a… bumpy thing. every time you touch the slope, your yv is set to 0, then you feel gravity again when you walk down the slope, so you make bumps when you go down.
- there might be 1 or 2 more problems i can’t remember right now.
i added some countdown sounds and an easter egg for players.
Also, if anyone makes more maps or we start story mode i would like to decorate a map
FFR 1.3.29 (patch 13v4 321 sounds)5-25-2021_9-23-29.wick (1.4 MB)
what is this
that’s probably some random secret code tryo added. i have no idea what it means, but i probably wouldn’t worry about it.
the sound effects don’t feel very professional, but if it’s just a PoC then that’s okay.
i also think we should change the click sound effect to sound… not just a click. a person can probably hear their own click and that would be enough. but the sound should probably be more… musical? we can also make a hover sound if it goes well with the buttons.