Page 1 of 1

Special Canvas used special effects only with...

PostPosted: Wed Apr 25, 2007 3:03 am
by Sgt. Sparky
with the new version of GE(1.3.7) there is an awsome new function called "draw_from".
it allows you to copy the actor's animation frame with a specified scale,
use the left and right arrow keys for left and right,
up and down arrow keys for up and down and further and closer. :D
look at all the codes to see how to do this! :D
Image
Image
:D

PostPosted: Wed Apr 25, 2007 4:54 pm
by pixelpoop
that feature is just what I was needing. this rocks thanks for posting Sgt. Sparky.

just a note:
it looks like you repeated some of the same code on the actor. You have 2 draw actor events with this in it:
if(x < 0)x = 0;
if(xscreen > view.width)xscreen = view.width;
if(y < 0)y = 0;
if(yscreen > view.height)yscreen = view.height;

but this: dist = y;
is only in one of the events. I think you can put it in the first and then erase the second draw actor event.

PostPosted: Wed Apr 25, 2007 5:31 pm
by Sgt. Sparky
I tried it in the first where it would limit him and it did not work,
when he was walking he could walk way out of view untill you released the walking key. :(

WOW!

PostPosted: Thu Apr 26, 2007 6:27 am
by kyensoftware
WOW!
This is scaling a pic!!!
Does it work on PPC?
If it does, then there we go, GE rocks!!
YAY!!

PostPosted: Thu Apr 26, 2007 1:57 pm
by makslane
Sure

Re: WOW!

PostPosted: Thu Apr 26, 2007 10:33 pm
by Sgt. Sparky
kyensoftware wrote:WOW!
This is scaling a pic!!!
GE rocks!!!

it is scaling it onto a canvas actor. :D

PostPosted: Thu Apr 26, 2007 10:45 pm
by pixelpoop
I tried it on the the GP2X and it works there as well! YAAAAA!

PostPosted: Thu Apr 26, 2007 10:55 pm
by Sgt. Sparky
:D
YAAAAAAAAAA!!!
(even though I do not have a gp2x :( )

PostPosted: Fri Apr 27, 2007 2:55 am
by Sgt. Sparky
UPDATED! :D

this...

PostPosted: Fri May 04, 2007 11:39 pm
by kyensoftware
this, like i said before is awsome, but later, when ge gets OpenGL (if it does) then you could mak an even better one!
btw, make it so the image (not resized) is big (and not pixelly) then when you start the game, you srink it wit draw from, then make it eventually go back to 100%!
that way it looks better and not pixelly...

PostPosted: Sat May 05, 2007 2:28 am
by Sgt. Sparky
Allrighty! :D
(I may wait for openGL)

Re: Special Canvas used special effects only with...

PostPosted: Thu Jul 30, 2009 7:16 am
by yanika
Is it possible to have a canvas painting restretched? My mother recently had a canvas print stretched and framed for me. The frame is great, but the stretching job is sub-par. The canvas is not tight and a bit floppy to the touch. Since my mother lives several states away, taking the picture back to the original framer is not an option. Is it possible for a framing gallery to restretch the canvas more adequately?
____________________
affiliateelite ~ affiliateelite.com ~ adgooroo ~ adgooroo.com