Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Fighting Game [Re: Pappenheimer] #244181
01/03/09 03:34
01/03/09 03:34
Joined: Jan 2009
Posts: 6
C
Comatose Offline OP
Newbie
Comatose  Offline OP
Newbie
C

Joined: Jan 2009
Posts: 6
ok did that, still nothing.

could my problem just be something like i'm missing a dll or something to play the sound? in my searching through the forums i've found that playing mp3 files requires a plugin or something, do i need anything special for wav files?

Re: Fighting Game [Re: Comatose] #244182
01/03/09 03:40
01/03/09 03:40
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Sorry, you have to place it within the while loop, because the engine has to control each frame whether you are hitting the key or not.
Put in the brackets of the if-condition the following to avoid that the sound will start several times while your finger is still on the key:

while(key_cud == 1) {wait(1);}

You still have to learn very much, you have to look into the manual again and again to get an idea how each detail is working.
And, study also the articles of the issues of the AUM Magazine.

Last edited by Pappenheimer; 01/03/09 03:48. Reason: addtional remarks
Re: Fighting Game [Re: Pappenheimer] #258721
04/01/09 18:29
04/01/09 18:29
Joined: Feb 2009
Posts: 13
washington
foxter888 Offline
Newbie
foxter888  Offline
Newbie

Joined: Feb 2009
Posts: 13
washington
i saw the code for the fighting game you posted and you are missing an " = " sing like

if (on_cul == 1){ " code to move left " then -= 1}
you just wrote the code with only a " - " sign...
i'm trying to get a tutorial for a fighting game too I just don't know how to code around but at least I know most of the sintax..

Page 2 of 2 1 2

Moderated by  checkbutton, mk_1 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1