Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 945 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 4 1 2 3 4
Isometric controls+camera RTS/RPG The Sims #30903
07/22/04 14:35
07/22/04 14:35
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
This is suited for an isometric RTS or RPG, boardgames, or any project like The Sims or Tycoon games. It's not feature complete, but it can serve as a solid head start. Consult the readme file for controls and the contents of each script file.

http://www.geocities.com/hainesrs/isometric.zip - 503KB...includes all code, resources, and demo level


Here's what you get:

1. 3D isometric cam that's controlled via the mouse, keyboard, or both
2. Mouse to level clicking complete with draggable entities. Features a redefinable grid snap and panning of entities
3. Pan/tilt of the camera via the right mouse button
4. Full customization to suit your needs. Simply change initial values of some VARs and you're ready to go
5. Very basic demo level. Load into WED and run.


Known issues: - If anyone manages to squash any of these, please PM me or post your fixes here if you wish to share.

1. Grid snap quirk.

a. If an entity is on an elevation and is restricted to movement either in the X or Y direction(by holding down ctrl and alt keys), the entity can fly right off the block and into empty space. It can be released and will hover in midair. This is directly related to the fact that the Z position can never change whenever a restriction is true. I consider this a serious issue. A workaround is to simply disable restricting.

b. When an entities' movement is restricted and it is on the main ground plane, it cannot be placed on an elevated plane. It is very easy to make it do this via editing a very small amount of code, however this leads to the entity becoming elevated if the mouse cursor passes over an elevated plane and the entity is nowhere near it. I chose to eliminate placing an entity on an elevated while it is restricted because of this. If this issue can be resolved, then letter a.will also disappear.

c. If snapping is turned off(setting the snap vars to 0), the entity will sink into geometry up to it's origin and will hang off of elevated blocks by the same distance. Not a serious issue if you are using snapping(which is recommended).

2. There's no kind of entity on entity handling or entity managment period

As is, an entity can be dragged on top of another one and released from the mouse cursor. Ideally, if this happens, the entity should not be able to be released and neither should the other be able to be clicked on while the active entity is on top of it. Also, there isn't really any other type of entity management. This is just as serious as the one above.

3. Wobble cam when smoothing is > 0 and you rotate the view

Smoothing is what makes the camera gradually move from one position to another. It works great when you move the player around, but once you start rotating the view(right mouse button), the view will start to wobble. I have no idea how to fix that and the smoothing code is near the bottom of the cam.wdl. Smoothing is always 0, as is, so it is not an issue unless you make it nonzero. I consider it a minor issue, unless you really want the smooth movement.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Isometric controls and camera... [Re: Orange Brat] #30904
07/22/04 15:13
07/22/04 15:13
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
THANKS!!!

this is a start of a RTS camera maybe (not that i need it, but i am sure a loota people do need it..
i need to goto work, but 'll take a deeper look tonight.
as far as what i saw, thanks:D:D

regards and keep it up,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Isometric controls and camera... [Re: Orange Brat] #30905
07/22/04 18:31
07/22/04 18:31
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline

.
Nems  Offline

.

Joined: Mar 2003
Posts: 4,264
Wellington
Orange Brat, this is awesome and thanks big heaps.
Definatly interested in your chase cam solutions.
Cheers.

Re: Isometric controls+camera [Re: Nems] #30906
07/22/04 20:34
07/22/04 20:34
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
Thanks. I've gone ahead and zipped up a demo level and included the movement code I mentioned in the initial post. I heavily modified the post and included all pertinent info and the link there.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Isometric controls+camera [Re: Orange Brat] #30907
07/24/04 01:48
07/24/04 01:48
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
removed for clarity


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Isometric controls+camera [Re: Orange Brat] #30908
07/24/04 05:16
07/24/04 05:16
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
Very well done !
One problem I noticed is that sometimes when you pick up a block the camera will start orbiting around it.

Re: Isometric controls+camera [Re: Orange Brat] #30909
07/24/04 06:08
07/24/04 06:08
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
looks very nice. should help anyone wanting to work in an TBS/RTS.

Re: Isometric controls+camera RTS/RPG The Sims [Re: Marco_Grubert] #30910
07/24/04 09:21
07/24/04 09:21
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
removed for clarity



My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Isometric controls+camera RTS/RPG The Sims [Re: Orange Brat] #30911
07/24/04 17:16
07/24/04 17:16
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline OP

Senior Expert
Orange Brat  Offline OP

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
removed for clarity


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Isometric controls+camera RTS/RPG The Sims [Re: Orange Brat] #30912
07/25/04 11:18
07/25/04 11:18
Joined: Aug 2002
Posts: 2,692
California, USA
bupaje Offline
Expert
bupaje  Offline
Expert

Joined: Aug 2002
Posts: 2,692
California, USA
Really well done! I guess it goes without saying this would be useful for board games like chess and so on as well. I think this might also be useful for a 3D editor -I remember user Damocles had talked about that- for users to build levels using prebuilt parts. Cool.


Find me at: |Stormvisions| Twitter|
Page 1 of 4 1 2 3 4

Moderated by  adoado, checkbutton, mk_1, Perro 

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