SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
Axis2D Details »»
Axis2D
Version: 1.2, by RedEnchilada (happy, pretty, lovely!) RedEnchilada is offline
Developer Last Online: Sep 2017

Category: Version: SRB2 Rating: (1 votes - 3.40 average)
Released: 06-30-2014 Last Update: Never Installs: 2
Scripts Re-Useable Content

It's like normal 2D, but it's actually in 3D. Using the power of NiGHTS axis things, it gives 2D levels a slew of extra possibilities by allowing use of the third dimension properly. Think something like Kirby 64, or Klonoa, or even Sonic Unleashed/Colors/Generations!

As Clock Towers (which as of this writing is available in the current OLDC to vote on) (man, that really dates this post) demonstrates, this enables a lot of possibilities with branching paths and looping design that standard 2D mode doesn't easily allow for.

There's not a whole lot more to say about this, so feel free to download and start using it in your own creations! Super big credits to chi.miru for starting the script in the first place; I just helped finish it.

The screenshots are old.

changelog:

Spoiler: 1.2

  • The code has been heavily refactored into an axis2d global, which is now completely accessible from other scripts.
  • Object sliding issues when standing still on circular axes have been fixed.
  • PF_FORCESTRAFE no longer lingers after exiting Axis2D mode.
  • Camera objects should no longer be visible, and cutaway views should now be supported.
  • A new linedef type has been added: 9001 Axis2D Switch Sector. It's set up exactly like an invisible intangible FOF, and when inside you'll switch to the axis defined by the line's X offset. This line has no effect if you aren't already in Axis2D mode, which should make it easier to intersect A2D over 3D sections if you're into that sort of thing.
  • If you use camera tricks to flip the player's direction of motion (see Clock Towers), the player will continue moving forward (now opposite of input) until they release the movement key.


