Page 1 of 1

i have a questions plz

PostPosted: Thu Aug 16, 2007 4:25 pm
by Spidy
Question 1
how do i make title screen?

Question 2
if my player complete level 1 how do i make my player go to next level?

Question 3
i make left and right scrpit to move my player but there error in my script
plz give me walking script?

Question 4
how i make scores and bonus in my game

Question 5
how do i make a health bar and lives?

Question 6
my player died in game and its disapear how do i make my player died like snowbros or mario or sonic plz give me some scirpt?

Question 7
if u guys have a full scripting tutorial plz give me

:roll: :roll: :roll: :oops:

PostPosted: Thu Aug 16, 2007 4:57 pm
by Sgt. Sparky
I made a platform game Demo:
http://game-editor.com/forum/viewtopic. ... t=platform
:D
as for levels:
just make your other level a seperate game(export it as a .dat when you are done.), and when your first level is completed use this code:
Code: Select all
LoadGame("yourotherlevelsname.dat");

:D

PostPosted: Fri Aug 17, 2007 4:35 pm
by Spidy
thanks sparky boy :lol:
could u plz give me a tutorial of this question
(my player died in game and its disapear how do i make my player died like snowbros or mario or sonic plz give me some scirpt?) :?

PostPosted: Sat Aug 18, 2007 3:55 pm
by Sgt. Sparky
Spidy wrote:thanks sparky boy :lol:
could u plz give me a tutorial of this question
(my player died in game and its disapear how do i make my player died like snowbros or mario or sonic plz give me some scirpt?) :?

make a variable called Lives(a Global Integer.).
now make an actor called SpawnPoint(type: Normal.).
next:
1. put on the create actor event of "SpawnPoint" Visibility State: Don't Draw but allow events.
2. put on the draw actor event of "SpawnPoint" Script Editor->
Code: Select all
if(ActorCount("yourplayer'sname") == 0)
{
   CreateActor("yourplayer'sname", "yourplayersanimation", "(none)", "(none)", 0, 0,false);
   Lives--;//that is the same as Lives -= 1; or Lives = Lives - 1;
}

and there you have it. :D:D:D

PostPosted: Sat Aug 18, 2007 7:00 pm
by Spidy
thx buddy :P

.

PostPosted: Sun Aug 19, 2007 5:37 am
by zbulletproofz
alright, i used the respawn scritp you gave to use, and it works wonderfly. but how do i make it so the player has a limit of how many times it spawns? and how do i display that?

.

PostPosted: Sun Aug 19, 2007 6:04 am
by zbulletproofz
also when i die the veiw is not fixed on my charecter any more when he spawns again, even tho its a decendent of the view

Re: .

PostPosted: Sun Aug 19, 2007 3:04 pm
by Sgt. Sparky
zbulletproofz wrote:also when i die the veiw is not fixed on my charecter any more when he spawns again, even tho its a decendent of the view

my code has limits for how the player respawns,
but instead of making the player a descendent of the view:(Remove the player being the descendent of the view first.)
use this code on the draw actor event of the view,
Code: Select all
angle = direction(width / 2, height / 2, player'sname.xscreen, player'sname.yscreen);
directional_velocity = distance(width / 2, height / 2, player'sname.xscreen, player'sname.yscreen) / 25;

:D:D:D

.

PostPosted: Sun Aug 19, 2007 10:40 pm
by zbulletproofz
Awsome, thank you.

Re: .

PostPosted: Tue Aug 21, 2007 2:26 pm
by Sgt. Sparky
zbulletproofz wrote:Awsome, thank you.

you are welcome, any time. :D