commit
226a15703d
@ -0,0 +1,17 @@ |
||||
## install |
||||
|
||||
I publish the games i care to show on https://kthnx.itch.io/ |
||||
|
||||
I use Sublime Text 3 with the PICO-8 package. (follow install procedure for font) |
||||
Here is my config : |
||||
|
||||
```json |
||||
{ |
||||
"font_size": 16, |
||||
"highlight_line": true, |
||||
"line_padding_bottom": 4, |
||||
"line_padding_top": 4, |
||||
"pico-8_path": "C:\\Program Files (x86)\\PICO-8\\pico8.exe", |
||||
"rulers": [32] |
||||
} |
||||
``` |
@ -0,0 +1,8 @@ |
||||
--- |
||||
include: |
||||
- project: "kay/ci-templates" |
||||
file: |
||||
- "/Semantic-Release.gitlab-ci.yml" |
||||
|
||||
stages: |
||||
- review |
@ -0,0 +1,307 @@ |
||||
pico-8 cartridge // http://www.pico-8.com |
||||
version 16 |
||||
__lua__ |
||||
-------------------------------- |
||||
-------------------------------- |
||||
-- learning pico-8 ------------- |
||||
-------------------------------- |
||||
-- probably does not represent - |
||||
-- the best coding practices --- |
||||
-------------------------------- |
||||
-- by jukefr (hi@juke.fr) ------ |
||||
-------------------------------- |
||||
-------------------------------- |
||||
|
||||
------------------- |
||||
-- base variables - |
||||
------------------- |
||||
player = {64, 64, 8} -- x y r |
||||
enemy = {0, 0, 4} -- x y r |
||||
is_music = false -- playing ? |
||||
score = -1 |
||||
speed = 1 |
||||
is_playing = false |
||||
timer = 0 |
||||
seconds = 0 |
||||
game_over = false |
||||
------------------- |
||||
|
||||
------------------ |
||||
-- configuration - |
||||
------------------ |
||||
clr0 = 13 -- main color |
||||
clr1 = 3 -- secondary color |
||||
------------------ |
||||
|
||||
-------------------------------- |
||||
--------- start logic ---------- |
||||
-------------------------------- |
||||
|
||||
-- start partymode |
||||
function partymode() |
||||
if not is_playing then |
||||
music_player() |
||||
is_playing = true |
||||
end |
||||
end |
||||
|
||||
function reset() |
||||
player = {64, 64, 8} -- x y r |
||||
enemy = {0, 0, 4} -- x y r |
||||
is_music = false -- playing ? |
||||
score = -1 |
||||
speed = 1 |
||||
is_playing = false |
||||
timer = 0 |
||||
seconds = 0 |
||||
game_over = false |
||||
music(-1) |
||||
end |
||||
|
||||
function music_player() |
||||
if not is_music then |
||||
music() |
||||
is_music = true |
||||
end |
||||
end |
||||
|
||||
function bounds(point, r) |
||||
-- check if the position is |
||||
-- outside screen and correct |
||||
-- if it is |
||||
if point < -(r-1) then |
||||
point = 127 - r |
||||
elseif point>127+r then |
||||
point = r |
||||
end |
||||
|
||||
return point |
||||
end |
||||
|
||||
-- calculate player position |
||||
-- return as array |
||||
function get_position(x,y,r) |
||||
-- maps btn(i-1) to action |
||||
-- to execute on player |
||||
-- x and y position |
||||
keys={ |
||||
{-1,0}, {1,0}, -- x pos |
||||
{0,-1}, {0,1} -- y pos |
||||
} |
||||
|
||||
-- lua arrays start at 1 |
||||
for i=1,4 do |
||||
if btn(i-1) then |
||||
x += (keys[i][1]*speed) |
||||
y += (keys[i][2]*speed) |
||||
end |
||||
end |
||||
|
||||
-- check if out of bounds |
||||
x = bounds(x, r) |
||||
y = bounds(y, r) |
||||
|
||||
-- check if we are eating |
||||
eat( x, y, r, |
||||
enemy[1], enemy[2], enemy[3] ) |
||||
|
||||
return {x,y,r} |
||||
end |
||||
|
||||
function eat(px, py, pr, |
||||
ex, ey, er) |
||||
radix = (px-ex)*(px-ex) |
||||
radiy = (py-ey)*(py-ey) |
||||
radi = pr+er |
||||
radi *= radi |
||||
if radix + radiy < radi then |
||||
enemy=randomize_enemy(enemy) |
||||
player=grow(player) |
||||
end |
||||
end |
||||
|
||||
function grow(p) |
||||
return {p[1], p[2], p[3]+5 } |
||||
end |
||||
|
||||
function randomize_enemy(e) |
||||
score += 1 |
||||
speed += 1 |
||||
return {flr(rnd(127)), |
||||
flr(rnd(127)), |
||||
e[3]} |
||||
end |
||||
|
||||
-- runs at every frame |
||||
-- before _draw |
||||
function _update60() |
||||
-- store position in global |
||||
-- player array |
||||
if is_playing then |
||||
timer += 1 |
||||
seconds = flr(timer / 60) |
||||
if score == -1 then |
||||
enemy=randomize_enemy(enemy) |
||||
end |
||||
end |
||||
player = get_position( |
||||
player[1], |
||||
player[2], |
||||
player[3] |
||||
) |
||||
if seconds > 30 then |
||||
game_over = true |
||||
end |
||||
end |
||||
-------------------------------- |
||||
---------- end logic ----------- |
||||
-------------------------------- |
||||
|
||||
-------------------------------- |
||||
-------- start graphics -------- |
||||
-------------------------------- |
||||
function draw_bg() |
||||
cls() |
||||
end |
||||
|
||||
-- draws background |
||||
function draw_border() |
||||
rectfill(0,0,127,1, clr1) |
||||
rectfill(0,126,127,127, clr1) |
||||
rectfill(0,0,1,127, clr1) |
||||
rectfill(126,0,127,127, clr1) |
||||
end |
||||
|
||||
-- draws player |
||||
function draw_player(x,y,r) |
||||
circfill(x,y,r,clr0) |
||||
end |
||||
|
||||
function draw_enemy(e) |
||||
circfill( |
||||
e[1], |
||||
e[2], |
||||
e[3], |
||||
clr1 |
||||
) |
||||
end |
||||
|
||||
-- draw a second circle |
||||
-- if the player is out |
||||
-- of bounds, like a "mirror" |
||||
function draw_mirror(x,y) |
||||
if x < player[3] then |
||||
circfill(127+x, y, player[3] ,clr0) |
||||
partymode() |
||||
elseif x > 119 then |
||||
circfill(x-127, y, player[3], clr0) |
||||
partymode() |
||||
end |
||||
if y < player[3] then |
||||
circfill(x, 127+y, player[3] ,clr0) |
||||
partymode() |
||||
elseif y > 119 then |
||||
circfill(x, y-127, player[3] ,clr0) |
||||
partymode() |
||||
end |
||||
end |
||||
|
||||
function stop_game() |
||||
o_msg = "โ " |
||||
o__msg = " to start over" |
||||
msg_o= 64-(#o_msg+#o__msg)*2 |
||||
msg__o = msg_o+#o_msg*4 |
||||
over_score = ""..score |
||||
cls() |
||||
print(over_score, |
||||
64-#over_score*2, |
||||
64, clr0) |
||||
print(o_msg, |
||||
msg_o, 105, clr0) |
||||
print(o__msg, |
||||
msg__o , |
||||
105, clr1) |
||||
if btn(5) then |
||||
reset() |
||||
end |
||||
end |
||||
|
||||
-- draws info_ |
||||
function info_() |
||||
s_msg = "score:" |
||||
s__msg = ""..score |
||||
msg_s= 64-(#s_msg+#s__msg)*2 |
||||
msg__s = msg_s+#s_msg*4 |
||||
|
||||
print(s_msg, |
||||
msg_s, 105) |
||||
print(s__msg, |
||||
msg__s , |
||||
105, clr0) |
||||
|
||||
t_msg = "time:" |
||||
t__msg = ""..(30-seconds) |
||||
msg_t= 64-(#t_msg+#t__msg)*2 |
||||
msg__t = msg_t+#t_msg*4 |
||||
|
||||
print(t_msg, msg_t, 15, clr1) |
||||
print(t__msg, msg__t , |
||||
15, clr0) |
||||
end |
||||
|
||||
-- called after _update |
||||
function _draw() |
||||
if game_over then |
||||
stop_game() |
||||
draw_border() |
||||
else |
||||
speed = 1 + flr(rnd(abs(score))) |
||||
draw_bg() |
||||
draw_player( |
||||
player[1], |
||||
player[2], |
||||
player[3] |
||||
) |
||||
draw_mirror( |
||||
player[1], |
||||
player[2] |
||||
) |
||||
if is_playing then |
||||
draw_enemy(enemy) |
||||
draw_border() |
||||
info_() |
||||
end |
||||
end |
||||
end |
||||
|
||||
-------------------------------- |
||||
--------- end graphics --------- |
||||
-------------------------------- |
||||
__gfx__ |
||||
08800880000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
||||
88888888000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
||||
88888888000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
||||
88888888000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
||||
08888880000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
||||
00888800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
||||
00088000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
||||
__sfx__ |
||||
011000000c053000000000000000246150000000000000000c053000000000000000246150000000000000000c053000000000000000246150000000000000000c05300000000000000024615000000000000000 |
||||
011000000214002140021400214002140021400214002140021400214002140021400214002140021400214002140021400214002140021400214002140021400214002140021400214002140021400214002140 |
||||
011000000214002130021200211002140021300212002110021400213002120021100214002130021200211002140021300212002110021400213002120021100214002130021200211002140021300212002110 |
||||
011000000214002120021100214002120021100214002120021100214002120021100214002110021400211002140021200211002140021200211002140021200211002140021200211002140021100214002110 |
||||
011000000210002100021400212002110021400212002110021400212002110021400212002110021400211002140021200211002140021200211002140021200211002140021200211002140021100214002110 |
||||
011000000210002100021400212002010021400212002010021400212002010021400212002010021400201002140021200201002140021200201002140021200201002140021200201002140020100214002010 |
||||
01100000021000210002140021200e11002140021200e11002140021200e11002140021200e110021400e11002140021200e11002140021200e11002140021200e11002140021200e110021400e110021400e110 |
||||
01100000021000210002140020200e11002040021200e01002140020200e11002040021200e010021400e01002140020200e11002040021200e01002140020200e11002040021200e010021400e010021400e010 |
||||
01100000021000210002140021250e11002140021200e11502140021250e11002140021200e115021400e11002140021200e11502140021200e11002140021250e11002140021200e110021400e110021400e110 |
||||
__music__ |
||||
00 00014344 |
||||
01 00024344 |
||||
00 00034344 |
||||
00 00044344 |
||||
00 00054344 |
||||
00 00064344 |
||||
00 00074344 |
||||
02 00084344 |
||||
|
@ -0,0 +1,224 @@ |
||||
pico-8 cartridge // http://www.pico-8.com |
||||
version 16 |
||||
__lua__ |
||||
-- pong |
||||
-- very basic attempt at re- |
||||
-- creating pong in pico-8 |
||||
-- by k (hi@juke.fr) |
||||
|
||||
player = {} -- base player vars |
||||
player1 = {} -- specific player |
||||
player2 = {} -- specific player |
||||
ball = {} -- pomg ball |
||||
scene = {} -- background etc. |
||||
|
||||
scene.clr = 7 |
||||
|
||||
player.clr = 7 |
||||
player.w = 3 |
||||
player.h = 15 |
||||
player.min_y = 2 |
||||
player.max_y = 125-player.h |
||||
|
||||
player1.x = 3 |
||||
player1.y = 64-player.h/2 |
||||
player1.vctr = {0,0} |
||||
player1.score = 0 |
||||
|
||||
player2.x = 124-player.w |
||||
player2.y = 64-player.h/2 |
||||
player2.vctr = {0,0} |
||||
player2.score = 0 |
||||
|
||||
ball.r = 3 |
||||
ball.clr = 7 |
||||
ball.x = 64 |
||||
ball.y = 64 |
||||
ball.speed = 1 |
||||
ball.vctr = {0,0} |
||||
|
||||
function player1.update() |
||||
player1.x += player1.vctr[1] |
||||
player1.y += player1.vctr[2] |
||||
end |
||||
|
||||
function player1.mvmt() |
||||
player1.vctr[1]=0 |
||||
player1.vctr[2]=0 |
||||
if btn(4) then |
||||
if player1.y-1>player.min_y then |
||||
player1.vctr[1]=0 |
||||
player1.vctr[2]=-1 |
||||
end |
||||
end |
||||
if btn(5) then |
||||
if player1.y+1<player.max_y then |
||||
player1.vctr[1]=0 |
||||
player1.vctr[2]=1 |
||||
end |
||||
end |
||||
end |
||||
|
||||
function player2.update() |
||||
player2.x += player2.vctr[1] |
||||
player2.y += player2.vctr[2] |
||||
end |
||||
|
||||
function player2.mvmt() |
||||
player2.vctr[1]=0 |
||||
player2.vctr[2]=0 |
||||
if btn(2) then |
||||
if player2.y-1>player.min_y then |
||||
player2.vctr[1]=0 |
||||
player2.vctr[2]=-1 |
||||
end |
||||
end |
||||
if btn(3) then |
||||
if player2.y+1<player.max_y then |
||||
player2.vctr[1]=0 |
||||
player2.vctr[2]=1 |
||||
end |
||||
end |
||||
end |
||||
|
||||
function ball.update() |
||||
ball.x += ball.vctr[1] |
||||
ball.y += ball.vctr[2] |
||||
end |
||||
|
||||
function ball.throw(direction) |
||||
if direction == "left" then |
||||
ball.vctr[1] = -ball.speed |
||||
ball.vctr[2] = 0 |
||||
elseif direction == "right" then |
||||
ball.vctr[1] = ball.speed |
||||
ball.vctr[2] = 0 |
||||
else |
||||
if ball.vctr[1] == 0 then |
||||
if ball.vctr[2] == 0 then |
||||
ball.vctr[1] = ball.speed |
||||
ball.vctr[2] = 0 |
||||
end |
||||
end |
||||
end |
||||
end |
||||
|
||||
function scene.reset() |
||||
ball.x = 64 |
||||
ball.y = 64 |
||||
ball.vctr = {0,0} |
||||
player1.x = 3 |
||||
player1.y = 64-player.h/2 |
||||
player1.vctr = {0,0} |
||||
player2.x = 124-player.w |
||||
player2.y = 64-player.h/2 |
||||
player2.vctr = {0,0} |
||||
end |
||||
|
||||
function scene.score() |
||||
if ball.x <= 2+ball.r then |
||||
player2.score += 1 |
||||
scene.reset() |
||||
ball.throw("right") |
||||
end |
||||
if ball.x >= 125-ball.r then |
||||
player1.score += 1 |
||||
scene.reset() |
||||
ball.throw("left") |
||||
end |
||||
end |
||||
|
||||
function scene.collision() |
||||
-- down wall collision |
||||
if ball.y >= 125-ball.r then |
||||
ball.vctr[2]=-ball.vctr[2] |
||||
end |
||||
-- up wall collision |
||||
if ball.y <= 2+ball.r then |
||||
ball.vctr[2]=-ball.vctr[2] |
||||
end |
||||
-- player1 collision |
||||
if ball.x==2+player.w+ball.r then |
||||
if ball.y>=player1.y then |
||||
if ball.y<=player1.y+player.h then |
||||
ball.vctr[1]*=-1 |
||||
if player1.vctr[2] > 0 then |
||||
ball.vctr[2]+=rnd(abs(player1.vctr[2])) |
||||
else |
||||
ball.vctr[2]-=rnd(abs(player1.vctr[2])) |
||||
end |
||||
end |
||||
end |
||||
end |
||||
-- player2 collision |
||||
if ball.x==125-player.w-ball.r then |
||||
if ball.y>=player2.y then |
||||
if ball.y<=player2.y+player.h then |
||||
ball.vctr[1]*=-1 |
||||
if player2.vctr[2] > 0 then |
||||
ball.vctr[2]+=rnd(abs(player2.vctr[2])) |
||||
else |
||||
ball.vctr[2]-=rnd(abs(player2.vctr[2])) |
||||
end |
||||
end |
||||
end |
||||
end |
||||
end |
||||
|
||||
function _update60() |
||||
player1.mvmt() |
||||
player1.update() |
||||
player2.mvmt() |
||||
player2.update() |
||||
scene.score() |
||||
scene.collision() |
||||
ball.throw() |
||||
ball.update() |
||||
end |
||||
|
||||
function scene.draw() |
||||
-- borders |
||||
rectfill(0,0,127,1,scene.clr) |
||||
rectfill(0,0,1,127,scene.clr) |
||||
rectfill(0,126,127,127, |
||||
scene.clr) |
||||
rectfill(126,0,127,127, |
||||
scene.clr) |
||||
-- score |
||||
score1=""..player1.score |
||||
score2=""..player2.score |
||||
print(score1, 32-#score1*2, 5, |
||||
scene.clr) |
||||
print(score2, 96-#score2*2, 5, |
||||
scene.clr) |
||||
|
||||
-- middle line (good enough) |
||||
for i=0,16 do |
||||
if i%2 == 0 then |
||||
rectfill(64,4+i*8,65,i*8+12, |
||||
scene.clr) |
||||
end |
||||
end |
||||
end |
||||
|
||||
function player.draw(p) |
||||
rectfill( |
||||
p.x, |
||||
p.y, |
||||
p.x+player.w, |
||||
p.y+player.h, |
||||
player.clr |
||||
) |
||||
end |
||||
|
||||
function ball.draw(b) |
||||
circfill(b.x,b.y,b.r,b.clr) |
||||
end |
||||
|
||||
function _draw() |
||||
cls() |
||||
scene.draw() |
||||
player.draw(player1) |
||||
player.draw(player2) |
||||
ball.draw(ball) |
||||
end |
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 9.1 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,13 @@ |
||||
# [1.1.0](https://code.eutychia.org/kay/pico-8/compare/v1.0.0...v1.1.0) (2022-06-26) |
||||
|
||||
|
||||
### Features |
||||
|
||||
* Update readme ([efb2815](https://code.eutychia.org/kay/pico-8/commit/efb2815639c729597fa46efd02a40c6dd4cc4fd2)) |
||||
|
||||
# 1.0.0 (2022-06-26) |
||||
|
||||
|
||||
### Features |
||||
|
||||
* Add semantic release ([63c3bb7](https://code.eutychia.org/kay/pico-8/commit/63c3bb74621cf425a6aa9fc952121cd43f45281a)) |
@ -0,0 +1,459 @@ |
||||
Attribution-NonCommercial-ShareAlike 4.0 International AntiFascistEdit |
||||
|
||||
======================================================================= |
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and |
||||
does not provide legal services or legal advice. Distribution of |
||||
Creative Commons public licenses does not create a lawyer-client or |
||||
other relationship. Creative Commons makes its licenses and related |
||||
information available on an "as-is" basis. Creative Commons gives no |
||||
warranties regarding its licenses, any material licensed under their |
||||
terms and conditions, or any related information. Creative Commons |
||||
disclaims all liability for damages resulting from their use to the |
||||
fullest extent possible. |
||||
|
||||
Using Creative Commons Public Licenses |
||||
|
||||
Creative Commons public licenses provide a standard set of terms and |
||||
conditions that creators and other rights holders may use to share |
||||
original works of authorship and other material subject to copyright |
||||
and certain other rights specified in the public license below. The |
||||
following considerations are for informational purposes only, are not |
||||
exhaustive, and do not form part of our licenses. |
||||
|
||||
Considerations for licensors: Our public licenses are |
||||
intended for use by those authorized to give the public |
||||
permission to use material in ways otherwise restricted by |
||||
copyright and certain other rights. Our licenses are |
||||
irrevocable. Licensors should read and understand the terms |
||||
and conditions of the license they choose before applying it. |
||||
Licensors should also secure all rights necessary before |
||||
applying our licenses so that the public can reuse the |
||||
material as expected. Licensors should clearly mark any |
||||
material not subject to the license. This includes other CC- |
||||
licensed material, or material used under an exception or |
||||
limitation to copyright. More considerations for licensors: |
||||
wiki.creativecommons.org/Considerations_for_licensors |
||||
|
||||
Considerations for the public: By using one of our public |
||||
licenses, a licensor grants the public permission to use the |
||||
licensed material under specified terms and conditions. If |
||||
the licensor's permission is not necessary for any reason--for |
||||
example, because of any applicable exception or limitation to |
||||
copyright--then that use is not regulated by the license. Our |
||||
licenses grant only permissions under copyright and certain |
||||
other rights that a licensor has authority to grant. Use of |
||||
the licensed material may still be restricted for other |
||||
reasons, including because others have copyright or other |
||||
rights in the material. A licensor may make special requests, |
||||
such as asking that all changes be marked or described. |
||||
Although not required by our licenses, you are encouraged to |
||||
respect those requests where reasonable. More considerations |
||||
for the public: |
||||
wiki.creativecommons.org/Considerations_for_licensees |
||||
|
||||
======================================================================= |
||||
|
||||
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International |
||||
Public License |
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree |
||||
to be bound by the terms and conditions of this Creative Commons |
||||
Attribution-NonCommercial-ShareAlike 4.0 International Public License |
||||
("Public License"). To the extent this Public License may be |
||||
interpreted as a contract, You are granted the Licensed Rights in |
||||
consideration of Your acceptance of these terms and conditions, and the |
||||
Licensor grants You such rights in consideration of benefits the |
||||
Licensor receives from making the Licensed Material available under |
||||
these terms and conditions. |
||||
|
||||
|
||||
Section 1 -- Definitions. |
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar |
||||
Rights that is derived from or based upon the Licensed Material |
||||
and in which the Licensed Material is translated, altered, |
||||
arranged, transformed, or otherwise modified in a manner requiring |
||||
permission under the Copyright and Similar Rights held by the |
||||
Licensor. For purposes of this Public License, where the Licensed |
||||
Material is a musical work, performance, or sound recording, |
||||
Adapted Material is always produced where the Licensed Material is |
||||
synched in timed relation with a moving image. |
||||
|
||||
b. Adapter's License means the license You apply to Your Copyright |
||||
and Similar Rights in Your contributions to Adapted Material in |
||||
accordance with the terms and conditions of this Public License. |
||||
|
||||
c. BY-NC-SA Compatible License means a license listed at |
||||
creativecommons.org/compatiblelicenses, approved by Creative |
||||
Commons as essentially the equivalent of this Public License. |
||||
|
||||
d. Copyright and Similar Rights means copyright and/or similar rights |
||||
closely related to copyright including, without limitation, |
||||
performance, broadcast, sound recording, and Sui Generis Database |
||||
Rights, without regard to how the rights are labeled or |
||||
categorized. For purposes of this Public License, the rights |
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar |
||||
Rights. |
||||
|
||||
e. Effective Technological Measures means those measures that, in the |
||||
absence of proper authority, may not be circumvented under laws |
||||
fulfilling obligations under Article 11 of the WIPO Copyright |
||||
Treaty adopted on December 20, 1996, and/or similar international |
||||
agreements. |
||||
|
||||
f. Exceptions and Limitations means fair use, fair dealing, and/or |
||||
any other exception or limitation to Copyright and Similar Rights |
||||
that applies to Your use of the Licensed Material. |
||||
|
||||
g. License Elements means the license attributes listed in the name |
||||
of a Creative Commons Public License. The License Elements of this |
||||
Public License are Attribution, NonCommercial, and ShareAlike. |
||||
|
||||
h. Licensed Material means the artistic or literary work, database, |
||||
or other material to which the Licensor applied this Public |
||||
License. |
||||
|
||||
i. Licensed Rights means the rights granted to You subject to the |
||||
terms and conditions of this Public License, which are limited to |
||||
all Copyright and Similar Rights that apply to Your use of the |
||||
Licensed Material and that the Licensor has authority to license. |
||||
|
||||
j. Licensor means the individual(s) or entity(ies) granting rights |
||||
under this Public License. |
||||
|
||||
k. NonCommercial means not primarily intended for or directed towards |
||||
commercial advantage or monetary compensation. For purposes of |
||||
this Public License, the exchange of the Licensed Material for |
||||
other material subject to Copyright and Similar Rights by digital |
||||
file-sharing or similar means is NonCommercial provided there is |
||||
no payment of monetary compensation in connection with the |
||||
exchange. |
||||
|
||||
l. Share means to provide material to the public by any means or |
||||
process that requires permission under the Licensed Rights, such |
||||
as reproduction, public display, public performance, distribution, |
||||
dissemination, communication, or importation, and to make material |
||||
available to the public including in ways that members of the |
||||
public may access the material from a place and at a time |
||||
individually chosen by them. |
||||
|
||||
m. Sui Generis Database Rights means rights other than copyright |
||||
resulting from Directive 96/9/EC of the European Parliament and of |
||||
the Council of 11 March 1996 on the legal protection of databases, |
||||
as amended and/or succeeded, as well as other essentially |
||||
equivalent rights anywhere in the world. |
||||
|
||||
n. You means the individual or entity exercising the Licensed Rights |
||||
under this Public License. Your has a corresponding meaning. |
||||
|
||||
|
||||
Section 2 -- Scope. |
||||
|
||||
a. License grant. |
||||
|
||||
1. Subject to the terms and conditions of this Public License, |
||||
the Licensor hereby grants You a worldwide, royalty-free, |
||||
non-sublicensable, non-exclusive, irrevocable license to |
||||
exercise the Licensed Rights in the Licensed Material to: |
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or |
||||
in part, for NonCommercial purposes only; and |
||||
|
||||
b. produce, reproduce, and Share Adapted Material for |
||||
NonCommercial purposes only. |
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where |
||||
Exceptions and Limitations apply to Your use, this Public |
||||
License does not apply, and You do not need to comply with |
||||
its terms and conditions. |
||||
|
||||
3. Term. The term of this Public License is specified in Section |
||||
6(a). |
||||
|
||||
4. Media and formats; technical modifications allowed. The |
||||
Licensor authorizes You to exercise the Licensed Rights in |
||||
all media and formats whether now known or hereafter created, |
||||
and to make technical modifications necessary to do so. The |
||||
Licensor waives and/or agrees not to assert any right or |
||||
authority to forbid You from making technical modifications |
||||
necessary to exercise the Licensed Rights, including |
||||
technical modifications necessary to circumvent Effective |
||||
Technological Measures. For purposes of this Public License, |
||||
simply making modifications authorized by this Section 2(a) |
||||
(4) never produces Adapted Material. |
||||
|
||||
5. Downstream recipients. |
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every |
||||
recipient of the Licensed Material automatically |
||||
receives an offer from the Licensor to exercise the |
||||
Licensed Rights under the terms and conditions of this |
||||
Public License. |
||||
|
||||
b. Additional offer from the Licensor -- Adapted Material. |
||||
Every recipient of Adapted Material from You |
||||
automatically receives an offer from the Licensor to |
||||
exercise the Licensed Rights in the Adapted Material |
||||
under the conditions of the Adapter's License You apply. |
||||
|
||||
c. No downstream restrictions. You may not offer or impose |
||||
any additional or different terms or conditions on, or |
||||
apply any Effective Technological Measures to, the |
||||
Licensed Material if doing so restricts exercise of the |
||||
Licensed Rights by any recipient of the Licensed |
||||
Material. |
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or |
||||
may be construed as permission to assert or imply that You |
||||
are, or that Your use of the Licensed Material is, connected |
||||
with, or sponsored, endorsed, or granted official status by, |
||||
the Licensor or others designated to receive attribution as |
||||
provided in Section 3(a)(1)(A)(i). |
||||
|
||||
b. Other rights. |
||||
|
||||
1. Moral rights, such as the right of integrity, are not |
||||
licensed under this Public License, nor are publicity, |
||||
privacy, and/or other similar personality rights; however, to |
||||
the extent possible, the Licensor waives and/or agrees not to |
||||
assert any such rights held by the Licensor to the limited |
||||
extent necessary to allow You to exercise the Licensed |
||||
Rights, but not otherwise. |
||||
|
||||
2. Patent and trademark rights are not licensed under this |
||||
Public License. |
||||
|
||||
3. To the extent possible, the Licensor waives any right to |
||||
collect royalties from You for the exercise of the Licensed |
||||
Rights, whether directly or through a collecting society |
||||
under any voluntary or waivable statutory or compulsory |
||||
licensing scheme. In all other cases the Licensor expressly |
||||
reserves any right to collect such royalties, including when |
||||
the Licensed Material is used other than for NonCommercial |
||||
purposes. |
||||
|
||||
|
||||
Section 3 -- License Conditions. |
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the |
||||
following conditions. |
||||
|
||||
a. Attribution. |
||||
|
||||
1. If You Share the Licensed Material (including in modified |
||||
form), You must: |
||||
|
||||
a. retain the following if it is supplied by the Licensor |
||||
with the Licensed Material: |
||||
|
||||
i. identification of the creator(s) of the Licensed |
||||
Material and any others designated to receive |
||||
attribution, in any reasonable manner requested by |
||||
the Licensor (including by pseudonym if |
||||
designated); |
||||
|
||||
ii. a copyright notice; |
||||
|
||||
iii. a notice that refers to this Public License; |
||||
|
||||
iv. a notice that refers to the disclaimer of |
||||
warranties; |
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the |
||||
extent reasonably practicable; |
||||
|
||||
b. indicate if You modified the Licensed Material and |
||||
retain an indication of any previous modifications; and |
||||
|
||||
c. indicate the Licensed Material is licensed under this |
||||
Public License, and include the text of, or the URI or |
||||
hyperlink to, this Public License. |
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any |
||||
reasonable manner based on the medium, means, and context in |
||||
which You Share the Licensed Material. For example, it may be |
||||
reasonable to satisfy the conditions by providing a URI or |
||||
hyperlink to a resource that includes the required |
||||
information. |
||||
3. If requested by the Licensor, You must remove any of the |
||||
information required by Section 3(a)(1)(A) to the extent |
||||
reasonably practicable. |
||||
|
||||
b. ShareAlike. |
||||
|
||||
In addition to the conditions in Section 3(a), if You Share |
||||
Adapted Material You produce, the following conditions also apply. |
||||
|
||||
1. The Adapter's License You apply must be a Creative Commons |
||||
license with the same License Elements, this version or |
||||
later, or a BY-NC-SA Compatible License. |
||||
|
||||
2. You must include the text of, or the URI or hyperlink to, the |
||||
Adapter's License You apply. You may satisfy this condition |
||||
in any reasonable manner based on the medium, means, and |
||||
context in which You Share Adapted Material. |
||||
|
||||
3. You may not offer or impose any additional or different terms |
||||
or conditions on, or apply any Effective Technological |
||||
Measures to, Adapted Material that restrict exercise of the |
||||
rights granted under the Adapter's License You apply. |
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights. |
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that |
||||
apply to Your use of the Licensed Material: |
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right |
||||
to extract, reuse, reproduce, and Share all or a substantial |
||||
portion of the contents of the database for NonCommercial purposes |
||||
only; |
||||
|
||||
b. if You include all or a substantial portion of the database |
||||
contents in a database in which You have Sui Generis Database |
||||
Rights, then the database in which You have Sui Generis Database |
||||
Rights (but not its individual contents) is Adapted Material, |
||||
including for purposes of Section 3(b); and |
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share |
||||
all or a substantial portion of the contents of the database. |
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not |
||||
replace Your obligations under this Public License where the Licensed |
||||
Rights include other Copyright and Similar Rights. |
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability. |
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE |
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS |
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF |
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, |
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, |
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR |
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, |
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT |
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT |
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. |
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE |
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, |
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, |
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, |
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR |
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN |
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR |
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR |
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. |
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided |
||||
above shall be interpreted in a manner that, to the extent |
||||
possible, most closely approximates an absolute disclaimer and |
||||
waiver of all liability. |
||||
|
||||
|
||||
Section 6 -- Term and Termination. |
||||
|
||||
a. This Public License applies for the term of the Copyright and |
||||