Author Topic: Polyworks Update  (Read 14307 times)

0 Members and 1 Guest are viewing this topic.

Offline Anna

  • Soldier
  • **
  • Posts: 213
    • my dev blog
Polyworks Update
« on: July 11, 2008, 06:48:32 pm »
I've started working on an update which will make it make it possible to use animated gifs as scenery so that PW will compatible with the upcoming Soldat 1.5.0.

DirectX can't directly load gif files, and there seems to be no easy way to load a gif as a texture, so the solution I have come up with is to cache the gifs as bitmaps and use the bitmaps to display the gif sceneries in PW.

I'm also going to use this opportunity to make other changes, like fixing the sketch tool crashing, so I'm taking suggestions for what fixes need to be made.

Offline spkka

  • Camper
  • ***
  • Posts: 469
Re: Polyworks Update
« Reply #1 on: July 11, 2008, 08:49:52 pm »
\m/ maybe a option to select a few png's and export these to 1 scenery file?
« Last Edit: July 11, 2008, 08:53:49 pm by spkka »

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Polyworks Update
« Reply #2 on: July 11, 2008, 09:17:39 pm »
SHE'S ALIVE! :D :o

but is she back for good?  ???

Offline Eagles_Arrows

  • Veteran
  • *****
  • Posts: 1889
  • The Thread Killer
    • My Webcomic
Re: Polyworks Update
« Reply #3 on: July 11, 2008, 09:57:08 pm »
Are you going to set a limit for GIFs or is that even possible?

"Sometimes it's a good day to die, sometimes it's a good day to have breakfast." - Smoke Signals

Offline Shadow G-Unit

  • Veteran
  • *****
  • Posts: 1101
  • IRC: S[Ex]eh-Legend
    • Fractured Forums
Re: Polyworks Update
« Reply #4 on: July 11, 2008, 10:11:09 pm »
SHE'S ALIVE! :D :o

but is she back for good?  ???
We missed you Anna! Truth FLAB.


Ingame: King Legend.10- | Clan: In10sitY | Prev. Clan: OXiD | M79 Slag

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Polyworks Update
« Reply #5 on: July 11, 2008, 11:55:32 pm »
Well, let me be the first to say Thank You, it is greatly appreciated by everyone, especially me.

Nevermind, you let us down.

Offline Pie

  • Flagrunner
  • ****
  • Posts: 761
Re: Polyworks Update
« Reply #6 on: July 12, 2008, 12:02:50 am »
This is Great news!!!
Thank you very much, I appreciate it a lot.

Thanks you!
Lol, internets.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Polyworks Update
« Reply #7 on: July 12, 2008, 12:54:38 am »
Well, let me be the first to say Thank You, it is greatly appreciated by everyone, especially me.
This is Great news!!!
Thank you very much, I appreciate it a lot.

Thanks you!
I third that.
Thank you for returning to us and stuff.

Offline Snow

  • Camper
  • ***
  • Posts: 279
Re: Polyworks Update
« Reply #8 on: July 12, 2008, 02:13:15 am »
Wow. Nice. I had already started on adding .gif support. I'm only 3 weeks new to VB, however I too figured out quick that VB doesn't support gifs. :( I at least got the scenery window picture box to display gifs - with trasnparent backgrounds seemingly too) lol

Being so new, I'd have no idea how to cache a gif as bitmap. I also barely have any time to code. So, I'll leave it to you and not embarrass myself :P

Update: Please forgive me if these are noob questions. I'm still slowly learning programming and VB. There are some activex controls floating around like dxanimatedgif.ocx that allow you to display a gif in the form, scale it and rotate it. Is it possible to implement a control like that?

Also, does the image has to be a texture? In the editor, any image is just an image on the form. It's only a scenery texture on the compiled map. Am I right?

I dunno. It's the middle of the nite. I can't think anymore.

Oh and where are my manners? Thank you for coming back to update PW. :)
« Last Edit: July 12, 2008, 03:14:39 am by Snow »
"Evil will always triumph, because Good is dumb." - Dark Helmet

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5037
Re: Polyworks Update
« Reply #9 on: July 12, 2008, 03:31:53 am »
I'm glad to see you back, Anna :)

I've wondered for a while, could you possibly integrate a map-packer into PolyWorks, so it can automatically generate a zip / rar / tgz archive of the map's files?
There are other worlds than these

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Polyworks Update
« Reply #10 on: July 12, 2008, 08:39:29 am »
Awesome Anna! Thanks a bunch.
While you're at it:
Any way to make Polyworks more stable or even runnable on vista? Because it doesn't work on my new laptop.
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline El_Spec

  • Major
  • *
  • Posts: 74
