how do u make level completed screen

Ideas for Game Editor evolution.

Re: how do u make level completed screen

Postby Troodon » Sun Sep 16, 2007 5:11 pm

You're welcome Kalladdolf! :)
Also if your xvelocity is 5 and your yvelocity is 2, then your directional_velocity is about 5,4. The sharp result can be count with pythagoras formula x^2+y^2=d^2 where d is directional velocity.
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: how do u make level completed screen

Postby Kalladdolf » Sun Sep 16, 2007 7:19 pm

Just one more thing: how do I mark the collision points?
Y'know, I want to write in the script: "when the bike hits the floor with the bottom of the first wheel and the other is still in the air, turn the bike to the normal position and get the other wheel down, to!"
Well, I know how to turn the car (with animpos) but the first thing confuses me :?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how do u make level completed screen

Postby Troodon » Mon Sep 17, 2007 12:20 pm

Interesting question. I've never made that but I've tought about it sometimes. I would try coding "search and try" system calibrated to animpos/frame.
That would perhaps be low collision detection but still working. Make a code that tries "can this tire be in this position without colliding" if yes -> change x and y velocity to match the bike position.
That's the idea, I haven't been able to make working code yet :mrgreen:
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: how do u make level completed screen

Postby Kalladdolf » Mon Sep 17, 2007 4:01 pm

Your so helpful tekdino, I give u 1 point :D
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: how do u make level completed screen

Postby Troodon » Tue Sep 18, 2007 5:38 pm

Thanks! :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

Previous

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest