Headline Generator 2
Now with twice the pages, twice the controversy and three times the relevance. Get your newspaper today at the BBS.
silly project I did yesterday.
It picks 3 lines from 3 different lists and combines them based on a seed so you get randomized headlines.
You can flip pages with the arrow keys.
It was a challenge to make something both randomized and internally consistent.
The art for the images has been a bit of a struggle.
They need to be readable enough to feel like they mean something, but ambiguous enough to fit almost any context.
I feel like I didn't completely succeed with the images, so I might end up changing the art later.
If you know a good joke that fits the template, feel free to put some lines in. Just insert them into the lists on tab1. The lists don't have to be the same length. If you add a lot of entries (like say 15 or so) you should probable make it pick from a bigger random number in the for loop that generates the seeds (right after the "end" of the draw funciton).
Because of the way the images are picked, occasionally you see the right edge of the sprite sheet. This didn't bother me that much, so for now i left it like that.
PS is there some sort of modulo function in pico8? I think lua has one in its math library, but I couldn't immediately it in pico8. I ended up writing my own modulo function to convert bigger seeds into smaller ones so the arrays don't return "nil" when te seed is bigger then the length of the array.
- a page flipping sound
- a full page flipping animation is still too complicated at the moment, but some other screen transition might also be nice
- better humour
- better fitting images
[Please log in to post a comment]