Fatal Fury bonus script?

Game

New member
Hello, do you know how to make a click counter script in openbor? I need to do the fatal fury 1 bonus in openbor
 
Welcome to the community @Game.

I'm assuming some bit of scripting knowledge since you knew the question to ask. There are several key events the engine provides to capture key presses and perform actions. keyall.c is probably the one you need. Then you need to set a variable on each press. From there, I can think of a couple of different ways I would implement the Fatal Fury arm wrestling bonus round, but that should get you started.

DC
 
Welcome to the community @Game.

I'm assuming some bit of scripting knowledge since you knew the question to ask. There are several key events the engine provides to capture key presses and perform actions. keyall.c is probably the one you need. Then you need to set a variable on each press. From there, I can think of a couple of different ways I would implement the Fatal Fury arm wrestling bonus round, but that should get you started.

DC
Not really, I know how to replicate some scripts, copy and paste them, but I don't know how to program them, if someone could upload the script, or make an openbor demo, with just that script, it would help me a lot
 
Do you have any openbor with that script?
I have made small demo to show what I meant. Find the link in my post below.

The timer in that demo is makeshift timer. I could code in timer in the clicker entity but the former should do for now.

Again, this demo only shows how to acquire clicks of Attack button. What you would do with the clicks counter is another story.
 
Last edited:
I have made small demo to show what I meant. Here's the link:

The timer in that demo is makeshift timer. I could code in timer in the clicker entity but the former should do for now.

Again, this demo only shows how to acquire clicks of Attack button. What you would do with the clicks counter is another story.
I wanted to make a game in which if you don't press quickly you lose, and that's what I'm missing and I don't know how to do it with what you gave me
 
Hice una pequeña demostración para mostrar lo que quise decir. Aquí está el enlace:
Clicker

El cronómetro en esa demostración es un cronómetro improvisado. Podría codificar el temporizador en la entidad del clicker, pero el primero debería funcionar por ahora.

Nuevamente, esta demostración solo muestra cómo obtener clics en el botón Atacar. Lo que harías con el contador de clics es otra historia.

Have you studied anything in that small demo?
Yes, but I don't know how to do it, I think that with that demo, putting a player type character, only with idle animation, and another equal forgiveness but enemy type, the game could be made, if you don't press quickly you lose life bar, and I would add the sprites
 
The best thing I could do for you right now is to expand the demo to include tug of war mechanic, to simulate opponent's action to oppose your clicks.
How to convert these into visuals is your job.

[some time later]

Here's the updated demo featuring tug of war mechanic:
 
Last edited:
The best thing I could do for you right now is to expand the demo to include tug of war mechanic, to simulate opponent's action to oppose your clicks.
How to convert these into visuals is your job.

[some time later]

Here's the updated demo featuring tug of war mechanic:
Thank you, this is useful to me, this forum is great, I didn't expect to solve my problem so soon, I think that your script (clicker2) can inspire more creators, just as this is a mini game, which I think they would like to download, to the people of the forum, thanks again
 
Back
Top Bottom