Tiled background image offset Help?(Solved)

For questions about using Classic.

Post » Tue Mar 29, 2011 7:11 pm

"PixelRebirth
+ System: puzzlecubes.Value('x') Equal to round(puzzlecubes.X)
+ System: puzzlecubes.Value('y') Equal to round(puzzlecubes.y)"

"Noga
...and, I think it is difficult for a player to pixel precise position those blocks, you could add a range. If a block is between i.e. 550-554, it'd snap to the right position"

What do these expressions actually do? :oops:
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Wed Mar 30, 2011 9:32 am

Round(value)
Rounds value to its nearest whole number, eg. Round(6.9) gives 7

...from Construct Manual, which some good man put together :)
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Wed Mar 30, 2011 1:16 pm

[quote="Noga":2e9iv9yq]Round(value)
Rounds value to its nearest whole number, eg. Round(6.9) gives 7

...from Construct Manual, which some good man put together :)[/quote:2e9iv9yq]

Errm...I didn't read that page :oops:


Anyway i managed to solve the problem by adding some markers.



+ System: For each Green
+ puzzlecubes: puzzlecubes overlaps markers
+ puzzlecubes: Value 'numb' Equal to markers.Value('marker')
-> puzzlecubes: Set animation frame to 10
-> puzzlecubes: Set X to markers.X

Thanks to everybody who posted.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests