Page 3 of 3

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Sun Apr 02, 2017 2:01 am
by Death Egg
It fixes right movement, but if you start the map and press right, you can't go left at all, and if you start the map and go left, it causes the player to fly uncontrollably fast to the left and can't go right. It's been giving me weird variations of this glitch no matter how I rearrange the code.

BTW, what's the purpose of this line? Like I said I'm new to coding and some of this doesn't make sense yet, though I've learned a lot in the past two days alone.

Code: Select all

vx = Clamp(vx, -SideMove1, SideMove1);
Also I should have mentioned before, but I renamed Decelerate to Friction and created a new constant for decelerating.

EDIT: Solved the error. I'm not entirely sure what caused it, thought I deleted a line but it's still there. Oh well.

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Sun Apr 02, 2017 4:06 am
by Nash
That line clamps the values so that they don't overshoot the player's speed. SideMove1 is the value given to the player in the class definition (Player.SideMove).

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Thu Jul 05, 2018 3:05 pm
by Clownman
Will there be basic combat functions added such as the player dying or enemy examples? Just curious

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Thu Jul 05, 2018 6:48 pm
by Nash
Clownman wrote:Will there be basic combat functions added such as the player dying or enemy examples? Just curious
I've always wanted to do these, I just don't have much time these days...

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Thu Sep 13, 2018 1:52 pm
by luigiman0640
Is there a way to make it so that the Doom player and Side Scroller player are seperate so that you could make some levels fps and some side scrollers?

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Sat Sep 15, 2018 3:11 am
by Tormentor667
I wonder: Would it be possible somehow to only use this in one single map instead of the whole game?

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Sat Sep 15, 2018 8:30 pm
by luigiman0640
I was wondering the same kinda thing! There'd have to be some heavy duty coding to it, but I'd like to see if it is possible to just have it on certain levels.

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Sun Sep 16, 2018 12:39 am
by Nash
It's certainly possible but it's out of the scope of a basic game kit (AKA I currently don't have an urgent interest in doing the work for it :)).

[EDIT]: just so I don't look dicky, here, I'll at least give a tip on how it'd be done: you actually use the same PlayerPawn (because it's impossible to change player classes, even with ZScript). What you do is you add a variable, say, movementMode. If it's 0, enable the platforming path. If it's 1, enable the first person path. It should be easy enough to wrap entire sections of the logic into these conditional blocks. Good luck!

If anyone followed the Github, you might've noticed I've sneaked in some minor updates. So far this is just clean-up work but I plan to add the things I said I would add

- Jump through platforms
- Pain and death state
- A simple attack animation
- Moving platforms
- Mantling/ledge climbing (new!)
- Metroid 3/Symphony of the Night-styled tile-based automap (new!)

Then I can declare the SDK as 1.0 and final.

No ETA as usual. When It's Done(tm)


UPDATE: Due to lack of motivation, I have decided not to expand the kit with any additional features because I cannot make assumptions about what kind of side-scroller someone would want to make. I also have little motivation to add any more features. I am unfortunately not here to make your game for you. :)

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Sun Sep 16, 2018 8:57 pm
by luigiman0640
Hey, no worries! I get where you're coming from, but thanks for the pointers either way! Definitely gotta check that out some day.

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Thu Oct 18, 2018 2:13 pm
by Hidden Hands
I've downloaded this stuff. Do I just put it all in a wad file? Sorry if this has been discussed already I'm just not too sure how to use the stuff.

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Sun Oct 21, 2018 10:30 am
by Major Cooke
I would love for some parallax background setting in a skybox.

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Mon Mar 25, 2019 4:02 pm
by VriskaSerket
This is exactly what I've been looking for, but I have absolute zero knowledge on scripting and whatnot. Basic concept is different sidescroller gameplay mechanics for 3 player classes: Contra-style shooter, Castlevania style (with added elements) and a beat 'em up character like Streets of Rage, all with different item drops from monsters that fit their style.
As I see it, this is the perfect starter kit, but as I said I have no knowledge on scripting and whatnot. Where can I start learning?

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Wed Apr 17, 2019 3:01 pm
by Hidden Hands
Nash wrote:It's certainly possible but it's out of the scope of a basic game kit (AKA I currently don't have an urgent interest in doing the work for it :)).

[EDIT]: just so I don't look dicky, here, I'll at least give a tip on how it'd be done: you actually use the same PlayerPawn (because it's impossible to change player classes, even with ZScript). What you do is you add a variable, say, movementMode. If it's 0, enable the platforming path. If it's 1, enable the first person path. It should be easy enough to wrap entire sections of the logic into these conditional blocks. Good luck!

If anyone followed the Github, you might've noticed I've sneaked in some minor updates. So far this is just clean-up work but I plan to add the things I said I would add

- Jump through platforms
- Pain and death state
- A simple attack animation
- Moving platforms
- Mantling/ledge climbing (new!)
- Metroid 3/Symphony of the Night-styled tile-based automap (new!)

Then I can declare the SDK as 1.0 and final.

No ETA as usual. When It's Done(tm)
Nash, if you're still about, please help me out with this. I have no idea what I'm doing. A sidescroller is exactly what I need but I can't figure out how I'm supposed to use any of this kit? What do I do? I downloaded your ZIP file of the starter kit... now what?

Re: [ZScript] Side Scroller Game Starter Kit

Posted: Wed Oct 11, 2023 11:31 pm
by TIIKKETMASTER
how would it be possible to make the character move up/down as well? like enabling W and S for games with a more 3d flat surface while still retaining that side view?