Page 2 of 3

Re: Life

PostPosted: Mon Feb 15, 2010 9:40 pm
by Behdadsoft
My game plan is a game old Sega. (Star Wars)
It has been changed so that the game and is of much better graphics. I'd love to see this Demo.
I currently am making a 3 game 1 games have it all. Star Wars is my third game, which is next to 2. First game I play the multiplayer action is the first and finished the work.
Auto racing is my second game that I'm almost middle work.
is experimental version of a picture that in my game to change the game to create characters. :)

Re: Life

PostPosted: Mon Feb 15, 2010 11:24 pm
by Bee-Ant
Camper1995 wrote:Do you want to see demo of saving game and score?

viewtopic.php?f=2&t=7967

Re: Life

PostPosted: Tue Feb 16, 2010 9:33 am
by Behdadsoft
Thanks Bee-Ant .
I had a question, wanted to know the example that I seen (HealthAndLiveDemo) that can work with 10,000 points each added a life? If you can Please let me sample time. Thanks a lot

Re: Life

PostPosted: Tue Feb 16, 2010 5:30 pm
by Camper1995
First project is created with FPS Creator right? I have it too, but it don't work good.

There are many bugs. :( But anyway it's great program. I made with it great horror game.
Relly nice. That project 3 with GameEditor looks good. You can post source files. ;)

:arrow:

CAmPeR 8)

Re: Life

PostPosted: Tue Feb 16, 2010 5:41 pm
by Bee-Ant
Here

Re: Life

PostPosted: Tue Feb 16, 2010 5:48 pm
by Camper1995
Hey Bee-Ant. I have a question. It's possible to pause game but to leave one key enabled?

So you can unpause it by pressing that key?
I know you can make just 2 keys: pause and unpause.

But for example: I wanna make tutorial how to play. And pause game, show the image of tutorial and then,
when you press KEY RIGHT, to unpause, change image and again pause etc...

do you understand??
:P

Thanks,

CAmPeR

Re: Life

PostPosted: Tue Feb 16, 2010 6:08 pm
by Bee-Ant
I use that system in WB and WB2.
It doesnt use PauseGameOn() neither PauseGameOff() function, but use your own. Its a little complicated, but im sure you can do it.

Just use :
EventDisable()
directional_velocity=0;
ChangeAnimationDirection()

But for all actors you want to disable their movement.
Want me make a demo?

Re: Life

PostPosted: Tue Feb 16, 2010 7:57 pm
by Camper1995
Uh, so if I have about 150 actor, I need to do that on all of them? :o

Want me make a demo?


If you have time, yes, you can make demo. :wink:
I don't want to be annoying. :D

Thanks,

CAmPeR

Re: Life

PostPosted: Tue Feb 16, 2010 8:18 pm
by Bee-Ant
Camper1995 wrote:Uh, so if I have about 150 actor, I need to do that on all of them?

Manually yes, but there must be a simpler way...

I have an idea, this should take not more than 10 lines to handle that 150 actors.

But wait, its midnight here...let me rest in peace first...

Re: Life

PostPosted: Wed Feb 17, 2010 2:57 am
by Bee-Ant
Here...

Re: Life

PostPosted: Wed Feb 17, 2010 2:03 pm
by Camper1995
Good idea Bee, but if I press SPACE and the game is pause, then I wait about 8 seconds and
again unpause, the balls will hit the ground faster than normal, so they desapear. Try to wait 5
seconds and then press RETURN TO GAME...

You don't pause the Draw actor funtions... :S

But nice ;)

Re: Life

PostPosted: Wed Feb 17, 2010 2:15 pm
by Bee-Ant
Yes...I dont know why that happen...
The ChangePath(); should be replaced with directional_velocity=0;
But directional_velocity isn't a function, and uses actor name to access it.
I still dont know how to convert the array to actor...
Forgive me for my inability... :cry:

Re: Life

PostPosted: Wed Feb 17, 2010 2:17 pm
by Bee-Ant
Camper1995 wrote:You don't pause the Draw actor funtions... :S

Oh, that's it...

Try to :
1. Add this code to PauseGame()
Code: Select all
EventDisable(ActorName, EVENT_DRAW);

2. Add this code to UnpauseGame()
Code: Select all
EventEnable(ActorName, EVENT_ALL);

Re: Life

PostPosted: Wed Feb 17, 2010 2:20 pm
by Camper1995
Yea, this could work. ;)

I will try it

Re: Life

PostPosted: Wed Feb 17, 2010 2:36 pm
by Bee-Ant
Oh, it works on me... :D