Animated Nukes
-
- Posts: 19
- Joined: Wed Feb 27, 2013 10:08 am
Animated Nukes
Is it currently possible to implement short animation sequences like in civ2 for the nuke event rather than just the static image overlay? And if not is this planned in the roadmap somewhere?
Re: Animated Nukes
This would probably be one of the easiest ways to get into the Freeciv code. There already is an animation for an explosion in the game engine, and a while back, some one made a animated graphic, which can be found on the wiki.
Here is a feature request for this.
https://osdn.net/projects/freeciv/ticket/44774
Here is a feature request for this.
https://osdn.net/projects/freeciv/ticket/44774
Last edited by Elefant on Tue Aug 09, 2022 2:54 am, edited 2 times in total.
Civ 3 tileset: viewtopic.php?t=92953
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
Re: Animated Nukes
Looks like someone tried to or did this a while ago.
https://www.hostedredmine.com/issues/700707
https://www.hostedredmine.com/issues/700707
Civ 3 tileset: viewtopic.php?t=92953
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
Re: Animated Nukes
Not to stop anyone from trying, but don't assume that all freeciv coding would be too hard to you if it turns out too hairy to get all the right parts of the layers above the animated one to repaint correctly when you draw "below" them.
Well, assuming you don't just dismiss all the partial refresh stuff and force redraw of absolutely everything (all layers and entire screen) for each frame. Which probably wouldn't be a big issue for most users in 202x.
Re: Animated Nukes
From what I can tell, the changes would only be in one file and the explosion animation has all the code needed to do it. It should just be a matter of copy and paste.
If this wouldn't be a problem, maybe it should be done, so that animated unit and tile extras could be added, and to get rid of the trail some units leave when they move?Well, assuming you don't just dismiss all the partial refresh stuff and force redraw of absolutely everything (all layers and entire screen) for each frame. Which probably wouldn't be a big issue for most users in 202x.
Civ 3 tileset: viewtopic.php?t=92953
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20
3d Irrlicht desktop client development: viewtopic.php?t=92289&start=20