Spoiler: 1.1

  • Fixed crash in 2.1.9 (apparently using an MT_THOK as a camera doesn't work any more)
  • Now using the PF_FORCESTRAFE flag to enable movement with the turn keys! Now people who play with those won't kill you

Download Now

File Type: zip Axis2D_1-2.zip (34.0 KB, 293 views)

Screenshots

Click image for larger version

Name:	srb20056.gif
Views:	1516
Size:	7.25 MB
ID:	5252   Click image for larger version

Name:	srb20058.gif
Views:	1506
Size:	3.72 MB
ID:	5254  

Supporters / CoAuthors

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 07-01-2014   #2
SonicX8000
Graphic & Sprite Modder.
Judge
 
SonicX8000's Avatar
Default

I wonder if this will spark 2D Mode back to life or something. Welcome to releases.
__________________
GraphicX8000 will return... when I'm actually not lazy with finishing it.
SonicX8000 is offline   Reply With Quote
Old 07-01-2014   #3
TheDoctor
 
TheDoctor's Avatar
Default

Ooh, nice. Just what I need for my Klonoa map pack and SRB2 generations pack, fantastic! Can't wait to try it out
__________________
Portal Disco Anyone?:
https://www.youtube.com/watch?v=sCVs...ature=youtu.be

Last edited by TheDoctor; 07-01-2014 at 04:17 AM.
TheDoctor is offline   Reply With Quote
Old 07-01-2014   #4
StarmakerJasper
Hey, that's my pudding!
 
StarmakerJasper's Avatar
Default

Quote:
Originally Posted by TheDoctor View Post
Klonoa map pack
I am now brutally inspired to create a Klonoa character specifically for this. Klonoa Moo Blast 2 anyone? ...Please?
__________________
Quote:
Originally Posted by Speedwagon
>proceeds to throw book on floor and run around the library screaming "THE PINK IS REAL."
StarmakerJasper is offline   Reply With Quote
Old 07-01-2014   #5
Terra
Needy child
 
Terra's Avatar
Default

Quote:
Originally Posted by Jasper the Fox View Post
I am now brutally inspired to create a Klonoa character specifically for this. Klonoa Moo Blast 2 anyone? ...Please?
Please, someone make this happen.
Terra is offline   Reply With Quote
Old 07-02-2014   #6
Flame
"It's ok, I like you too!"
 
Flame's Avatar
Default

I scarcely make posts on these forums nowadays, but when I do, it's for a good reason.

This.

I've wanted to see something like this implemented for the longest time. While I wasn't able to use NiGHTS axis points to save my life, I still want to praise this Lua script as arguably the best Lua script there is so far on the messageboard; Albeit possibly straightforward to create this script. If I do get back into the SRB2 map making / modding scene, I will be sure to use this in some kind of level creation.

Keep up the good work, Red.
__________________
   |\    _,,,--,,_ _ 
  / , `.-'`'     ._  \-;;, _
  | ,4-  ) )_    .;. \  `'-'
 '---" -(_ /._)--'(_\_)

Last edited by Flame; 07-02-2014 at 03:24 PM.
Flame is offline   Reply With Quote
Old 07-03-2014   #7
Snow
Having a moment
 
Snow's Avatar
Default

Found a little bug...

Climbing during the example wad can lead to a Lua error, as shown below...



This could also happen in other maps, but I'm yet to see it happen.
__________________
Quote:
<Iceman404> SnowTH, the worst player ever 2014
<SnowTH> Woop
<SnowTH> I'm so proud
Snow is offline   Reply With Quote
Old 07-03-2014   #8
Larztard
Yeah...
 
Larztard's Avatar
Default

Question about Axis-2D. If I'm making a 3D level with 2D parts in it, could I still use Axis-2D without SRB2 having a fit?
__________________
YouTube
Larztard is offline   Reply With Quote
Old 07-03-2014   #9
RedEnchilada
happy, pretty, lovely!
Developer
 
RedEnchilada's Avatar
Default

Quote:
Originally Posted by Snow View Post
Found a little bug...

Climbing during the example wad can lead to a Lua error, as shown below...



This could also happen in other maps, but I'm yet to see it happen.
That's probably an issue with the silly "minified" version I made for the ZIP. I'll probably just remove that for a rerelease, considering supporting it is a bitch. >_>

The normal version of the script doesn't have that error, so just use that.

Quote:
Originally Posted by Larztard View Post
Question about Axis-2D. If I'm making a 3D level with 2D parts in it, could I still use Axis-2D without SRB2 having a fit?
Yes. Executing the Lua function with a tag of 0 ejects the player from the axis, just like in the example WAD.
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
RedEnchilada is offline   Reply With Quote
Old 07-03-2014   #10
742mph
I make Sonic look like me
 
742mph's Avatar
Default

Quote:
Originally Posted by Larztard View Post
Question about Axis-2D. If I'm making a 3D level with 2D parts in it, could I still use Axis-2D without SRB2 having a fit?
Probably, as long as characters aren't in normal 2D and Axis2D at the same time.
__________________
Quote:
<Evilgasm> the opposite of egoraptor is Toa Tahu
742mph is offline   Reply With Quote
Old 07-05-2014   #11
MudkipYeah!
Vastly Short Attention Span
 
MudkipYeah!'s Avatar
Default

This looks fun. I might give it a try and make a map that involves this.
MudkipYeah! is offline   Reply With Quote
Old 07-05-2014   #12
badluck34
Back in Action!
 
badluck34's Avatar
Default

Seems kinda like Sonic Xtreme's camera. But just a little bit.
badluck34 is offline   Reply With Quote
Old 07-05-2014   #13
Chimera
Your best friend
 
Chimera's Avatar
Default

I remember when DashFox/Kalaron said this wasn't feasible or possible.

This is some groundbreaking stuff that should, and very well WILL change SRB2 level design permanently for the better. DooM, while you can't have curves on the XZ/YZ axis, allows for curves on the XY (saying this assuming up and down is Z),and the fact we can take advantage of rounding corners in a restrained gameplay system is phenominal. Your level Clock Towers proves just how amazing this setup can be if really put to the test by a competent level designer. My only wish is that we could also have ellipses, but hey, this is pretty amazing stuff here alone, and kudos to you guys for making one of the sharpest tools in the shed for SRB2 level design.

</geekout>
__________________
I question you.
Chimera is offline   Reply With Quote
Old 07-19-2014   #14
Zwip-Zwap Zapony
Please just call me Zappy.
 
Zwip-Zwap Zapony's Avatar
Default

Is it just me, or does Axis2D_example.wad's Lua hook break when you try to climb something as Knuckles, even though you can freely climb anything in Clock Towers Zone?
Zwip-Zwap Zapony is offline   Reply With Quote
Old 07-19-2014   #15
Snow
Having a moment
 
Snow's Avatar
Default

Quote:
Originally Posted by Snow View Post
Found a little bug...

Climbing during the example wad can lead to a Lua error, as shown below...



This could also happen in other maps, but I'm yet to see it happen.
I already stated this, but it now has a broken image for some reason...
__________________
Quote:
<Iceman404> SnowTH, the worst player ever 2014
<SnowTH> Woop
<SnowTH> I'm so proud
Snow is offline   Reply With Quote
Old 07-19-2014   #16
Zwip-Zwap Zapony
Please just call me Zappy.
 
Zwip-Zwap Zapony's Avatar
Default

Quote:
Originally Posted by Snow View Post
I already stated this, but it now has a broken image for some reason...
I know you did, but I was wondering why the example is broken when something else with it wasn't.
Zwip-Zwap Zapony is offline   Reply With Quote
Old 07-19-2014   #17
Snow
Having a moment
 
Snow's Avatar
Default

Quote:
Originally Posted by RedEnchilada View Post
That's probably an issue with the silly "minified" version I made for the ZIP. I'll probably just remove that for a rerelease, considering supporting it is a bitch. >_>

The normal version of the script doesn't have that error, so just use that.
That was also answered
__________________
Quote:
<Iceman404> SnowTH, the worst player ever 2014
<SnowTH> Woop
<SnowTH> I'm so proud
Snow is offline   Reply With Quote
Old 07-19-2014   #18
Zwip-Zwap Zapony
Please just call me Zappy.
 
Zwip-Zwap Zapony's Avatar
Default

Quote:
Originally Posted by Snow View Post
That was also answered
...How did I miss that? I feel stupid now. (Not that I feel smart at other times, of course.)
Zwip-Zwap Zapony is offline   Reply With Quote
Old 08-04-2014   #19
RedEnchilada
happy, pretty, lovely!
Developer
 
RedEnchilada's Avatar
Default

UPDATE: (please update your copy if you're using this in a level)

  • Fixed crash in 2.1.9 (apparently using an MT_THOK as a camera doesn't work any more)
  • Used that fancy PF_FORCESTRAFE flag I added to Lua to enable movement with the turn keys! Now people who play with those won't kill you
__________________
Quote:
<@toaster> '"sonic robot explosion 2", the hot new sensation for teens looking for a good time, tempts many children away from god each year'
RedEnchilada is offline   Reply With Quote
Old 10-28-2014   #20
Tyrannic
 
Tyrannic's Avatar
Default

I've got a question:

When exiting Axis2D mode with P_DOANGLESPIN with a tag of 0, the player properly goes back to 3D, but turn keys will still let the character strafe, probably because
Quote:
that fancy PF_FORCESTRAFE flag
is still checked.

Any way to fix this?


Awesome script by the way!

Last edited by Tyrannic; 10-28-2014 at 04:42 PM.
Tyrannic is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:59 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.