Author Topic: [XP] 3D Battle Camera  (Read 6233 times)

Offline ThallionDarkshine

  • Ethereal Devastator
  • ****
  • Posts: 268
  • LV: 55
  • Gender: Male
    • View Profile
[XP] 3D Battle Camera
« on: February 16, 2013, 02:50:29 AM »
3D Battle Camera
Authors: ThallionDarkshine
Version: 0.4
Type: Battle Add-on
Key Term: Battle Add-on

Introduction

The default battle system is extremely boring and not dynamic at all. And so, here's a script that zooms in on the currently targeted enemy, using a parallax effect to make it appear somewhat 3D.

Features

  • Liven up the DBS with a 3D battle camera.
  • Customize zoom values and parallax amount.

Screenshots

(click to show/hide)

Demo

None yet.

Script

(click to show/hide)

Instructions

In the script.

Compatibility

Could have compatibility issues with some custom battle systems.

Credits and Thanks

  • ThallionDarkshine
  • Blizz for giving me the idea

Author's Notes

None
« Last Edit: April 26, 2013, 02:30:27 AM by ThallionDarkshine »

Offline bigace

  • Transcended Spirit
  • ***
  • Posts: 211
  • LV: 16
  • Gender: Male
    • View Profile
    • Bigace Scripting World
Re: [XP] 3D Battle Camera
« Reply #1 on: February 16, 2013, 09:09:18 AM »
I don't really think that screenshot gives it justice. Maybe if it was a video it would look better, but as a still, all it look like is that you enlarged an enemy with zoom which doesn't really look 3D at all. Or am I miss understanding the concept?


Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19827
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] 3D Battle Camera
« Reply #2 on: February 16, 2013, 01:35:26 PM »
I think he was trying to make it work like in my game LL4. Keep in mind that I am using KGC's Pseudo 3D Camera script for that (I only tweaked the parameters a bit).
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline ThallionDarkshine

  • Ethereal Devastator
  • ****
  • Posts: 268
  • LV: 55
  • Gender: Male
    • View Profile
Re: [XP] 3D Battle Camera
« Reply #3 on: February 16, 2013, 03:07:55 PM »
Blizz, you lied to me. Actually, I just assumed that you had made it yourself.
@bigace - The camera focuses on the currently targeted enemy and does a parallax effect with the battleback to give the illusion of depth.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19827
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] 3D Battle Camera
« Reply #4 on: February 16, 2013, 03:17:06 PM »
That's the only script in my game that I didn't make myself. xD
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline ThallionDarkshine

  • Ethereal Devastator
  • ****
  • Posts: 268
  • LV: 55
  • Gender: Male
    • View Profile
Re: [XP] 3D Battle Camera
« Reply #5 on: February 16, 2013, 05:42:10 PM »
The only script? When I saw a few other scripts in the database, I thought that they looked like they had been used in CP. Such as, Aqua's HP states script. I had never noticed that, and then I made a script that basically did the same thing, only not using states, to replicate the feature from CP.

Edit - And what about Fantasist's transition pack? Or did you only use your own transitions?

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19827
  • LV: 641
  • Gender: Male
  • Ok.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] 3D Battle Camera
« Reply #6 on: February 16, 2013, 05:45:19 PM »
Yup, I did my own ones. In fact, Fantasist was the one who was inspired by my game to make the transitions pack. xD There are actually a lot of scripts that have been inspired by CP. Since I didn't want to release the scripts, people made their own versions.
Check out Daygames and our games:

King of Booze      Star Doge      Pet Bots
Drinking Game for Android      Star Doge for Android
Drinking Game for iOS      Star Doge for iOS      Pet Bots for iOS
Drinking Game on Steam      Star Doge for PC


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline ThallionDarkshine

  • Ethereal Devastator
  • ****
  • Posts: 268
  • LV: 55
  • Gender: Male
    • View Profile
Re: [XP] 3D Battle Camera
« Reply #7 on: February 16, 2013, 05:47:04 PM »
Of course you made it first. That's what's been inspiring all my battle-related scripts, and the next script up is auras on the person that's speaking.

Edit - Update to version 0.2. This script is now compatible with my battler transitions script.
« Last Edit: February 17, 2013, 06:53:13 PM by ThallionDarkshine »

Offline Mightylink

  • Transcended Spirit
  • ***
  • Posts: 216
  • LV: 6
  • Gender: Male
  • There is no spoon...
    • View Profile
    • ZVC Studio's
Re: [XP] 3D Battle Camera
« Reply #8 on: March 18, 2013, 09:33:57 PM »
I am getting an error on line 109 with this script, I tried throwing it on a default new project in xp and it still wont work.

More specifically:
NameError Occured
uninitialized constant Spriteset_Battle::Transitions

Any idea whats going on here?

Offline ThallionDarkshine

  • Ethereal Devastator
  • ****
  • Posts: 268
  • LV: 55
  • Gender: Male
    • View Profile
Re: [XP] 3D Battle Camera
« Reply #9 on: March 19, 2013, 07:42:24 PM »
Fixed. It was having an error with my compatibility code with my battler transitions script.

Offline Tapout

  • Total Beginner
  • Posts: 5
  • LV: 0
    • View Profile
Re: [XP] 3D Battle Camera
« Reply #10 on: March 21, 2013, 11:12:55 AM »
Awesome script! Works like a charm. Thank you for this.

Offline ThallionDarkshine

  • Ethereal Devastator
  • ****
  • Posts: 268
  • LV: 55
  • Gender: Male
    • View Profile
Re: [XP] 3D Battle Camera
« Reply #11 on: April 24, 2013, 07:48:28 PM »
Update to v 0.3. Fixed one little bug with the compatibility code for my Battler Transitions script.

Edit - Update to v0.4. Fixed another little bug with the compatibility code.
« Last Edit: April 26, 2013, 02:11:40 AM by ThallionDarkshine »