Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by MonsterX. 12/05/25 02:43
ZorroFix. ini /data and /log path
by Martin_HH. 12/02/25 11:42
Parameter selection
by jcl. 12/01/25 12:28
ZorroGPT
by TipmyPip. 11/29/25 09:38
webGL
by Ezzett. 11/27/25 23:22
Chart viewer
by clint000. 11/27/25 21:21
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (AndrewAMD), 5,065 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
agasior, mosfet, MonsterX, KF_Investments, Luuk
19186 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