Save-Point
Golden Sun Camera - Full 360 Rotation Desired - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Golden Sun Camera - Full 360 Rotation Desired (/thread-5317.html)



Golden Sun Camera - Full 360 Rotation Desired - finalholylight - 11-03-2014

Hmm, I tried camera_set(GS::ATTACK) , and set ATTACK = -180 (all actors will not move) but actor 01 (isaac) still move, 3 other actors work fine. I'm trying to understand how camera rotates, I want to extend the rotation, in demo it only rotates around 1/2 the screen (or 1/2 ellipse)


RE: Golden Sun Camera Battle System - DerVVulfman - 11-04-2014

Do you have any bracketed values in Isaac's name (ie Isaac[0] ) ? If you do, you're overriding the default value and are using the normal rotation for Isaac while the others are forced to a -180 rotation.

Insofar as your problem with only half rotation:
The Instructions Wrote:
Code:
***   What this battle system does is reposition the battle screen around and***
***   make it rotate. The battle screen uses angles based on -180 to 180.    ***
***   if FULL_ROTATION in module GS is set to true, -180 would be the        ***
***   starting position where the actors are all at the bottom of the screen ***
***   and the enemies are further back facing the screen. At angle 180, the  ***
***   actors are at the back facing the screen and the enemies are at the    ***
***   front facing the back.

Look at the GS module where you config stuff. You're probably gonna find FULL_ROTATION set to false. Hehehe... Set it to true.


RE: Golden Sun Camera Battle System - finalholylight - 11-04-2014

Ow, I forgot author set value [140] to the name of Isaac's weapon.
About camera rotation:

FULL_ROTATION = true
[Image: GSBS_rotate02_zpsda52deb9.jpg]

FULL_ROTATION = false
[Image: GSBS_rotate01_zpsf401a120.jpg]

I want FULL_ROTATION means that:
[Image: GSBS_rotate03_zps55084973.jpg]


RE: Golden Sun Camera Battle System - DerVVulfman - 11-05-2014

THAT full a rotation? Yarg. Not likely. And looking at the script, I wouldn't know where to start.


RE: Golden Sun Camera Battle System - finalholylight - 11-05-2014

Or actors will rotate like that (red) :
[Image: GSBS_rotate04_zps8e3d703d.jpg]
not need to see actors' face
I'm trying edit screen_x, hmm, but not work, still can not understand the algorithm that author used in this system :-?


RE: Golden Sun Camera - Full 360 Rotation Desired - DerVVulfman - 11-06-2014

The algorythm confuses me too.

So the thread by RotimKid / Shockwave does not become filled by this request (as he's no longer here or supporting the topic), AND to make it visible to others who may be able to offer their assistance, the more recent posts asking for a full 360 rotation has been trimmed off and moved here... in Code Support.

The original topic can be located Here.