Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by Grant. 11/23/26 14:22
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (JeyKey II, Martin_HH, alibaba, AndrewAMD, Grant), 24,517 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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 | 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