Enrique Posted January 15, 2014 Report Share Posted January 15, 2014 Awesome work LordGood. Composition and colors are very appealing. I wonder if they can be separated in two or three layers to make them scroll like the main menu now to give some 3D-depth impression. 3 Quote Link to comment Share on other sites More sharing options...
LordGood Posted December 2, 2014 Report Share Posted December 2, 2014 wooee, one of my professors actually let me do this one for a grade. 10 Quote Link to comment Share on other sites More sharing options...
niektb Posted December 2, 2014 Report Share Posted December 2, 2014 Cool, what grade did you get for it? Quote Link to comment Share on other sites More sharing options...
LordGood Posted December 2, 2014 Report Share Posted December 2, 2014 no idea yet, just made it! Quote Link to comment Share on other sites More sharing options...
niektb Posted December 2, 2014 Report Share Posted December 2, 2014 Oh, lol! anyway, good work! Quote Link to comment Share on other sites More sharing options...
LordGood Posted December 5, 2014 Report Share Posted December 5, 2014 Both of these tile, or they should anyway.Boy, this semester's been a rough one. 10 Quote Link to comment Share on other sites More sharing options...
shieldwolf23 Posted December 5, 2014 Report Share Posted December 5, 2014 Impressive as always, LordGood! 1 Quote Link to comment Share on other sites More sharing options...
Leyto Posted December 7, 2014 Report Share Posted December 7, 2014 Yes, all of your work looks nice, I guess the last scene could be Pompei? Quote Link to comment Share on other sites More sharing options...
Lion.Kanzen Posted December 7, 2014 Report Share Posted December 7, 2014 Yes, all of your work looks nice, I guess the last scene could be Pompei? Carthage Quote Link to comment Share on other sites More sharing options...
LordGood Posted December 9, 2014 Report Share Posted December 9, 2014 and I'm done with these for a bitthanks, guys 6 Quote Link to comment Share on other sites More sharing options...
Wijitmaker Posted December 11, 2014 Report Share Posted December 11, 2014 Ah man... I was excited to see a Celtic one Fantastic job! Quote Link to comment Share on other sites More sharing options...
Pureon Posted December 11, 2014 Report Share Posted December 11, 2014 http://www.wildfiregames.com/forum/index.php?showtopic=17180&page=3#entry277610http://www.wildfiregames.com/forum/index.php?showtopic=17180&page=4#entry300978http://www.wildfiregames.com/forum/index.php?showtopic=17180&page=5#entry301028http://www.wildfiregames.com/forum/index.php?showtopic=17180&page=5#entry301125I think these are great. We've probably had the same background for too long now, time for a change, or four. Quote Link to comment Share on other sites More sharing options...
shieldwolf23 Posted December 11, 2014 Report Share Posted December 11, 2014 Agree. Can't we have them all, and have the main menu backgrounds alternately change whenever we start a game? Forgive my ignorance on how simple or complex that suggestion is, programming-wise. Quote Link to comment Share on other sites More sharing options...
leper Posted December 11, 2014 Report Share Posted December 11, 2014 Agree. Can't we have them all, and have the main menu backgrounds alternately change whenever we start a game? Forgive my ignorance on how simple or complex that suggestion is, programming-wise.The code supported multiple backgrounds for quite some time. It might need some slight adjustments, but it shouldn't be a lot of work. If LordGood could give us some layers to show that would help a lot. Quote Link to comment Share on other sites More sharing options...
LordGood Posted December 12, 2014 Report Share Posted December 12, 2014 If LordGood could give us some layers to show that would help a lot.I can't split the background into layers, the second and third scrolling layers don't tile, so any over layer will have to be characters and draft animals so they don't touch the edges. 1 Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted June 11, 2015 Report Share Posted June 11, 2015 I made it a bit easier to add new backgrounds, and you can decide which layers tile and which don't. Currently, you can add up to 5 layers for a background set, if you want more, it's easy to change. To add a background set, you just need to add two small files. See the files in http://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/pregame/backgrounds .First, you have to make a .xml file in that directory, similar to http://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/pregame/backgrounds/hellenes.xml , there you define a sprite for every image layer. Every sprite must have a unique name, and define what texture to be used. The first sprite is an example of a tiled sprite, the other two are non-tiled. Best is to at least make the background tiled, so that people with big screens get a nice view. Foregrounds can be tiled or non-tiled. A non-tiled sprite should always have a 2:1 image resolution. Else there will be some strange stretching.Then, after the sprites are defined, you need to add a simple JS file, similar to http://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/pregame/backgrounds/hellenes.js . That JS file defines the order of the layers (the background should be placed at the top). You also define whether that layer is tiled and which sprite to use for the layer.The offset defines the layer motion as a function of time and the screen width. The Math.cos function makes it oscillate to the left and right (note that for tiled layers, you don't need oscillation, and you can just keep scrolling to one side). An offset of 0 would make the image centred on the screen. The constants are there to define the speed of oscillation, the width of the oscillation, and the average offset to the screen centre.I hope this makes it easy enough to add backgrounds in a way the artist (and not the programmer) likes.EDIT: if you add backgrounds, and you want to test them, it's obviously annoying if they appear only randomly. The best way to stop loading other backgrounds is by giving the other JS files a different extension (f.e. "*.js.backup"). That way, they won't be read. 3 Quote Link to comment Share on other sites More sharing options...
LordGood Posted June 13, 2015 Report Share Posted June 13, 2015 Oh if nothing else I can at least hack up the backgrounds into layers now, that's fantastic! Sounds simple enough for me to use too hahaCheers Sander 2 Quote Link to comment Share on other sites More sharing options...
LordGood Posted August 29, 2016 Report Share Posted August 29, 2016 Dug this one out of the seleucid structures thread and polished it up 13 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted August 30, 2016 Report Share Posted August 30, 2016 Neat. What would the forground layers be? 1 Quote Link to comment Share on other sites More sharing options...
LordGood Posted August 30, 2016 Report Share Posted August 30, 2016 Atmosphere/architecture/cataphracts 1 Quote Link to comment Share on other sites More sharing options...
LordGood Posted October 16, 2016 Report Share Posted October 16, 2016 Now, this one's fresh. Hastati in foreground to come. 12 Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted October 16, 2016 Report Share Posted October 16, 2016 (edited) Nice. I miss real siege stuff like mantelet and undermine tunnel in the game. Edited October 16, 2016 by wowgetoffyourcellphone 1 Quote Link to comment Share on other sites More sharing options...
LordGood Posted October 16, 2016 Report Share Posted October 16, 2016 Hastatus #1 Quote Link to comment Share on other sites More sharing options...
WhiteTreePaladin Posted October 16, 2016 Report Share Posted October 16, 2016 I actually think I like it better without the solder in the foreground. Quote Link to comment Share on other sites More sharing options...
LordGood Posted October 16, 2016 Report Share Posted October 16, 2016 What if I put more hastati in the foreground? 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.