Construct Classic r2 released

New releases and general discussions.

Post » Wed Jul 25, 2012 4:56 pm

Is this a new version of construct?
B
18
S
4
G
1
Posts: 413
Reputation: 2,512

Post » Wed Jul 25, 2012 7:53 pm

If you didn't download it yet then it's probably new for you.
B
13
S
4
G
1
Posts: 63
Reputation: 1,170

Post » Fri Aug 03, 2012 9:27 pm

New guy here, Hello to everyone.
So far I've been doing good but I've hit a bump.

I don't know if this is a bug or something else, but the Scroll to X function doesn't work. Even if I use the Scroll to Object function the x scrolling doesn't work.

Can anyone please help?

B
2
Posts: 2
Reputation: 254

Post » Sat Aug 04, 2012 12:25 am

Nevermind, I've solved the problem.

It looks like on the On start of Layot event you can't Scroll to X, but you can Scroll to Y.
B
2
Posts: 2
Reputation: 254

Post » Wed Aug 08, 2012 2:10 am

I found a bug, layer angle is broken. It just dose not work.
B
21
S
4
G
4
Posts: 280
Reputation: 2,934

Post » Wed Aug 08, 2012 3:28 pm

I found a terrible bug, if using a keypress and an overlap in the same event, only the overlap counts

like if

if player is overlaping box
and ENter is pressed


Alos, textboxes must be added in size, so that if you resize the text box to the text size, and the chracter size is 15, you must add another 15 to the end as paddign, or it linebreaks or something
B
18
S
4
G
1
Posts: 413
Reputation: 2,512

Post » Wed Aug 08, 2012 6:32 pm

@Imbechile
@toralord
Enable the layout setting "Unbounded scrolling"

@Urled
[quote]if player is overlaping box
and ENter is pressed[/quote]
That works fine here.
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749

Post » Thu Aug 09, 2012 12:12 am

OK, but it doesn't work fine for me. This happened when i upgraded from 1.2 (i think?) to the latest version. It is a god damn pain in the ass.
I've found away around it, though, by setting a global or object variable to one and then detecting if it is one and then adding the keypress event.
B
18
S
4
G
1
Posts: 413
Reputation: 2,512

Post » Thu Aug 09, 2012 2:43 am

[QUOTE=Urled] if player is overlaping box
and ENter is pressed[/QUOTE] Works fine here, too. It seems there's something else in your event sheet that breaks the functionality.


[QUOTE=Urled]Alos, textboxes must be added in size, so that if you resize the text box to the text size, and the chracter size is 15, you must add another 15 to the end as paddign, or it linebreaks or something[/QUOTE] Font metrics don't work that way.

First of all, values are in points, not in pixel.
1 point = 1/ 12 pica = 1/72 inch = 127/360 mm = 0.3527 mm.
You need the system's dpi (eg. 72 or 96 dpi) and resolution to calculate pixel values from points.
For example, if the reolution is 960 pixel in height and the dpi is 96, then the system displays 10 inch with 960 pixel.
A 15 point font would have a font height of 0.2083 inch (0.02083%) which results in a font height of 20 pixel (960 * 0.02083).

Second, the point size only defines the height (ascent + descent + internal leading, but without external leading). It also tells you nothing about the actual width of a character, that varies (e.g. "m" is much wider than "i" in non-monospaced fonts). But if a text box is not wide enough to display the text, it does indeed shift to the next line or, if no spaces are in between, doesn't display at all.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Thu Aug 09, 2012 3:40 pm

Thanks R0J0hound.
B
21
S
4
G
4
Posts: 280
Reputation: 2,934

PreviousNext

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 7 guests