Page 1 of 1

Is a Game Over Screen Possible with lunadll?

Posted: Wed May 13, 2015 10:11 pm
by PersonNamedUser
I'm wondering if its possible to make a game over screen in your project because it would be cool! 8-)

Re: Is a Game Over Screen Possible with lunadll?

Posted: Thu May 14, 2015 8:00 am
by RudeGuy
Er... What do you mean by "game over screen"?

Re: Is a Game Over Screen Possible with lunadll?

Posted: Thu May 14, 2015 8:07 am
by glitch4
When you lost all your lifes, the game over screen appears.

The answer: It is possible with lunadll.

Re: Is a Game Over Screen Possible with lunadll?

Posted: Thu May 14, 2015 9:38 am
by PersonNamedUser
glitch4 wrote:When you lost all your lifes, the game over screen appears.

The answer: It is possible with lunadll.
OK How do you make one?

Re: Is a Game Over Screen Possible with lunadll?

Posted: Thu Jun 25, 2015 8:39 pm
by RudeGuy
glitch4 wrote:When you lost all your lifes, the game over screen appears.
Oh, I see, thanks.
SuperMario12345 wrote:OK How do you make one?
Try learning LunaLua?

Re: Is a Game Over Screen Possible with lunadll?

Posted: Thu Jun 25, 2015 9:23 pm
by Radishl
RudeGuy07 wrote:
glitch4 wrote:When you lost all your lifes, the game over screen appears.
Oh, I see, thanks.
SuperMario12345 wrote:OK How do you make one?
Try learning LunaLua?
No you missed the point, how would you make one?

Re: Is a Game Over Screen Possible with lunadll?

Posted: Thu Jun 25, 2015 9:57 pm
by Zeldamaster12
His point is to learn LunaLua.

Re: Is a Game Over Screen Possible with lunadll?

Posted: Fri Jun 26, 2015 11:44 am
by Radishl
Zeldamaster12 wrote:His point is to learn LunaLua.
But not everyone is a seasoned lunadll pro nor has the time to learn it and it's complexities.


It seems you guys don't know lunadll either so why would you reply to a topic like this.

Think.

Re: Is a Game Over Screen Possible with lunadll?

Posted: Fri Jun 26, 2015 12:04 pm
by Mable
Radishl wrote:
Zeldamaster12 wrote:His point is to learn LunaLua.
But not everyone is a seasoned lunadll pro nor has the time to learn it and it's complexities.


It seems you guys don't know lunadll either so why would you reply to a topic like this.

Think.
So if we don't know lunadll either we shouldn't reply yet you reply and didn't help either?

I do agree with ZM12 if you wanna do something like that you have to learn it he can always ask others also for help. In short if you don't learn Lunadll you can't do anything with it.

Oh also btw ZM12 talked about LunaLua not Lunadll. Just a info.

Re: Is a Game Over Screen Possible with lunadll?

Posted: Tue Jun 30, 2015 12:10 pm
by Shidomaru
I'll take the chance to ask a similar but simpler question:

I'm basically trying to display a "GAME OVER" message when the player loses his last life in my episode, which is supposed to appear during the player character's death sequence itself, right before the game boots back to the title screen.

So, using my lunadll I put this on a lunaglobal.txt file in my episode's folder:

#0
OnGlobalMem,0x00B2C5AC,0,0,1001,0,f

#1001
OnPlayerMem,+0x13C,1,0,1002,0,w

#1002
ShowText,0,300,260,3,300,GAME OVER

Basically, it's always checking if the number of lives is 0, and when it is, it checks if the player is dying. When he IS indeed dying, the "GAME OVER" text appears...

EXCEPT IT DOESN'T! :x ...Does anybody know WHY? :|

Re: Is a Game Over Screen Possible with lunadll?

Posted: Tue Jun 30, 2015 1:14 pm
by PersonNamedUser
Shidomaru wrote:I'll take the chance to ask a similar but simpler question:

I'm basically trying to display a "GAME OVER" message when the player loses his last life in my episode, which is supposed to appear during the player character's death sequence itself, right before the game boots back to the title screen.

So, using my lunadll I put this on a lunaglobal.txt file in my episode's folder:

#0
OnGlobalMem,0x00B2C5AC,0,0,1001,0,f

#1001
OnPlayerMem,+0x13C,1,0,1002,0,w

#1002
ShowText,0,300,260,3,300,GAME OVER

Basically, it's always checking if the number of lives is 0, and when it is, it checks if the player is dying. When he IS indeed dying, the "GAME OVER" text appears...

EXCEPT IT DOESN'T! :x ...Does anybody know WHY? :|
Maybe you should remove the numbers.

Re: Is a Game Over Screen Possible with lunadll?

Posted: Wed Jul 01, 2015 9:00 am
by Shidomaru
SuperMario12345 wrote:Maybe you should remove the numbers.
But WHICH numbers exactly? The code is full of them! :| ...You mean these?: #0, #1001 and #1002

Can't do that because they're central to how LunaDLL works! #0 tells LunaDLL to perform the action always. #-1 would instead mean performing it only during level load, and any number from #1 to #21 means only performing it on that section of the level. Numbers from #1001 onwards are "custom events" and you use the numbers to trigger them.

So... no. I can't remove the numbers.

Re: Is a Game Over Screen Possible with lunadll?

Posted: Wed Jul 01, 2015 9:05 am
by Emral
Try checking if LunaDLL actually works

Code: Select all

DEBUG PRINT

DebugPrint,-,-,-,-,Active time,-

Description -
Write some info about how lunadll is running onto the screen.

Notes -
Use this to check if anything weird is going on in your code. If you see thousands of commands
being spawned then you have a problem.

Example -

// Show debug info
DebugPrint,0,0,0,0,0,0



Re: Is a Game Over Screen Possible with lunadll?

Posted: Sun Aug 02, 2015 9:32 pm
by Shidomaru
Enjl wrote:Try checking if LunaDLL actually works
No need to check. I know it works because the level timers work and the congratulatory messages for clearing levels work too.

Update: Checked anyway... DebugPrint in lunaglobal.txt prints NOTHING.