Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (pr0logic), 3,312 guests, and 17 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VladMak, Geir, ondrej, mredit, vestriaa
19207 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
just move an object #78646
06/19/06 09:39
06/19/06 09:39
Joined: Jun 2006
Posts: 1
G
gila Offline OP
Guest
gila  Offline OP
Guest
G

Joined: Jun 2006
Posts: 1
i, i discovered this beautifoul software just yesterday, i'm following some tutorial but i do not understand how to move an object.

if i have a cube called "cube_test" how i can refeer to it and move it by the keyboard?

thank you and sorry for the baracing question

Re: just move an object [Re: gila] #78647
06/19/06 10:21
06/19/06 10:21
Joined: Jun 2004
Posts: 73
Switzerland, Basel
D
Des_Tiny Offline
Junior Member
Des_Tiny  Offline
Junior Member
D

Joined: Jun 2004
Posts: 73
Switzerland, Basel
You only can move entitiy objects (eg: *.mdl, *.wmb). Right click on an entity in WED, choose Properies and Behaviour. There you have to choose the action you want. A simple move action (without collision) could be:
Code:
 
action move_cube
{
var move_speed = 2;
while(1)
{
my.x += key_cuu * move_speed * time - key_cud * move_speed * time;
my.y += key_cur * move_speed * time - key_cul * move_speed * time;
wait(1);
}
}



Last edited by Des_Tiny; 06/19/06 10:22.

_______________________________________________ GameStudio 6 Extra Edition Processor: 2.80 Ghz RAM: 2046MB Graficcard: Radeon X600 256MB DOWNLOAD PONG FIGHT

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