Re: Polyworks Update
« Reply #11 on: July 12, 2008, 03:30:35 pm »
I guess I can say R.I.P. to default style maps.  But it's good to have you back Anna.

I never experienced the Sketch Tool crashing on my computer, no matter how long I use it.  But I did notice there's a small bug, the Lights box in the Display Window will always be checked on whenever you open PolyWorks, no matter if you left it on or off. 

Found a small bug:
When having placed the 1st or 2nd vertice of a polygon (so another vertice is still "floating" at your cursor) while having selected another polygon, if you press the Delete button on your keyboard, Polyworks violently crashs with a bunch of error messages. This made me loose about an hour of work on a map ;)

Quoted from Avarax and as another bug report.

Offline a fool

  • Major
  • *
  • Posts: 98
  • Wait, what?
Re: Polyworks Update
« Reply #12 on: July 12, 2008, 05:59:17 pm »
it would be interesting that you can directly set the alpha of a polygon after it's creation. I've wanted to make some polygons completely transparent, and find myself plunged into the obscure world of "multiply" or what so ever....

unless I am a completly retard (which I believe should be the case) and that you can do this already...

I would like a feature to place some tenner on the polygons and repaint them, or in other words, just directly recoloring the polygon's alpha channel without any 'multiply' bother :3
Verily!

Offline Kairos

  • Major(1)
  • Posts: 1
Re: Polyworks Update
« Reply #13 on: July 12, 2008, 08:10:47 pm »
a fool:

Make your polygon, select it, and edit opacity in Properties.

Offline a fool

  • Major
  • *
  • Posts: 98
  • Wait, what?
Re: Polyworks Update
« Reply #14 on: July 14, 2008, 01:12:46 pm »
a fool:

Make your polygon, select it, and edit opacity in Properties.
Thanks a bunch! never realized this
Verily!

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: Polyworks Update
« Reply #15 on: July 16, 2008, 01:43:48 am »
Awesome Anna! Thanks a bunch.
While you're at it:
Any way to make Polyworks more stable or even runnable on vista? Because it doesn't work on my new laptop.
If you are having trouble, make a post in mapping help/resources, polyworks works on my vista comp, and E_A's vista comp.
So far it has been as stable as I remember it on XP.

BUG: (maybe only on vista) if you are in the process of making a polygon (i.e. put only one vertex down) and press delete, it keeps putting out windows with some problem and u have to use task manager to close it.

Also, while using the transform tool thingie, (maybe only when snap to grid is on) it distorts the shape.
Idea: could you make a way to set which vertex is used to snap to grid when moving a bunch of polies that don't all line up on the grid?
And finally, could you make snap to vertices work while moving poly's?
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs

Offline Mr. America

  • Soldier
  • **
  • Posts: 221
  • Watch out for the blablabla!
    • My arcor homepage. There are just my maps.
Re: Polyworks Update
« Reply #16 on: July 19, 2008, 07:07:25 am »
THANKS for coming back (even if it's only for an update  :'( or will you stay longer?)

Can't wait for .gif support =D
*party*

Offline As de Espada

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1493
  • Mapper
    • My maps
Re: Polyworks Update
« Reply #17 on: July 19, 2008, 01:36:34 pm »
one interesting thing would be the consept of Groups. It's like the prefabs, but you don't create them in you map, they only become selected. If you need more info, and if you are interested in doing it, I can detail it better.
The nearest thing is the select by color, but in this groups you define what you wanna put in the selection (then you can set them by perssing alt+1, alt+2 or whatever)
All my maps | my latest map: SoldatX Racing Mappack
me making a map on youtube: ctf_FastMade

Offline blackdevil0742

  • Veteran
  • *****
  • Posts: 1061
  • Don't Panic
Re: Polyworks Update
« Reply #18 on: July 19, 2008, 01:43:02 pm »
Great to see you back and work on PW to add .gif support!
<3

OBEY!!!

Offline As de Espada

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1493
  • Mapper
    • My maps
Re: Polyworks Update
« Reply #19 on: July 19, 2008, 05:19:31 pm »
suggestions: hotkey for flip horizontal, possibility to flip spawns
ohh and thanks for making Polyworks (o/
All my maps | my latest map: SoldatX Racing Mappack
me making a map on youtube: ctf_FastMade