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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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


Reply
 
Thread Tools Display Modes
  #1  
Old May 16th, 2018, 07:43 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 6,000
Thanks: 492
Thanked 1,934 Times in 1,259 Posts
Mobhack is on a distinguished road
Default Re: Experimental winSPWW2 EXE--May 15, 2018

Quote:
Originally Posted by RightDeve View Post
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??
Nothing about 3D in there whatsoever.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 02:26 AM.


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