Naaami/my game storyline: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 2: Line 2:
==The story line==
==The story line==


- I Imagine.
- A main concept of my game is "A peaceful city has been dominated by ads in the swirl of capitalism.<br>A ball as a residence in the city has to save other ball friends captured in the ads.
[[File:Ball.png|thumb]]
[[File:Ball.png|thumb]]



Revision as of 10:46, 7 April 2021

TITLE: SAVIOR

The story line

- A main concept of my game is "A peaceful city has been dominated by ads in the swirl of capitalism.
A ball as a residence in the city has to save other ball friends captured in the ads.

Ball.png

- Break the barriers btw art and everyday life (situation), like John Cage idea So artistic commodity -> Record of the event (documentary) => Anticapitalist idea also Photography also became important : art and life (situation)

- Psychogeography inspired by Baudelaire. The dérive(drift) is psychogeographical concept originally put forward in 1956 by Guy Debord's "Theory of the dérive". Debord defines the dérive as a "mode of experimental behaviour linked to the conditions of the society: a technique of rapid passage through varied ambiances". The dérive refers to an unplanned exploration of the urban space, where the terrain, impressions and attractions of the city dictate the route. It may be undertaken alone, but it was more frequently than not done in groups. The goal of the dérive was to study the city, map its affects and manipulations, and counter the predictable, monotonous and overly functional urban design of advanced capitalism. The dérive is 'simultaneously a means of study of and a game in the urban milieu.'

=> For the same itinerary, each person experiences different dérive. [https://salvage.zone/in-print/salvaging-situationism-race-and-space/ Salvaging Situationism: Race and Space

The Situationist International A Critical Handbook

annotation on "Gender and Sexuality in the Situationist International" by Ruth Baumeister with naminami

pad

representation of female body in mass media (as a tool in capitalistic society)

- representation of stereotyped lifestyle

- manipulating the human desire

- "PLAY" as a solution to find our authentic desire (creating and realising the desire / training tool...)



Dérive, Racism and Sexism

- The COVID-19 pandemic brought a wave of violent racism against Asian communities all over the world. Discuss how the good immigrant image perpetuates the colonial strategy to divide and conquer – and the need for solidarity among migrant communities. Anti-Asian Racism, the Model Minority Myth and COVID-19

- A man firstly accused for Catcalling in Rotterdam https://www.theguardian.com/world/2019/dec/20/rotterdam-street-harassment-catcall-court-appeal

- A new petition against sexual street harassment was started last week by 19 year old Myrthe van der Houwen and the people utilize a stigmatizing image of the perpetrators; people of color. https://fairspace.co/yes-sexual-street-harassment-is-a-problem-no-thats-not-the-fault-of-black-men/

-"At the time, in the '50s, the people who were buying cameras were mostly Caucasian people," she says. "And so I guess they didn't see the need for the market to expand to a broader range of skin tones." https://www.npr.org/2014/11/13/363517842/for-decades-kodak-s-shirley-cards-set-photography-s-skin-tone-standard?t=1617718771138

Shirley card.jpg

Game and Woman

Everyone can make game movemment


Prototyping

TIC80

fantasy console

inspired by TICO-8, but FREE (all the source possible) no need to buy a license

Tic 80 Basic

- With - -, like * in python

- Line break doesn’t matter in LUA language

Tic80 first

Function TIC()

Cls() : function to make a first back-ground. Number = colour in palette (from 0 and 16==0)

Print : print inside of the game

Trace : print outside of the game = console (trace(bck)하면 밖에 print(bck)

Spr : for 8x8 pixel sprit => spr(spr_num, x, y, 0, 1, 0, 0, 1, 1,) 16x17 pixel => spr(spr_num, x,y,0,1,0,0,2,2)

Playing TIC80 on webpage

HTML Here, when we open flesh game html Canvas ==> import external images or what game

tic_html

need html / js / wasm file With HTML version, tic80 playing in mobile more stable

PHP

Tutorial

TIC80

Tamara TIC-80 Platformer

Wiki API

API

Application Programming Interface. Get info from A (site, app) and export to B

possible to get in query and parse

query : /api.php?action=query&titles=Category:Situationist_Times&format=json

parse : /api.php?action=query&page=Category:Situationist_Times&format=json

Read and Write with API

to read a content;

import urllib
import json

request = urllib.request.urlopen(url).read()
data = json.loads(request)

data

to write a content;

test = "hello"
out = open('test.html', 'w')
out.write(test)
out.close()

#or for writing an exported html content

data = html
out = open('test.html', 'w')
out.write(html)
out.close()

In json form, possible to choose a specific result with []

# data result : {'parse': {'title': ......
data = html[parse][title] #gives only the title value

https://hub.xpub.nl/sandbot/~eunalee/__lab__/files/SI14/prototyping-times/test.html?_xsrf=2%7C27919bc0%7Ce04c1b9276a52acf4d0c8e6384264ed4%7C1610634314

imagenet1
imagenet2

BeautifulSoup

Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers hours or days of work.

#basic structure

import requests
from bs4 import BeautifulSoup

url = "http://books.toscrape.com/index.html"
response = requests.get(url)
html = response.content
scraped = BeautifulSoup(html, 'html.parser')

For example, scrapping the title,

scraped.title 
scraped.find("title")
#real, take <title>...</title>

scraped.title.text 
#take 'text' part, '...' of above

#exceptionally,  we could have '\n ...\n\' => scraped.title.text.strip()

Scrapping images,

images = scraped.find_all("img")
#or more specifically,
images = scraped.find_all("article", class_="product")
#or with class(".") or id("#")
imamges = scraped.select(".product")


#images could be multiple results, as a list => need a loop!
images = scraped.find_all("img")

image_srcs=[]

for image in images:
    image_src=image['src']
    image_srcs.append(image_src)
    
image_srcs