News Ticker

Insights into the development of Project Reality.
Post Reply
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

News Ticker

Post by AncientMan »

Haven't written a blog entry for a while, so I might write one for a little something that I've been working on for the last day or so. Nothing too exciting, probably more boring :p, but it's just a little insight into the backend of things in the PR Dev world.

I'm sure everyone knows of the new news ticker in the PR main menu that was introduced in 0.86. Due to the flash engine in BF2, certain things don't work, so workarounds have to be done in order to get things working. This basically means for the news ticker, instead of loading dynamic text for the news ticker, it works by loading images from a website. The images are of text, so it basically looks the same :). For the linked websites for each news item, since we can't update the menu every time we want to update the news ticker, the links go to a static redirect website, which we dynamically change to send you to the appropriate link.

Now, the problem with using this method, is updating the news ticker would be a fairly heavy task. You would have to write up a message in Photoshop or whatever, save it, upload it, then edit the redirect page, save it, upload it. Then do that multiple times for the 5 different news ticker items. Not really that great, more of a chore updating the news ticker, leaving it go unused and ending up with no one reading it :(.

The solution is some sort of web form that allows any Dev easily update the ticker in a matter of seconds. So, through the wonders of PHP and JavaScript, you end up with something like this:

Image

Anyway, I really like how it has turned out. It's turned a 5-10 minute task into a 20 second task, so hopefully we'll end up with a constant stream of dynamic info going straight into the main menu, which means more advertising of news, events, competitions, whatever :).
Image
Tomato-Rifle
Posts: 2091
Joined: 2007-12-31 22:24

Post by Tomato-Rifle »

Sweet, i like how they have colors now to catch my eye a little better
Image
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Post by Rudd »

makes it look very professional ingame, well done
Image
rexik
Posts: 67
Joined: 2008-09-01 01:48

Post by rexik »

sweet! (: I like to say that this is a very good work, how much none sleeping nights?
Image
hiberNative
Posts: 7305
Joined: 2008-08-08 19:36

Post by hiberNative »

this looks really intuitive to use. well done indeed.
-Image
jozi02
Posts: 260
Joined: 2008-02-17 20:32

Post by jozi02 »

Seems like very nice tool

BTW. I think you should move the news ticker from the bottom of the menu to the top.
Psyko
Posts: 4466
Joined: 2008-01-03 13:34

Post by Psyko »

hats off Anchientman! and btw its not the back end, its the front end. Its the first thing you use before the game starts. and therefor worth the time and effort, which you have been doing splendidly, keep up the good work mate. ;)
VoXiNaTiOn
Posts: 1644
Joined: 2008-07-26 15:15

Post by VoXiNaTiOn »

Psyk - It's the back-end as that is the part that is done behind the scenes, only the DEVs use/have access to it.


Nice work though, looks intuitive.
Image
Spartan0189
Posts: 1277
Joined: 2008-07-11 21:22

Post by Spartan0189 »

Heh, nice looking work ;)
Image
zephyr89s
Posts: 74
Joined: 2008-04-14 22:25

Post by zephyr89s »

Did you have to make the script yourself, or was someone already offering it as freeware, and if so, I want to use it!

ingame: |TG| Maxwell_Q_Klinger
jbgeezer
Posts: 908
Joined: 2008-06-10 15:30

Post by jbgeezer »

I like it.
Live by the sword, die by the sword...

Ingame:G-LockCobra
http://www.youtube.com/user/sotemot
MR.Jv
Posts: 21
Joined: 2009-07-31 17:38

Post by MR.Jv »

I love it
Who creeps can not stumble
Image
Garmax
Posts: 288
Joined: 2008-06-13 00:52

Post by Garmax »

nicely done i like it alot
Post Reply

Return to “Development Blogs”