i have a questions plz

Non-platform specific questions.

i have a questions plz

Postby Spidy » Thu Aug 16, 2007 4:25 pm

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:
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Postby Sgt. Sparky » Thu Aug 16, 2007 4:57 pm

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
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Spidy » Fri Aug 17, 2007 4:35 pm

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?) :?
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

Postby Sgt. Sparky » Sat Aug 18, 2007 3:55 pm

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
Last edited by Sgt. Sparky on Tue Aug 21, 2007 2:27 pm, edited 1 time in total.
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Spidy » Sat Aug 18, 2007 7:00 pm

thx buddy :P
User avatar
Spidy
 
Posts: 935
Joined: Tue Aug 14, 2007 1:28 pm
Location: http://www.inatonibai.com
Score: 38 Give a positive score

.

Postby zbulletproofz » Sun Aug 19, 2007 5:37 am

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?
zbulletproofz
 
Posts: 15
Joined: Thu Aug 16, 2007 10:43 pm
Score: 0 Give a positive score

.

Postby zbulletproofz » Sun Aug 19, 2007 6:04 am

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
zbulletproofz
 
Posts: 15
Joined: Thu Aug 16, 2007 10:43 pm
Score: 0 Give a positive score

Re: .

Postby Sgt. Sparky » Sun Aug 19, 2007 3:04 pm

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
Last edited by Sgt. Sparky on Tue Aug 21, 2007 2:26 pm, edited 1 time in total.
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

.

Postby zbulletproofz » Sun Aug 19, 2007 10:40 pm

Awsome, thank you.
zbulletproofz
 
Posts: 15
Joined: Thu Aug 16, 2007 10:43 pm
Score: 0 Give a positive score

Re: .

Postby Sgt. Sparky » Tue Aug 21, 2007 2:26 pm

zbulletproofz wrote:Awsome, thank you.

you are welcome, any time. :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest