Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Mein Code funktioniert nicht!!! [Re: atari98] #264156
05/04/09 16:51
05/04/09 16:51
Joined: Apr 2009
Posts: 274
atari98 Offline OP
Member
atari98  Offline OP
Member

Joined: Apr 2009
Posts: 274
Kann ich das dann mit einer if machen


Meine Fun Websiten
www.free4-fun.de.tl

www.gamer-liga-live.de.tl

Meine Game-Projekt Websiten
www.gamer-projects.de.tl
Re: Mein Code funktioniert nicht!!! [Re: atari98] #264271
05/05/09 12:08
05/05/09 12:08
Joined: Apr 2009
Posts: 274
atari98 Offline OP
Member
atari98  Offline OP
Member

Joined: Apr 2009
Posts: 274
Funktioniert irgendwie nicht.Bin ich wirklich so dumm.Oder ist es euch am Anfang auch so gegangen wie mir.

Bitte noch eine Hilfe!!!

Der Code:


///////////////////////////////
#include <acknex.h>
#include <default.c>

///////////////////////////////

function main()
{


level_load ("homework18.wmb");
wait (2);
vec_set(camera.x,vector(0,-480,1000)); // set a static position for the camera
vec_set(camera.pan,vector(90,-68,0)); // set the correct orientation for the camera

on_r = toggle_motor;
}

var anim_speed;
var motor_an;

action my_car()
{
while (1)




{

if (key_d)
my.pan -= 3*time_step; // decrease the pan angle of the car
if (key_w ) // press and hold the "Space" key to move the car
c_move (my, vector(15*time_step, 0, 0), nullvector, GLIDE);
if (key_a ) // press and hold the "Space" key to move the car
my.pan += 3*time_step; // decrease the pan angle of the car
if (key_cul)
my.roll += 3*time_step; // increase the pan angle of the car
if (key_cur)
my.roll -= 3*time_step; // decrease the pan angle of the car
if (key_cuu ) // press and hold the "Space" key to move the car
my.tilt += 3*time_step; // increase the pan angle of the car
if (key_cud ) // press and hold the "Space" key to move the car
my.tilt -= 3*time_step; // increase the pan angle of the car
// move the car using relative_speed

wait (1);



ent_animate(my, "fly", anim_speed, ANM_CYCLE);
anim_speed += 4000*time_step;


function toggle_motor()
{
motor_an = (motor_an == 0);
}


}
}



Gruss
Atari98

Last edited by atari98; 05/05/09 12:15.

Meine Fun Websiten
www.free4-fun.de.tl

www.gamer-liga-live.de.tl

Meine Game-Projekt Websiten
www.gamer-projects.de.tl
Re: Mein Code funktioniert nicht!!! [Re: atari98] #264304
05/05/09 13:51
05/05/09 13:51
Joined: Apr 2009
Posts: 274
atari98 Offline OP
Member
atari98  Offline OP
Member

Joined: Apr 2009
Posts: 274
Bitte um eine Anworte???

Last edited by atari98; 05/06/09 12:23.

Meine Fun Websiten
www.free4-fun.de.tl

www.gamer-liga-live.de.tl

Meine Game-Projekt Websiten
www.gamer-projects.de.tl
Re: Mein Code funktioniert nicht!!! [Re: atari98] #264469
05/06/09 12:23
05/06/09 12:23
Joined: Apr 2009
Posts: 274
atari98 Offline OP
Member
atari98  Offline OP
Member

Joined: Apr 2009
Posts: 274
Bitte!!!!!!!!!!!


Meine Fun Websiten
www.free4-fun.de.tl

www.gamer-liga-live.de.tl

Meine Game-Projekt Websiten
www.gamer-projects.de.tl
Re: Mein Code funktioniert nicht!!! [Re: atari98] #264518
05/06/09 15:50
05/06/09 15:50
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
WORKSHOP ?

Re: Mein Code funktioniert nicht!!! [Re: Widi] #264521
05/06/09 15:56
05/06/09 15:56
Joined: Nov 2008
Posts: 946
T
the_clown Offline
User
the_clown  Offline
User
T

Joined: Nov 2008
Posts: 946
Originally Posted By: Widi
WORKSHOP ?


What a nice idea...

Re: Mein Code funktioniert nicht!!! [Re: the_clown] #264530
05/06/09 16:43
05/06/09 16:43
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
bitte bitte..learn english and you increase chance to get answer..


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)
Re: Mein Code funktioniert nicht!!! [Re: Jaxas] #264531
05/06/09 16:46
05/06/09 16:46
Joined: Nov 2008
Posts: 946
T
the_clown Offline
User
the_clown  Offline
User
T

Joined: Nov 2008
Posts: 946
Originally Posted By: Jaxas
bitte bitte..learn english and you increase chance to get answer..


The language isn't the problem... The problem is that he doesn't understand what we are saying... Maybe someone should explain him the word "Workshop"...

Re: Mein Code funktioniert nicht!!! [Re: the_clown] #264539
05/06/09 18:05
05/06/09 18:05
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
@the_clown: i mean if he ask in english, cause now i don't know what is problem and can't help him..


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)
Re: Mein Code funktioniert nicht!!! [Re: atari98] #264638
05/07/09 11:49
05/07/09 11:49
Joined: Apr 2009
Posts: 274
atari98 Offline OP
Member
atari98  Offline OP
Member

Joined: Apr 2009
Posts: 274
Ich bin nicht dumm,ich weiß was workshops sind.Und ich kann english.
I´m not silly.I know what a workshop is and I can speak english,too.


Meine Fun Websiten
www.free4-fun.de.tl

www.gamer-liga-live.de.tl

Meine Game-Projekt Websiten
www.gamer-projects.de.tl
Page 2 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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