SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing Help

Reply
 
Thread Tools Search this Thread
Old 09-21-2020   #1
TeriosSonic
Cheese Cheeser
 
TeriosSonic's Avatar
Default Control mode detection

Hey, does someone know how to detect which control mode [Simple/Standard/Strafe] you're using? It's for vanilla SRB2 by the way.
__________________
That one guy who cheesed cheese.
Metal Anyone v3 is a thing, and it's coming soon. Suggest new abilities for him here!
Server de Discord de SRB2/Kart en ESPAŅOL (link is down)
TeriosSonic is offline   Reply With Quote
Old 09-21-2020   #2
Rafael44642
 
Rafael44642's Avatar
Default

It depends. If the Player is moving where the camera leads to and only turns back when you go, it means thaflt youre in standard Mode. If the character moves like in the standard mode but without facing other directions except front and sideways, it means you are in strafe mode and if you, whenever you face one direction and the player remains on that direction (or if he uses his ability where hes facing instead of the camera), it means that youre in simple mode (that i would recommend if youre planning on playing on mobile or with a controller). Those options can be acessed by going to options > setup controls > 1 player settings and camera mode (i guess, correct me if im wrong). If you meant another problem, im sorry.
Rafael44642 is online now   Reply With Quote
Old 09-21-2020   #3
Lat'
Absolute territory where
 
Lat''s Avatar
Default

You can detect Simple & Lmaogalog (yes this is how it's named) by checking for
Code:
player.pflags & PF_ANALOGMODE
Standard mode should instead have PF_DIRECTIONCHAR applied.
__________________
Quote:
Originally Posted by MADVAL2 View Post
glad there is no Zero Two in this pack,i really get mad everytime i see Zero Two
Lat' is offline   Reply With Quote
Old 09-21-2020   #4
Ackeneister
A SRB2 Fanatic
 
Ackeneister's Avatar
Default

Quote:
Originally Posted by Rafael44642 View Post
Those options can be acessed by going to options > setup controls > 1 player settings and camera mode (i guess, correct me if im wrong).
It's something like this:







For changing how your camera works:

__________________
Just a random guy going around the internet. What did you expect anyways? A RNG signature?
Somebody once told me the world is gonna roll me
Junio Sonic speens
Now known as exe.kniDykniByknitS, because Spooktober!
Ackeneister is offline   Reply With Quote
Old 09-21-2020   #5
TeriosSonic
Cheese Cheeser
 
TeriosSonic's Avatar
Default

Quote:
Originally Posted by Lat' View Post
You can detect Simple & Lmaogalog (yes this is how it's named) by checking for
Code:
player.pflags & PF_ANALOGMODE
Standard mode should instead have PF_DIRECTIONCHAR applied.
This is what I was looking for, thanks!
__________________
That one guy who cheesed cheese.
Metal Anyone v3 is a thing, and it's coming soon. Suggest new abilities for him here!
Server de Discord de SRB2/Kart en ESPAŅOL (link is down)
TeriosSonic is offline   Reply With Quote
Old 09-21-2020   #6
Rafael44642
 
Rafael44642's Avatar
Default

Quote:
Originally Posted by Ackeneister View Post
It's something like this:







For changing how your camera works:

Yeah, like that. I couldn't at the moment for some reasons but yeah, thats it.
Rafael44642 is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:17 AM.


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