[Suggestion] Updates to objects

Discussion and feedback on Construct 2

Post » Wed Mar 11, 2015 12:38 am

This post is not aimed towards a single object type, but just in general when using different objects, it gets a bit frustrating that some things are missing which should be there in my opinion. As these are "minor" things you tend to forget them, so ill add them here as I find them and hopefully they will be added at some point.

Objects:

Video
Frame rate - Would be great if you could get the frame rate of the video.
Number of frames - Self explanatory, but the number of frames in the video.
Format - there are other ways to get this, but would be handy if you could just get the format through a variable (Less important).
Check vs Frame rate / Playbacktime - For some reason there are no way to check vs this.
Play at FPS - Play a video at a certain fps, so you can make slow motion and fast forward.

File chooser
Path - There are no way to get the path to a file on local disk. Which is strange since you can get the filename.

NWjs
Filename - Opposite the File chooser object you can get the path including the filename, but there are no way as far as I can see that you can get just the filename.

Sprite
Add frame - Add a blank frame to a sprite
Delete frame - Delete frame at index
Insert frame - Insert frame at index
Replace frame - Replace frame at index
Fill frame - Fill frame with a certain color at index
Erase frame - Erase frame at index
B
44
S
11
G
2
Posts: 1,181
Reputation: 6,826

Post » Wed Mar 25, 2015 2:04 pm

NWjs
Run external program - When there are spaces in the path it seems to cause problems. Since you have to execute the program using the syntax """C:\Test program\test.exe""". However this wont work if you read the path from a file or a variable, without having to make some weird work around. The only way to make it work as I see it, is to add a variable like: SpaceVar = """"" and add it to the file path, like so: "Run Application = SpaceVar & Filepath & SpaceVar".
Would be handy if you could either read the path directly from a file or you could write it to a variable without this workaround.
B
44
S
11
G
2
Posts: 1,181
Reputation: 6,826

Post » Thu Mar 26, 2015 1:09 am

Video
Missing expression checks - Even though you can check whether a video object is in a current state such as muted, paused etc as an event. These options seems to not be available as expressions in the video section. If you use a "Compare two variables" it would make sense that these were also there, since its actually possible to check vs them as events. At the moment only 3 are available (Duration, PlaybackTime, Volume) so if (Has ended, Is muted, Is paused, Is playing) were there as well it would be nice.

Source - Would be nice if you could get the source. Both filename and path to the file. And if there are no source it could just return -1.
B
44
S
11
G
2
Posts: 1,181
Reputation: 6,826

Post » Thu Mar 26, 2015 4:19 am

NWjs & Video & File chooser
Syntax consistency - Depending on what functionality you are using, there seem to be different syntax for how you work with files, which is really annoying to say the least. For instant using the NWjs.Userfolder will return the following: "\User\<Name>\"
However setting the source for a video require the exact path "C:\Movie.webm". Which you can get using the open dialog in NWjs, but that require user interaction. Since there are no functionality that allow you to get just the drive letter, filename, or just the path to a location makes working with files a living hell to say the least, and this changes completely depending on what functionality you use.
It is suggested in the C2 manual that you should use the User folder due to permissions, so it would make sense if all the file interactions also worked in a consisting manner, so you don't have to create a different workaround for each function depending on which one you use. Being able to get the drive letter of where a folder or file exist would be very useful. Basically just divided, into the separate parts that follows what you would expect when working with files on a computer. (Drive, folder, File).
B
44
S
11
G
2
Posts: 1,181
Reputation: 6,826

Post » Thu Apr 02, 2015 2:32 am

NWjs & Debugger
Incompatible - While running your project in debug mode its not possible to open any NWjs dialog boxes. Might be considered a bug, but regardless, it would be nice if the debugger and NWjs were compatible.
B
44
S
11
G
2
Posts: 1,181
Reputation: 6,826

Post » Thu Apr 02, 2015 3:49 am

* Follow path (drawing a path for sprites to follow as in Clickteam Fusion)
* More animations in Sine behavior and more animation controls.
* "move to" plugin (should be included within the official C2 releases)
* Transitions between layouts
* Advanced camera with easing (ease in \ out)
* iframe (should be included within the official C2 releases)
* Squash and stretch for Platform behavior to achieve cartoon like movements without using animation frames
* Share for android games (opens native android dialog with all installed social apps for share and this is only available with CocoonJS)
B
15
S
5
Posts: 192
Reputation: 1,514

Post » Thu Apr 02, 2015 4:04 am

Egyptoon wrote:* Follow path (drawing a path for sprites to follow as in Clickteam Fusion)
* More animations in Sine behavior and more animation controls.
* "move to" plugin (should be included within the official C2 releases)
* Transitions between layouts
* Advanced camera with easing (ease in \ out)
* iframe (should be included within the official C2 releases)
* Squash and stretch for Platform behavior to achieve cartoon like movements without using animation frames
* Share for android games (opens native android dialog with all installed social apps for share and this is only available with CocoonJS)


Very nice Suggestion!!

Very Extremely usefull features :
Moving object with ease control. Say you want your object move from point A to B with ease control.
Built-in transitions between layouts. This is so crucial, how can construct 2 doesn't have transition between layouts
B
36
S
13
G
1
Posts: 88
Reputation: 3,096

Post » Thu Apr 02, 2015 7:53 am

@nikosurfing
Thanks :) hope Ashley read this :D
waiting for Construct 3 and i hope adding these new features.
B
15
S
5
Posts: 192
Reputation: 1,514

Post » Thu Apr 02, 2015 10:52 am

@Egyptoon I like the share sugesstion (the others too, apart f4om moveto as I never used it so I do not know), and I would like to add that it would be nice to have the share for the html5 version aswell.

Same goes for advertisements, why isn't this already present for html5 is beyond me, I can understand why IAP are not, but ads.. (not that I like ads, but consistency please).
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
48
S
21
G
18
Posts: 2,114
Reputation: 16,877

Post » Thu Apr 02, 2015 3:12 pm

NWjs
Expanding triggers - Would be very useful I think if the following triggers could be added to NWjs.

On file being copied - Trigger when a file is currently being copied. Would be useful for making copy file progress bars.
On file copied - Trigger when a file have completed being copied.
On file deleted - Trigger after a file have been erased.
On file moved - Trigger after a file have been moved.
On file being moved - Same as "On file being copied" would be handy for progress bars.

C2 General
On exit program - Would trigger when your program is closing. Could be used for saving progress etc.
B
44
S
11
G
2
Posts: 1,181
Reputation: 6,826

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests