Open Source & The Official Plugins

Discussion and feedback on Construct 2

Post » Sun Jan 04, 2015 7:28 pm

I would like to propose an idea that I had a while ago:

Instead of keeping the default plugins that come with Construct 2 to the bare minimum, why not set up a repo for these plugins and allow other developers to expand the official release through things like pull requests?

Allow me to explain my issues with the current situation:
    - Some plugins provide the bare minimum needed, but for a lot of projects they fall short.
    - There isn't an easy way of keeping up with all the plugins, and installing them can be a hassle.
    - The official plugins are open source, or at least, they are readable .js files
    - Not everyone knows how to program javascript, and Construct 2 is all about bringing game development to non-programmers.
    - Duplicating the official plugins is advised against due to the fact that they do not get the updates that the Scirra teams apply (they aren't maintained).

I would like to leave you with the next example:

ScrollTo is the only camera plugin. It does one thing, keep all the object that have this behavior within the view.

I was watching "the art of screenshake" by Jan-Willem from Vlambeer, and he made some good points about the impact of the camera on "game feel". For a few projects I had to edit the ScrollTo with the very basic function of having an offset. For a project like Luftrausers where they have a super dynamic camera. It makes sure you can see what's in front of you, as well as move slightly in the direction of bullets that may hit you. Only programmers would be able to have this feature. Now I know the Scirra crew works very hard and they are probably too busy to work on details like that, so why not let me do it?

If this would be too much of a hassle for Scirra or they simply disagree, than I will create a package manager of sorts so people can submit, search, install and update plugins, like node or sublime text.
B
18
S
6
G
3
Posts: 30
Reputation: 4,208

Post » Sun Jan 04, 2015 7:40 pm

There is a third-part plugin named Magic Cam that already does that to a certain extent.

Otherwise, apply the "ScrollTo" behavior to a sprite object that you can name "Camera" and set to invisible and place every tick through events, best applied to the specific game you are making.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
293
S
117
G
96
Posts: 7,310
Reputation: 71,069

Post » Sun Jan 04, 2015 7:54 pm

Its about backward compatibility. Something like a fork of an official plug would be hard to maintain, and Scirra can't guarantee it as always usable.
For example there are countless third party plugs that are not maintained, and subsequently no longer work.

Also, many of the bare minimum plugs are like that because you can replicate them easily in events.
Scroll to for example is as easy as using the system scroll.x, and scroll.y.
The plugs simply offer a quick and dirty way to get something up and running, while keeping you from having to commit resources to something you're not 100% sure about.

That being said, an official git type repository for third party plugs would be a good idea.
It might make it easier to keep some of them up to date.
Image ImageImage
B
170
S
50
G
179
Posts: 8,379
Reputation: 113,427

Post » Sun Jan 04, 2015 8:08 pm

+1 for a rep - otherwise often these plugins disappear forever as their makers lose interest or hosting or clean their dropbox folders. It would a nice move from the Scirrians to support those who help expand their product.
B
19
S
6
G
7
Posts: 1,101
Reputation: 6,146

Post » Sun Jan 04, 2015 8:11 pm

newt wrote:Its about backward compatibility. Something like a fork of an official plug would be hard to maintain, and Scirra can't guarantee it as always usable.


You may have misunderstood, my idea was that there should be an official repo of each plugin where everyone can add features, which can be pulled by the Scirra team if they deem them to be good enough.
B
18
S
6
G
3
Posts: 30
Reputation: 4,208

Post » Sun Jan 04, 2015 8:28 pm

Behaviors and JavaScript are not the only tools in C2. I did research on game cameras before getting started and experimented with Magic Cam and ended up building a very dynamic and smooth camera system with many high end features....all with Events.

https://www.youtube.com/watch?v=aAKwZt3aXQM&feature=youtu.be

http://kpulv.com/92/Dev_Log__Some_More_Camera_Stuff/

http://dev.yuanworks.com/2013/03/09/little-ninja-dev-smart-camera-movement/

Even though the original poster sounds like he has no problem with logic since he can code many of the posters I see here seem to want to rely too much on the Behaviors and avoid getting a firm grasp on logic (if then else ...loops... async vs sync.. etc).

I know it would be complex to do so, but C2 would greatly benefit from a way to package up Events and the objects they refer to and export/import them. This would make it more likely that people would be able to benefit from each others work and those that do not understand logic would be able to get their eyes on a lot more complex examples of Events in action... however it can be done... my C2 Data Editor tool does this on a smaller scale where I copy event sheets and objects from a source capx into the users capx with the injection feature and even generate Events on the fly and inject those... @Ashley ... using .Net LINQToXML to query through all the files and XDocument to manipulate them made it possible without becoming a nightmare.
B
21
S
5
Posts: 196
Reputation: 1,984

Post » Sun Jan 04, 2015 8:33 pm

In a way thats what already happens.
Someone makes a suggestion, and Scirra will make a change.
Using someone elses code is unlikely, as they would have to then buy the rights to publish that code.
There is no reasonable way to do that without some weird contract.

Change our code, and then we will use it, and not give you anything..., can't happen.
Image ImageImage
B
170
S
50
G
179
Posts: 8,379
Reputation: 113,427

Post » Sun Jan 04, 2015 8:56 pm

newt wrote:In a way thats what already happens.
Someone makes a suggestion, and Scirra will make a change.
Using someone elses code is unlikely, as they would have to then buy the rights to publish that code.
There is no reasonable way to do that without some weird contract.

Change our code, and then we will use it, and not give you anything..., can't happen.



Do you know what Github is?
B
18
S
6
G
3
Posts: 30
Reputation: 4,208

Post » Sun Jan 04, 2015 9:48 pm

You don't see any issues with multiple forks of plugs named Scrollto?
Image ImageImage
B
170
S
50
G
179
Posts: 8,379
Reputation: 113,427

Post » Sun Jan 04, 2015 9:53 pm

Just for the record...a quality camera w/ shaking and literally anything else you can think of can be done quite effortlessly with events and no behaviors.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Next

Return to Construct 2 General

Who is online

Users browsing this forum: tumira and 18 guests