draw_from, change scale and rotate

Ideas for Game Editor evolution.

Who would like a rotate/scale function not using a canvas actor?

I would!!
38
95%
No this is a waste of GE development time.
2
5%
 
Total votes : 40

Re: draw_from, change scale and rotate

Postby Kalladdolf » Thu Nov 22, 2007 10:38 am

uh-huh.
but is C++ also a gaming language?
I think u need some way to rotate stuff.
isnt there some kind of variable?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: draw_from, change scale and rotate

Postby Fuzzy » Sun Nov 25, 2007 1:12 pm

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.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: draw_from, change scale and rotate

Postby Kalladdolf » Wed Nov 28, 2007 8:29 am

So the GE language is actually a variation of C++ ?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: draw_from, change scale and rotate

Postby Troodon » Wed Nov 28, 2007 11:26 am

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. :)
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Re: draw_from, change scale and rotate

Postby Fuzzy » Wed Nov 28, 2007 1:22 pm

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!
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: draw_from, change scale and rotate

Postby Troodon » Wed Nov 28, 2007 3:17 pm

That's right.
But now I feel embarassed because I haven't learned C++. Perhaps I will start to learn it soon. :D
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Re: draw_from, change scale and rotate

Postby Kalladdolf » Thu Nov 29, 2007 6:48 pm

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++)
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: draw_from, change scale and rotate

Postby Kalladdolf » Mon Dec 24, 2007 3:57 pm

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
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: draw_from, change scale and rotate

Postby j2graves » Tue Dec 25, 2007 3:38 pm

could it be similar to the "Stretch/skew" option on paint?
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: draw_from, change scale and rotate

Postby Kalladdolf » Thu Dec 27, 2007 5:45 pm

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 3266 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 :) )
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: draw_from, change scale and rotate

Postby Kalladdolf » Wed Jan 02, 2008 8:21 pm

so, whadya think, guys?
might this be even reasonably possible?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: draw_from, change scale and rotate

Postby Fuzzy » Thu Jan 03, 2008 5:51 am

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..
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: draw_from, change scale and rotate

Postby Bee-Ant » Thu Jan 03, 2008 3:59 pm

In the other words...more complex event, more difficult to do, right?
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: draw_from, change scale and rotate

Postby Kalladdolf » Thu Jan 03, 2008 7:18 pm

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?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: draw_from, change scale and rotate

Postby Bee-Ant » Thu Jan 03, 2008 7:38 pm

...you need to be 1 year GE user to could understand what they've said
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

PreviousNext

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest