Zalogowany jako: gość

Forum

Wątek: What is wrong with the script?

Wróć do listy wątków

1 z 1

1 z 7: patrykkubaszczyk

Hi.
Im making game(learning from tunmi 13 opensource project.
but in items.bgt is an error.
File: C:\Users\Dom\gry\ShooterXTSource\ShooterXTSource\includes\items.bgt
On line: 81 (2)
Line: }
Error: Unexpected end of file

File: C:\Users\Dom\gry\ShooterXTSource\ShooterXTSource\includes\items.bgt
On line: 24 (1)
Information: While parsing statement block


because I am now using mac as main comp, I will not come here too much.NEW
27.06.2020 18:51

2 z 7: gangster

you even don't tell the bgt what trap item will do, you just do a mark. BGT is not automaticly language so it's not creating it self codes. You need type codes with your self, also you need add a stunning class, it may can be compilations of course depends how much many BGT information you know.
I'm a music producer, also a game developer. Feel free to contact me.
27.06.2020 19:12

3 z 7: patrykkubaszczyk

I added what it do'es, here is file.
because I am now using mac as main comp, I will not come here too much.NEW
27.06.2020 19:51

4 z 7: gangster

no, you know bgt very much false. Why you don't even put an open brackets? Also, you typed false again. What is: ({hp-3000.)
İt needs to:



if(objs[i].type=="trap")
{
hp+=random(3000,5000);
}




Please delete that, and type this. İt may fix
I'm a music producer, also a game developer. Feel free to contact me.
27.06.2020 23:28

5 z 7: patrykkubaszczyk

stil wrong.
because I am now using mac as main comp, I will not come here too much.NEW
28.06.2020 11:28

6 z 7: patrykkubaszczyk

here is new wersion of file.
because I am now using mac as main comp, I will not come here too much.NEW
28.06.2020 11:55

7 z 7: gangster

ok. Fixed.
I'm a music producer, also a game developer. Feel free to contact me.
28.06.2020 13:45

Wróć do listy wątków

1 z 1


Nawigacja


Copyright (©) 2014-2024, Dawid Pieper