Page 3 of 3

Re: [ZScript] Side Scroller Game Starter Kit

PostPosted: Sun Apr 02, 2017 3: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 allExpand view
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

PostPosted: Sun Apr 02, 2017 5: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

PostPosted: Thu Jul 05, 2018 4: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

PostPosted: Thu Jul 05, 2018 7: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

PostPosted: Thu Sep 13, 2018 2: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

PostPosted: Sat Sep 15, 2018 4: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

PostPosted: Sat Sep 15, 2018 9: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

PostPosted: Sun Sep 16, 2018 1: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

PostPosted: Sun Sep 16, 2018 9: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

PostPosted: Thu Oct 18, 2018 3: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

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

Re: [ZScript] Side Scroller Game Starter Kit

PostPosted: Mon Mar 25, 2019 5: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

PostPosted: Wed Apr 17, 2019 4: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?