It is currently Mon Dec 18, 2017 1:20 am

All times are UTC + 9:30 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Tue Nov 17, 2009 5:43 am 
Offline

Joined: Tue Nov 03, 2009 2:13 am
Posts: 10
Yes. I know, you people are working on AW2.
But I'm modding AW1 Engine for my mod.

-Infantry/Mech Movement Animations for OS/BM/YC/GE/BH are added.
-Infantry/Mech style now uses CO's style.
-Fonts changed from boring "sans serif" to modified "CW2 Font." (Reduced the size of the number glyphs.)
(kudos to DeathBerserker and CyberSach for original font)

(e.g. Player 2 will have OS style infantry if the Player 2 CO is from OS.)
Download the source code and classes here.
Download the source code, classes, resources, AND the jar executable here.

Enjoy!


Last edited by JiForce on Fri Nov 20, 2009 4:29 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update
PostPosted: Thu Nov 19, 2009 2:00 pm 
Offline

Joined: Thu Aug 30, 2007 2:32 pm
Posts: 1575
eh couldn't you distribute a jar file instead?


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Fri Nov 20, 2009 4:30 am 
Offline

Joined: Tue Nov 03, 2009 2:13 am
Posts: 10
Jar file is up.
run cwsource.jar.


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Sun Dec 06, 2009 7:41 am 
Offline

Joined: Thu Aug 30, 2007 2:32 pm
Posts: 1575
so yeah this is pretty cool
sometimes it's hard to read but whatever nostalgia factor right?


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Tue Dec 08, 2009 2:30 am 
Offline

Joined: Tue Nov 03, 2009 2:13 am
Posts: 10
I'm contemplating whether I should force the screen to lower the resolution when the the game starts...

It turns out quite alot of computers (Pentium 4 and below) lag when the game starts using alot of graphics, such as CO Power Animation.

Currently I am working on optimizing sprite-loading using Hashtables.
But this is not going well right now...
There are two options:

Option 1) Create a separate gif (converted directly from avi recorded from NO$GBA) for the each CO's COP/SCOP/TAG.
+Less programming woes.
+Less intense for computers to process.
-AWDS not emulated 100% in NO$GBA (Color Corruption)
-Limited number of colors (only 256 colors...) Andy's COP looks horrible! PINK UNIFORMS FOR F***'s Sake!
-Dithering looks seriously ugly.
-HUGE increase in File Size.

Option 2) Optimize loading graphics
+Small game memory size.
+May reduce flickering in game.
-Hard to program.
-More intensive processing for computers compared to option 1.
-Easier to customize COP/SCOP/TAG animations.

Do you people mind the size of the game, or does your PC handle the graphics with no problems?


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Tue Dec 08, 2009 2:47 am 
Offline
User avatar

Joined: Tue May 08, 2007 6:19 am
Posts: 1363
Have you considered using a library that enables hardware acceleration, such as Slick?

I would strongly advice against the gif animations for CO powers in any case, as you said yourself, it will NOT look good and it's a horrible waste of space.


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Tue Dec 08, 2009 3:12 am 
Offline

Joined: Tue Nov 03, 2009 2:13 am
Posts: 10
Hmm...
How much progress did CW2 make?
I believe CW2 Engine uses Slick?


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Tue Dec 08, 2009 4:31 am 
Offline

Joined: Thu Aug 30, 2007 2:32 pm
Posts: 1575
hey how's the rain? weather used to lag like hell but now it's pretty smooth
not sure it's the video card since this happened on this same computer, is it Java?

COPs lag when there's 50+ units on the map ie the test map
try a more normal map

an other thing: does your IDE have a compression option?
just realized your jar file is 6MB


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Tue Dec 08, 2009 4:47 am 
Offline

Joined: Tue Nov 03, 2009 2:13 am
Posts: 10
The jar file includes EVERYTHING. (Graphics, sounds, etc)
That was my first time creating a jar file...
Will do better next time.
Rain makes the game lag as well... SEVERELY on Pentium 3 PCs.
On normal maps, there is no lag.
I guess this is the limitation of java2d.
I'm going to use LWJGL or JOGL and see if that works...


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Tue Dec 08, 2009 7:59 am 
Offline
User avatar

Joined: Fri May 04, 2007 3:18 am
Posts: 520
Yeah, the CW2 engine does use Slick. We have gotten fairly far on it. I'm waiting until we at least get to the level of my last update...

Oh, and it is no longer cw2... it is Custom Wars: Tactics. You can track the progress here...

The repository
The Group Page

nothing is up for download yet though...


Top
 Profile  
 
 Post subject: Re: Unofficial AW1 Engine Graphics Update (Fixed)
PostPosted: Tue Dec 08, 2009 3:36 pm 
Offline

Joined: Tue Nov 03, 2009 2:13 am
Posts: 10
Thanks for the links. I was looking for them.
Anyways, it just dawned to me that many people have PCs better than a Pentium 4 PC... Silly me...
Back to work for me...

EDIT:
Actually, nvm. I think I'll just wait for CWT Engine...
Looks like they're almost done.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 9:30 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Blue Moon by Trent © 2007
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group