Smash Cam - A Smash Bros-like dynamic 2D Camera

[Open Assets] Smash Cam - A Smash Bros-like dynamic 2D Camera v1

What permissions do you give others to modify and/or maintain your submission?
Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
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.

attachment.php


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 CLOSESTpoint 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 FURTHESTpoint 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. :)

Supporters / CoAuthors

  • srb20313.gif
    srb20313.gif
    2.6 MB · Views: 299
  • srb20314.gif
    srb20314.gif
    2.7 MB · Views: 698
Author
Flame
Downloads
975
Views
4,580
Extension type
wad
File size
42.5 KB
MD5 Hash
34bd5081530f76fdd61665458c021f7d
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Flame

Share this resource

Back
Top