rafal gun
12 posts • Page 1 of 1
Re: rafal gun
just delete the config file in the phun directory.
generally, c:/Program Files/algdoo phun ediion
generally, c:/Program Files/algdoo phun ediion
When asking for help, READ THE STICKIES!
- electronicboy
- Posts: 1694
- Joined: Mon Aug 31, 2009 6:18 pm
Re: rafal gun
i think he wants to make pixartist's mouse-controlled weapon.
check the thyme section.
basically, the system just calculates the difference of angle between the weapon's facing and the mouse's facing in relation to the weapon.
you can use atan2 to determine the angle, whose emulation formula(there's no atan2 in algodoo yet) is basically
2*atan(pos y/(pos x+distance between [0,0] and pos))
check the thyme section.
basically, the system just calculates the difference of angle between the weapon's facing and the mouse's facing in relation to the weapon.
you can use atan2 to determine the angle, whose emulation formula(there's no atan2 in algodoo yet) is basically
2*atan(pos y/(pos x+distance between [0,0] and pos))
Jrv wrote:TC42 wrote:Quite honestly, I didn't think anyone on 4chan has that good a use of grammar, spelling, usage, mechanics, ect.
But I've never been there, so I may be wrong.
GTFO newfgt
-

RA2lover - Posts: 607
- Joined: Mon Aug 31, 2009 8:43 pm
- Location: Brazil
Re: rafal gun
No this
[IMG=http://img651.imageshack.us/img651/5568/phunbizare.gif][/IMG]
Uploaded with ImageShack.us
[IMG=http://img651.imageshack.us/img651/5568/phunbizare.gif][/IMG]
Uploaded with ImageShack.us
- 33tonio33
- Posts: 18
- Joined: Mon Jul 26, 2010 9:46 am
Re: rafal gun
there's a mouse-controlled hinge, which can be done using the new method, or through .phz file editing(ButtonForward = "mouse_left").
that mouse controlled hinge activates the spawner. the scene was made without some of the thyme knowledge, and could be done without overcomplications. i suggest you use a box instead of the circle, to simplyfy things and improve weapon accuracy.
the scene used the difference of two positions to determine the velocity, while you can use a multiple of e.normal(which pixartist didn't knew of at the time he made his scene) to do so(ex: vel := e.normal * insertnumberhere).
that mouse controlled hinge activates the spawner. the scene was made without some of the thyme knowledge, and could be done without overcomplications. i suggest you use a box instead of the circle, to simplyfy things and improve weapon accuracy.
the scene used the difference of two positions to determine the velocity, while you can use a multiple of e.normal(which pixartist didn't knew of at the time he made his scene) to do so(ex: vel := e.normal * insertnumberhere).
Jrv wrote:TC42 wrote:Quite honestly, I didn't think anyone on 4chan has that good a use of grammar, spelling, usage, mechanics, ect.
But I've never been there, so I may be wrong.
GTFO newfgt
-

RA2lover - Posts: 607
- Joined: Mon Aug 31, 2009 8:43 pm
- Location: Brazil
Re: rafal gun
The contact with 2 plygons creat other ploygons or water. how i do that ?
- 33tonio33
- Posts: 18
- Joined: Mon Jul 26, 2010 9:46 am
Re: rafal gun
- Code: Select all
onCollide = (e)=>{scene.addWater({})}
you can search spawning polygon, spawning water, to get into it. It takes about a week to understand the basics
-

Rideg - Posts: 948
- Joined: Tue Dec 15, 2009 5:17 pm
- Location: Östersund, Sweden
Re: rafal gun
There is not tutorial for this phenomen ?
- 33tonio33
- Posts: 18
- Joined: Mon Jul 26, 2010 9:46 am
Re: rafal gun
Like Rideg said a week ago, you can search "spawning" and you will find some tutorials.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
-

Matten - Posts: 435
- Joined: Mon Apr 05, 2010 2:03 pm
- Location: The Netherlands
12 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests







