Posts: 49
Threads: 2
Joined: Jun 2011
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)
Posts: 11,239
Threads: 649
Joined: May 2009
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.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 49
Threads: 2
Joined: Jun 2011
Ow, I forgot author set value [140] to the name of Isaac's weapon.
About camera rotation:
FULL_ROTATION = true
FULL_ROTATION = false
I want FULL_ROTATION means that:
Posts: 11,239
Threads: 649
Joined: May 2009
THAT full a rotation? Yarg. Not likely. And looking at the script, I wouldn't know where to start.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 49
Threads: 2
Joined: Jun 2011
Or actors will rotate like that (red) :
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 :-?
Posts: 11,239
Threads: 649
Joined: May 2009
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.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links