|
Posted Jul 28, '08 at 9:47pm

Klaushouse
1,612 posts

|
Well I you need to do to improve it enough for what most people need(unlike me, I need some complicated things) is a variable that you put your final degree that it will be going to on. Like MyDegrees or something. That was you can move multiple items at the same time and if it shoots you can shoot something and already know which angle it must be attached at?
|
| |
|
Posted Jul 28, '08 at 9:51pm

Programpro
303 posts

|
I'm sorry you're going to have to repeat that.
Why do I need MyDegrees? This is setting the _rotation, so if I need to use it's degrees, I'll use _root.theitem._rotation.
Are you saying that this should generate a target point, to which the object will gradually rotate?
If those are not what you meant, then, again, please repeat that.
|
| |
|
Posted Jul 28, '08 at 9:58pm

Klaushouse
1,612 posts

|
Well see what should be happenning is you need to find the amount of degrees between you're MC and the mouse. this amount of degrees should be kept in a variable which I call MyDregrees. So then all you need to do is something._rotation += Mydegrees. So then you can start rotating many items off of just one equation and also you just use my degrees to know where the gun is pointing so that you can attachMovie something at the tip of it.
|
| |
|
Posted Jul 28, '08 at 10:01pm

Programpro
303 posts

|
I think i see what you are getting at. For my game, I need it to face the mouse so when I click it shoots something (so original). I think that my thing will work in that situation. May I ask what advanced thing you need your MyDegrees for, or would it be a spoiler of your game.
|
| |
|
Posted Jul 28, '08 at 10:10pm

Klaushouse
1,612 posts

|
Well for some of my work I need it not only because something is come from the spot but to it. So I will need arc angles and parabolas and huge equations to get an arc going on towards the spot that is moving to my mouse and such. But it's all just for my own gain not a game itself. It's useful to have these things lying around for a game whenever you need it!
|
| |
|
Posted Jul 28, '08 at 10:11pm

Programpro
303 posts

|
Ahhhh...I see.
UNDERLINEBOLDITALIC
Sorry, never done that before.
Well, my game may appear on AG (hopefully it is good enough) so be on the lookout! (I'll look for yours, too)
|
| |
|
Posted Jul 28, '08 at 10:13pm

Klaushouse
1,612 posts

|
Haha alright, what you up to? If ever you need any help or advice I am here for you! :P
|
| |
|
Posted Jul 28, '08 at 10:17pm

Programpro
303 posts

|
Good to know, I'll probably need help at some point.
Let's see...
You can't use educational version for commercial purposes, but can you still post on AG (assuming no profit)?
|
| |
|
Posted Jul 28, '08 at 10:21pm

Klaushouse
1,612 posts

|
As long as you make no money from it(AKA as in ArmorGames sponsoring you and sending you money). But if you were planning on making money might as well spend the 700$ cause the sponsorship could pay for the entire fee of the flash program, you'd only make a few bucks but it's profit!
|
| |
|
Posted Jul 28, '08 at 10:24pm

Programpro
303 posts

|
Yah, I probably should.
And you actually (if sponsored) would make a BIG profit.
See here:
Armor Sponsorship
|
| |