You are all invited to the Tiny-TV Jam, a Pico-8 gamejam in which you'll have to make a tiny game for a tiny TV!
Here is the base cart:
I fixed the fix because it was stealing 7% of CPU from you when the TV was on, sorry about that. Also, no more weird screen display thanks to qbicfeet!
Here are the instructions to use the cart:
I know the instructions are intimidating but it's actually easier than it looks. If you're hesitating, please give it a go and see how it turns out. If you have any question, feel free to ask here.
tiny tv base cart instructions:
On the limitations:
The main limitation is of course the 10x11 screen resolution.
But there is also the regular CPU limitation which already ~70-75% filled by the TV rendering. The remaining 25% will need to be enough (it should be largely enough in most cases) for your games. Otherwise, consider reskinning your TV to something lighter (see "on the sprite-sheet" section).
Those are the only limitations for the jam but of course, regular Pico-8 restrictions apply as well.
The TV can be turned on and off with the player2's 'O' button ('tab' on a keyboard) or through the pause menu (hit 'enter').
On the cart's code:
At the beginning of the cart there are a few variables you can set only once and only there:
....that's the transparency color on your voxel TV plans.
....It's only useful if you wish to reskin your TV.
....that's the height of the middle of the TV screen.
....Again, this is only useful if you wish to reskin your TV.
....when set to true, 'tab' on a keyboard will let you turn the tv on and off
Then, there are variables you can change whenever in your code:
....rotation around the y axis (0-1, NOT 0-360 or 0-pi)
this variable is added to tv_angle each frame
....x and y offset of the TV on the Pico-8 screen
....because I'm not that good at maths, I couldn't figure out rotation around the x axis.
....instead you have this fake rotation which is very limited and can take values from -1 to 1.
....sorry about that.
....when set to true, the memory and the cpu used by the cart will be displayed at the top-left corner of the screen
These variables are also used by the base cart, which will automatically recenter the tv and direct it towards you. This can be ignored by setting these variables again each frame.
Next are the base functions of your game: _game_init(), _game_update(), _game_draw(). They behave exactly like the regular _init(), _update() and _draw() functions except _game_init() is called when the tv is turned on.
_game_shutdown() is called when turning off the TV.
_set_screen_text() lets you add static text around your tv. it uses the tv_add_text function:
....sets static text to be displayed on the Pico-8 screen.
....alignment can be 0: aligned left
...............................1: aligned center
...............................2: aligned right
Both _game_shutdown() and _set_screen_text() are optional and can be deleted if you don't wish to use them.
Then there is space for your own functions but you can put them before that if you like.
And then there are the base cart's internal functions which you should not change. Changing these functions is against the rules of the jam. Please don't do it.
Note: the TV can be turned on/off in the code by calling 'tv_turn_onoff()'
The base cart calls sfx(0) and sfx(1) upon turning on and off the tv. You can of course change these sfx to whatever you like.
You are free to use as many sfx as you normally can in Pico-8 and same thing for the music!
On the sprite-sheet and the map: (+reskinning TV)
The base cart uses the second half of the sprite-sheet (which is also the second half of the map) as voxel layers for the TV and also for the tile in the background.
You are invited to modify these layers and reskin your tv this way.
If you do so, don't forget to set the tv_transparency_col and tv_screen_height variables if needed.
Note that if black cells are in the screen frame, they will get the screen color, whatever their depth.
Also note that the rendering of the TV renders all non-transparent cells and that is heavy on CPU so try to do empty cases rather than filled ones (i.e. do like it is done on the base cart).
You are also invited to change the background tile.
You are free to use the free half of the sprite-sheet as well as the free half of the map, as you like!
Most important instruction here: when participating to the jam, please make sure to... have fun!!!
[ end of the instructions ]
Here is a video alternative version of the instructions: (sorry for the not-very-good audio :X)
You are more than welcome to customize both your TV and the tiles that are displayed in the background. However, you are not allowed to modify the voxel data and/or the background tiles at runtime.
And here are two reskins if you are into that! You need to click on the [128x64], hit ctrl+c then go to pico-8, sprite-sheet tab 2, first cell there and hit ctrl-v! Don't forget to change the tv_transparency_col and tv_screen_height!
Entries need to be upload here on the BBS, in the Jam section. The created BBS thread needs to be tagged "tinyTVjam"!
If anyone is encountering any problem with the base cart, please report it here as soon as possible!
This is all there is to know.
Good luck and have fun every one!
About the jam:
What: Over a week ago I did a Pico-8 doodle starring a voxel TV on which you could play a tiny Pong on the 10x11 screen. It was then suggested to me to make a jam out of this. This is the invite to this jam.
When: The jam will take place from the January 14th on 00:00 GMT to the January 22th at 24:00 GMT! That would leave you 2 weekends and 5 week days. Spend as much or little time as you need on your carts. You do not have to make something super impressive or anything, it really only has to be *something*.
Where: Here on the BBS, in the Jam section.
Who: ALL OF YOU!!! You don't have to know Pico-8 super well to participate in this jam. Pico-8 beginners are super welcome! Don't be shy to submit either, you have nothing to lose in it!!
How: A framework cart will be provided at the very start of the jam, with a how-to-use-it guide, stating what you can and can't change along with a few guidelines. The TV will be customizable but the screen resolution will have to stay at 10x11. Expect to be a bit limited in terms of allowed ram. By the way, the invite cart does not use the final framework at all. Teams and collaborations are allowed. There will not be any theme, just make a game for the tiny screen.
Submitting: You will be able to submit your cart before the deadline by creating a Jam thread with "tinyTVjam" in its tags. You can update your cart as many times as you like until the deadline.
Voting: The voting widget used for the p8jam will appear on all threads tagged #tinyTVjam. Voting will be anonymous and it will last the one week just after the jam finished. The results will be announced at the end of the voting period.
What do you win if you win: The high respect and appreciation from the community. And maybe a little surprise. But above all, the aim here is to have fun and make something cool!
During and after the jam, you will be able to browse through the entries from here.
edit ~ Here are some more details that were given further in this thread:
- you can have as much love and instructions as you want in the description of your games.
- you will also be able to have some static text outside the tv but nothing dynamic.
- you can have all the normal controls of Pico-8. The TV will be turned on either with the Player-2-buttons if you don't use them, either with a pause menu option.
- the maximum width for the tv screen is 10 and the maximum height is 11 but you can use less than that if you want to.
P#35207 2017-01-07 22:14
P#35272 2017-01-08 15:50
1. I hope we can remove this reflection on tv screen, and tv pixel in corners of screen, as it's robbing us from precious space we have for displaying a game...
2. How many buttons do we have? Can we have all pico8 buttons (directions + O/X) or can we only have (up,down and X)? I really hope for all buttons...
( If you are against giving players all inputs, because you need to have button to turn on/off tv, consider holding x and o buttons for a second as a restart command.)
3. Can we put some text above/below tv screen? If so can it be only static (like lore) or something dynamic like player score/health etc.
P#35308 2017-01-09 02:06
You'll have the directions + O/X, the TV will be started and shut down with the player 2 buttons.
Static text will be allowed outside the tv screen, but no dynamic stuff.
TV will be reskinnable, just keep the 10x11 screen!
You can use less than 10x11 if you want! :P
P#35345 2017-01-09 10:42
> the TV will be started and shut down with the player 2 buttons.
please consider a pause menu option for doing that or something...? there's no way to push player 2 buttons when using a (single) controller (which I often do, with the nearest keyboard literally across the room ('cause wireless controller + TV screen))
P#35360 2017-01-09 14:13
The Jam starts in just 18 hours now!
As said before, the framework cart will be given at the very start of the jam and the TV will be reskinable! Here is a Strawberry™ TV I made earlier!
That TV will also be downloadable as an alternative skin! :)
See you in 18 hours!! ;D
P#35572 2017-01-13 00:15
Another question (admittedly I haven't glanced at the cart code yet): how do we deal with x,y coordinates when the tv/screen moves? Are these normalized somehow (such as the top left of the tv screen always being 0,0), or do we need to somehow compensate for tv/screen position/rotation when calculating coordinates for display objects?
P#35627 2017-01-13 20:27
P#35628 2017-01-13 20:41
- you can now access screen data (through pget) and draw on the screen from the _update_game() function.
- you can now actually delete the optional _set_screen_text() function and the cart will still work.
You don't have to change base cart if you already downloaded the previous one. Both versions of the base cart will be accepted for submission to the jam.
Very sorry for the inconvenience.
(by the way some of you are already making amazing stuff and it makes me really happy)
P#35702 2017-01-14 19:40
P#35704 2017-01-14 19:48
Also wanted to bring it up so I don't get disqualified. I'm not intentionally making any pixels smaller than they should be to get around the resolution restrictions.
here's a demonstration (you can see the vertical path above the player is also half as wide, so it affects the whole screen in that column, not just the player):
P#35708 2017-01-14 20:07
if tv_angle==0 then tv_angle=0.0001 end
this is a bit dump but it works.
P#35712 2017-01-14 20:29
And no this is actually the only one hidden in the code I think! I added it just below the instructions on this thread yesterday too because I had people ask me about it. Sorry I didn't make it more clear!
Note also that modifying tv_text is also against the rules of the jam, since the rule is that all text outside the screen should be static. :)
@Liquidream Yes you can reduce the resolution! In fact, SeanS. LeBlanc already did it! :D
P#35770 2017-01-15 10:36
But here's how you do it anyway!
that's a ctrl+C I'm doing at the end after I selected the half of the sprite-sheet and then you ctrl+V in a BBS post. :)
edit: looks like you figured it out! :3 Great skin, I love it!
P#35776 2017-01-15 11:49
Also I added qbicfeet's fix for the screen! Thank you qbicfeet!
hotfix .2 changelog:
- Fixed unfair 7% CPU usage added when TV is on.
- Fixed screen display, no more pixels not having the same size.
Again, very sorry for the inconvenience.
If you want you can apply the changes to the cart yourself:
Remove the "cls()" in the _update, after the "if tv_gameon then",originally at line 177.
In tv_draw_voxels() replace the first "64" after "for l=0,tv_height do", originally at line 269, with "64.5".
@qbicfeet: I invite you to download the new version of the cart or apply both of the changes. Thank you so much for your fix!
P#35783 2017-01-15 13:39
Log in to post a comment