Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, juanex), 1,247 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
2D games in gamestudio. #249456
02/02/09 17:58
02/02/09 17:58
Joined: Aug 2003
Posts: 716
Canada, Toronto
thegamedesigner Offline OP
User
thegamedesigner  Offline OP
User

Joined: Aug 2003
Posts: 716
Canada, Toronto
Hello all, I have been working on my first full 2D project in gamestudio. This is the first time I've rotated panels using .angle, and so on, although I've done lots of created panels stuff before. I'm posting here because I'm asking beginning questions and am not sure where a 2D panel rotation question would go anyway.

I can't get my rotated panels to look good.
They get all jaggy and un-anti aliased when I rotate them. I've tried using scaled down versions of large .tgas, anti aliased them as much as possible in photoshop, tried upping the games screen res as high as possible, and nothing worked.

I just want to know, am I missing something? Is gamestudio just crappy for real time rotation panels? Are my little 2D tanks going to be jaggy because I have not set some engine variable to 1? Is gamestudio fine for this, but I've drawn my units wrong and should do X to them in photoshop?

I've built a 2D rts engine, with path finding, and all the systems I want over the last two weeks, and now I can't seem to make the units look smooth when they move. I'm about to switch to 3D sprites! arrg.

Thanks for any and all advice,
-Michael

Last edited by thegamedesigner; 02/02/09 18:05.

My games - www.spyeart.com
Re: 2D games in gamestudio. [Re: thegamedesigner] #249458
02/02/09 18:04
02/02/09 18:04
Joined: Aug 2003
Posts: 716
Canada, Toronto
thegamedesigner Offline OP
User
thegamedesigner  Offline OP
User

Joined: Aug 2003
Posts: 716
Canada, Toronto
Sry for the double post, here is a screen shot. They look worse when moving, as the rotation is not smooth at all.




My games - www.spyeart.com
Re: 2D games in gamestudio. [Re: thegamedesigner] #249464
02/02/09 18:37
02/02/09 18:37
Joined: Jan 2009
Posts: 86
Brasil - RS
D
DiegoFloor Offline
Junior Member
DiegoFloor  Offline
Junior Member
D

Joined: Jan 2009
Posts: 86
Brasil - RS
Have you tried changing the screen resolution?

I always heard that 3dgs could make 2d games. But, since I wasn't interested in 2d games, I never researched about this.

But I'm curious! How can a 2d game be made? Maybe panels are not the ideal path.

Re: 2D games in gamestudio. [Re: DiegoFloor] #249480
02/02/09 19:11
02/02/09 19:11
Joined: Aug 2003
Posts: 716
Canada, Toronto
thegamedesigner Offline OP
User
thegamedesigner  Offline OP
User

Joined: Aug 2003
Posts: 716
Canada, Toronto
I've tried making the screen res larger and small, from 640x480 to 1280x1024.

I've used oanels from battleships forever, I've made 256x256 .tga's of tanks and scaled them down. I've tried just making the units bigger on the screen. Nothing comes close to smoothness that my 3D projects have.


My games - www.spyeart.com
Re: 2D games in gamestudio. [Re: thegamedesigner] #249483
02/02/09 19:44
02/02/09 19:44
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
ever tried using sprites rather than panels?

Re: 2D games in gamestudio. [Re: Xarthor] #249495
02/02/09 20:42
02/02/09 20:42
Joined: Aug 2003
Posts: 716
Canada, Toronto
thegamedesigner Offline OP
User
thegamedesigner  Offline OP
User

Joined: Aug 2003
Posts: 716
Canada, Toronto
I'm just about to. It's a big step, as the engine is 2D, but I did a few tests using another project, and it was not great. Still, I'll post back here with sprite results. Thanks for the suggestion.

-Michael

EDIT: I've switched over to 3D sprites placed a certain dist in front of the camera, and then tilted so that they appear 2D. There was enough difference between this and panels to make it worth it. I can now use particle effects in 3D, and the movement is less jerking (something panels were doing).

However, most of the antialiasing I solved by scaling the units up a bit and using .tga's with alpha channels. I then used a black outer glow on the outlines of the units, which blurs them a little. It works, but it only fakes antialiasing.



Last edited by thegamedesigner; 02/04/09 18:55.

My games - www.spyeart.com

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