Additions to the canvas object

New releases and general discussions.

Post » Tue Dec 09, 2008 11:18 pm

1: Allow the canvas object to save as an image file.

2: Allow canvas to load images from file.
B
2
S
2
G
4
Posts: 136
Reputation: 1,722

Post » Thu Dec 11, 2008 5:43 am

Yeah this is a good idea IMO... could really open up some possibilities for things like random backgrounds, progressive battlefields that remember your previous "battles" etc etc.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
45
S
17
G
37
Posts: 2,853
Reputation: 25,966

Post » Thu Dec 11, 2008 1:25 pm

You can save images from a canvas by using the image manipulator object. Simply use the image manipulators function 'copy image from sprite' and select the canvas. Then use the action 'save png image'.
B
4
S
2
G
5
Posts: 641
Reputation: 3,011

Post » Thu Dec 11, 2008 8:05 pm

Huh. Well what do you know... Okay well I got the saving to work. but how about pasting it to the sprite? Is that possible too? With "Copy to sprite"? Because I keep crashing whenever I try it.
B
2
S
2
G
4
Posts: 136
Reputation: 1,722


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests