Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 17,886 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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