Page 3 of 5

Re: draw_from, change scale and rotate

PostPosted: Thu Nov 22, 2007 10:38 am
by Kalladdolf
uh-huh.
but is C++ also a gaming language?
I think u need some way to rotate stuff.
isnt there some kind of variable?

Re: draw_from, change scale and rotate

PostPosted: Sun Nov 25, 2007 1:12 pm
by Fuzzy
No, C++ isnt dedicated to specific purpose, other than programming in general.

In fact, most games are merely prototyped in C++, then they are analysed and the slow parts are re-written using assembler.

Re: draw_from, change scale and rotate

PostPosted: Wed Nov 28, 2007 8:29 am
by Kalladdolf
So the GE language is actually a variation of C++ ?

Re: draw_from, change scale and rotate

PostPosted: Wed Nov 28, 2007 11:26 am
by Troodon
GE language is ennobled C.
People are waiting it to upgrade in ennobled C++ so that the program could rotate animations without needing rotating animation. And other this kind of stuff. :)

Re: draw_from, change scale and rotate

PostPosted: Wed Nov 28, 2007 1:22 pm
by Fuzzy
tekdino wrote:GE language is ennobled C.
People are waiting it to upgrade in ennobled C++ so that the program could rotate animations without needing rotating animation. And other this kind of stuff. :)


You put that perfectly tekdino. I would advise that anyone that has begun GE do the following.

1. learn the event system in GE.
2. Learn the C behind the scripting in GE. Learn to make your games with scripting in GE.
3. Start learning professional C/C++
4. prototype your game with GE. Makslane has done great work with an easy to use system. Use this system to build your games quickly.
5. Rewrite your game from the ground up using C++. If it works well in GE, you might as well do it the same in your game. Dont reinvent the wheel.
6. Add what GE doesnt provide for you. In the end, you will find that a lot of thinking is done for you by Makslane.
7. Keep coming here. There is great talent here, and what you learn could help them grow too!

Re: draw_from, change scale and rotate

PostPosted: Wed Nov 28, 2007 3:17 pm
by Troodon
That's right.
But now I feel embarassed because I haven't learned C++. Perhaps I will start to learn it soon. :D

Re: draw_from, change scale and rotate

PostPosted: Thu Nov 29, 2007 6:48 pm
by Kalladdolf
now I just got un-brain-washed! :o

so, that's how GE works!
(well I always thought it got something to do with C/C++)

Re: draw_from, change scale and rotate

PostPosted: Mon Dec 24, 2007 3:57 pm
by Kalladdolf
back to the rotating topic, you could actually do it manually if you knew more than just the center coordinate of the actor.
what makslane could do also (if the other thing's too difficult), is make variables for the coordinates of the top, bottom, left and right ends of the actor.
that would make us all able to do stuff to the actors themselves, not only change their positions or animations.
imagine, we could also make lense effects and change the scale and stuff!
:D

Re: draw_from, change scale and rotate

PostPosted: Tue Dec 25, 2007 3:38 pm
by j2graves
could it be similar to the "Stretch/skew" option on paint?

Re: draw_from, change scale and rotate

PostPosted: Thu Dec 27, 2007 5:45 pm
by Kalladdolf
yes.
you would of course have to switch whether to leave the sprite like it is or stretch it.
now, to the rotating, I've got a picture for anybody who didn't quite get what I mean.
how_to_do_it.jpg
how_to_do_it.jpg (4.64 KiB) Viewed 3267 times


see, you would make the second coordinate circle around the center coordinate.
the only problem is, that we don't have these "second" coordinates.
(btw, I've made a "circling" demo, check it out :) )

Re: draw_from, change scale and rotate

PostPosted: Wed Jan 02, 2008 8:21 pm
by Kalladdolf
so, whadya think, guys?
might this be even reasonably possible?

Re: draw_from, change scale and rotate

PostPosted: Thu Jan 03, 2008 5:51 am
by Fuzzy
Ideally its best done by the graphics card. That makes it rather difficult for Makslane to deal with, seeing how GE is for all these platforms.

Secondly, I dont think he needs to give you any coordinates, and you already know the center point. You can calculate other points based on that. After all, you know the size of your image..

Re: draw_from, change scale and rotate

PostPosted: Thu Jan 03, 2008 3:59 pm
by Bee-Ant
In the other words...more complex event, more difficult to do, right?

Re: draw_from, change scale and rotate

PostPosted: Thu Jan 03, 2008 7:18 pm
by Kalladdolf
Fuzzy wrote:Ideally its best done by the graphics card. That makes it rather difficult for Makslane to deal with, seeing how GE is for all these platforms.

:?:
Fuzzy wrote:You can calculate other points based on that.

how would you change 'em then?
Fuzzy wrote:After all, you know the size of your image.

how do I change it?

Re: draw_from, change scale and rotate

PostPosted: Thu Jan 03, 2008 7:38 pm
by Bee-Ant
...you need to be 1 year GE user to could understand what they've said