.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old May 16th, 2018, 07:42 AM
RightDeve's Avatar

RightDeve RightDeve is offline
Second Lieutenant
 
Join Date: May 2008
Location: Yogyakarta, Nusantara
Posts: 468
Thanks: 99
Thanked 104 Times in 65 Posts
RightDeve is on a distinguished road
Default Re: Experimental winSPWW2 EXE--May 15, 2018

Quote:
Originally Posted by Mobhack View Post

Yep - I had noticed that the 3rd party graphics library we use for SHP graphics had another rendering function that allows you to resize a sprite when you splat it.

The routine the original code uses does not have the ability to scale a sprite so it meant we had to have pre-sized sprites, which then means that you needed a duplicate set of the entire graphics SHPs re-sized for each terrain level. And since the game reads in each graphics sprite set to an array in RAM as it is required, that uses your RAM up as well as the hard disk storage.

Now only the default 100% size sprite sets are read into RAM, reducing memory usage.

Since that rendering routine also allows sprite rotation, my next hacking at the game will be for vertically laid out terrain hexes, so you can have the normal "wargames table" game view where you are on the bottom of the map looking across from behind your troops at the enemy player opposite. That may work or turn out to be a can of worms...
Are we being teased of a 3D (or pseudo 3D) Steel Panthers??
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:00 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.