SRB2 Message Board  

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

Thread Tools
Smash Cam - A Smash Bros-like dynamic 2D Camera Details »»
Smash Cam - A Smash Bros-like dynamic 2D Camera
Version: 1, by Flame ("It's ok, I like you too!") Flame is offline
Developer Last Online: Jan 2021

Version: SRB2 Rating:
Released: 04-11-2020 Last Update: Never Favourites: 1
Multiplayer Levels Scripts Re-Useable Content

A script that aims to provide versatility to 2D Mode. It is my hope that script can open up the doors to some 2D Match maps in the future.

What's included?
  • Custom Map (MAP01) - Toasted Hills Zone by Akirahedgehog (This is a demonstraction map. Ported from 1.09.4, please excuse any errors)
  • 2 Lua scripts - One for object definition, and one for execution

But Flame! How do I use this?
Simple! On top of adding the 2D level parameter to your Level header, this script only adds 2 new objects. These include the Camera Minimum and Camera Maximum x, y, z boundaries. Please read carefully, this assumes you're working in Zone builder with a top-down oriented view.
  • Camera Minimum (mapthingnum 3095) boundary - Put this boundary in the map to define the CLOSEST point where your camera object cannot pass.
    • This boundary sets the following:
      • Leftmost X boundary
      • Uppermost Y boundary
      • Lowest Z boundary
  • Camera Maximum (mapthingnum 3096) boundary - Put this boundary in the map to define the FURTHEST point where your camera object cannot pass.
    • This boundary sets the following:
      • Rightmost X boundary
      • Lowermost Y boundary
      • Highest Z boundary

Issues, Problems, bugs?
  • Through rigorous testing, I've ironed out a lot of issues in coding this. If there is anything that would cause this code to behave irregularly, or stop working, please report it!
  • While this code works without the need for these camera boundaries, I cannot guarantee it will function the same way without them.

Special notes
  • Vanilla console commands such as cam_dist and cam_height are available
  • Vanilla button inputs such as your look up/down keys are also available if you're not content with the viewing angle.
  • If you intend to use this for your own purposes, all I ask is for some credit. That's all. :)

Download Now

File Type: zip (12.6 KB, 337 views)


Click image for larger version

Name:	srb20313.gif
Views:	139
Size:	2.59 MB
ID:	29456   Click image for larger version

Name:	srb20314.gif
Views:	2179
Size:	2.74 MB
ID:	29457  

Supporters / CoAuthors

Show Your Support

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

Old 04-12-2020   #2
Probably Responsible
D00D64's Avatar

Welcome to releases!
D00D64 is offline   Reply With Quote
Old 04-13-2020   #3
Warrior from Algol
Icarus's Avatar

Can it works in 3D? I would love to see a Power-Stone like mod (combined with Battle Mode indeed).

I've always loved the way Smash Bros' camera worked and I wish more devs could take inspiration for some of their game
Welcome to the Fantasy Zone
Get Ready!
Icarus is offline   Reply With Quote
Old 04-13-2020   #4
Larz T
Larz T's Avatar

I feel like this is an essential script to have now when playing or even creating any 2D sections/levels in the future. Thanks for the release!
Originally Posted by MaykeAdventuresZForever View Post
I been playing this since I was 9 years old and all I felt was anger.

Avatar art done by TehRealSalt
Larz T is offline   Reply With Quote

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 06:41 PM.

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