What does "Control State" do under keyboard controls?

For questions about using Classic.

Post » Mon Aug 03, 2009 8:07 pm

I can't help but feel like this might be leading toward the possibility of user-customized controls, but what does "Set Control State" and "Get Control State" even supposed to DO? @_@
B
4
S
2
G
4
Posts: 164
Reputation: 1,878

Post » Mon Aug 03, 2009 8:45 pm

you could sort of have customized controls with that
get control state, gives you the condition of a current control
such as "fire", or "jump"
it tells you the status of that control
and set control allow you to set the state of a control as if there were a button or control pressed


I made a custom controls plugin at one point
but it was before the xbox360 plugin, so it only works with keyboard

I was originally going to upgrade the plugin to take advantage of the new control system, and automatically work with built in behaviors, and the 360 pad, but I believe that david has plans to integrate custom controls into the official plugins

but it is very simple to make it work with built in behaviors, and the latest reply to the topic explains how
read the first part of the thread for a tutorial of how to use the plugin

if you have any questions feel free to ask
hope this is helpful:
viewtopic.php?f=2&t=3900&st=0&sk=t&sd=a

you can try the
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Mon Aug 03, 2009 11:21 pm

Oohh, neat. ^^ Someone had the same idea I had, and made a plugin for it. ^_^ Thanks. Would you recommend it though? You said yourself that the creators for Construct are just gonna try adding their own custom controls thing for players so that it can work with the XBox 360 controller and (hopefully) PC controllers in general.
B
4
S
2
G
4
Posts: 164
Reputation: 1,878

Post » Mon Aug 03, 2009 11:57 pm

it's very easy to use, and won't take alot of events if you decide to remove it later
also, the custom controls was something David mentioned in chat as an idea they were putting on the table. it hasn't been officially announced, and I don't know of whether it's a sure thing, or how long until it would come out

I would recommend it
it can't hurt anything :)

there's a good chance if there isn't a 360 controller custom thing
in the next month I might be able to add it next month
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Tue Aug 04, 2009 12:18 am

I ask since almost the latest updates to Construct have pretty much broken my project and would be a pain in the ass to fix. ^^ I assume if I downloaded your plugin and they came out with their own user-customized controls, that it would be a pain in the ass to change as well. And seeing as how the new Construct download seems to have affected the old in such a way that I can't really work on my old project in old Construct anyway, I guess using your plugin can't hurt at all. ^_^
B
4
S
2
G
4
Posts: 164
Reputation: 1,878


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: GameOverBeast and 1 guest