Download Construct 2 release 45

Discussion and feedback on Construct 2

Post » Thu Jun 23, 2011 2:07 am

Download Construct 2 public preview 45
Link to release 44

New this build: an early version of the image editor! This is a joint effort between me and Davo so far.



It's not very far done, so first assume it does absolutely nothing at all. Now, here's what it can do:
- Display the texture being edited.
- Clear the image to all transparent.
- Import and export image files in PNG, JPG, BMP, TIFF and GIF format. (Note there's a bug in Classic where it doesn't save alpha channels correctly - this is fixed in C2.) I recommend PNG for everything since it's got good lossless compression and alpha channel support!
- Mirror and flip the image.
- Crop away transparent edges. This always leaves a 1px transparent border around the image. This will ensure that older graphics cards and browsers which sometimes have "hard" texture edges show them softly still. (I just realised this is annoying for tiled background - I'll turn it off for tiled textures in the next build :P
- Resize the image canvas. You can align the image top-left, center or have it stretch with the canvas.
- Toggle the background brightness, in case you're viewing e.g. a white spot with alpha channel.

That's it! No actual drawing tools yet. These are on the way, as well as support for animations. However, it's a bit quicker than launching an external editor, and hopefully should eliminate the "why is it launching Paint?" headaches.

Since you can undo texture edits there's also an option to always save when you exit without prompting, to make working a bit faster. There's a checkbox for it in preferences, and in the prompt to save changes in the image editor itself.

The image editor also uses an OpenGL renderer - watch out for graphics glitches, since this might trip up some drivers. (That can usually be coded around, though.)

Changelog
- [Feature] Picture editor
- [Add] 'Always save' option for the image editor in Preferences.
- [Change] Sprite: hot spot now defaults to centered, but rounded to the nearest whole pixel in its texture. This should correct some pixel-perfectness issues.Ashley2011-06-28 00:22:12
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Thu Jun 23, 2011 2:28 am

Nice work ! Did a quick test and everything worked perfectly :D
B
58
S
13
G
10
Posts: 632
Reputation: 12,505

Post » Thu Jun 23, 2011 2:56 am

Nice! When you get upto doing zooming in, I hope it will be more accurate to use selection tools than C1's (you had to click away from the pixels a bit).
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Thu Jun 23, 2011 7:50 am

yay! looks like fun!
B
1
G
1
Posts: 1
Reputation: 427

Post » Thu Jun 23, 2011 8:56 am

[quote:ctbptmc7]support for animations[/quote:ctbptmc7]

What you have in mind?
Adding/removing frames and animation preview? that's all we need :D


Edit: I have a little request.
Could you make a possibility to set Hotspot for Text objects?
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Thu Jun 23, 2011 11:17 am

I don't use the image editor in C1 very often, mainly only when I need to tidy things up or create place-holder graphics, but one thing that really annoyed me about the original editor was the tiny colour-selection box.

Unbelievably small, and ridiculously hard to get the colour you wanted by selection.
So please learn from this and make it the same size as you'd expect to find in graphics software. :)

Krush.
B
2
S
2
G
3
Posts: 406
Reputation: 2,062

Post » Thu Jun 23, 2011 11:47 am

Please! Give us exe exporter and shader compatibility! :( HTML 5 is so slow and crappy imo.
B
2
G
1
Posts: 20
Reputation: 590

Post » Thu Jun 23, 2011 11:52 am

[quote="Tanabe":3vggu1ey]Please! Give us exe exporter and shader compatibility! :( HTML 5 is so slow and crappy imo.[/quote:3vggu1ey]

Before we consider the exe exporter, it's best to make sure the editor is as good as it can be, and we chose HTML5 because it should reach the largest audience and it's a very exciting and emerging technology! We are aware of the demand for an exe exporter, don't worry.
Image Image
Scirra Founder
B
125
S
37
G
25
Posts: 3,945
Reputation: 44,922

Post » Thu Jun 23, 2011 3:56 pm

Resizing in the image editor after a sprite image has been saved once doesn't change the "Size" of the sprite, i.e.

1) add sprite,
2) load image in image editor,
3) exit and save image, sprite "Size" is set to image's size,
4) go back in image editor and crop transparent edges or scale image,
4) save and exit, sprite "Size" doesn't update and sprite is stretched back to original size.

[Personally I'm here because the HTML5 focus is so ahead of the curve compared to other non-programmer game-making software. Everyone else is flirting with it, but seems to have too much invested in flash or whatever to make such a drastic change.]
B
5
S
2
G
4
Posts: 14
Reputation: 2,422

Post » Thu Jun 23, 2011 4:16 pm

[quote:1e9dulb1]it's a bit quicker than launching an external editor, and hopefully should eliminate the "why is it launching Paint?" headaches.[/quote:1e9dulb1]

Excellent! :)
B
72
S
25
G
9
Posts: 382
Reputation: 10,649

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests