Python Forum
how to create video game mission chart?[SOLVED]
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to create video game mission chart?[SOLVED]
#1
sorry for my bad English,
if you would like to know what [video game mission chart] is, look this page:
GTA San Andreas Mission Chart
i like to create something like that,
but i don't know what package to use,
the file result is PDF,JPG, HTML, Excel Spreadsheet, or any common file

this is sample data i got from fandom.com for cyberpunk 2077 game in CSV format:
Output:
The Nomad The Rescue The Streetkid The Rescue The Corpo-Rat The Rescue Practice Makes Perfect The Rescue The Rescue The Ripperdoc The Rescue The Gig The Rescue The Gift The Nomad Practice Makes Perfect The Streetkid Practice Makes Perfect The Corpo-Rat Practice Makes Perfect The Ripperdoc The Ride The Ripperdoc Psycho Killer The Ripperdoc Paid In Full Love Like Fire The Gig The Ride The Information The Ride The Pickup The Ripperdoc Paid in Full
please tell me what package I must use.
thank you for reading, have a nice day
Reply
#2
after i research, i get what i aim
#the data created by other py, this only show how to produce graph
from graphviz import Digraph
import sqlite3

f = Digraph('neato', format='png', encoding='utf8', filename='cp2077', node_attr={'color': 'lightblue2', 'style': 'filled'})
f.attr('node', shape='box')

con = sqlite3.connect("CB2077.db")
cur = con.cursor()
cur.execute("CREATE TABLE IF NOT EXISTS TbFlow   (PreviousQuest TEXT, NextQuest TEXT)")
command = "SELECT * FROM TbFlow"
results = cur.execute(command).fetchall()
for result in results:
    print(result)
    f.edge(result[0], result[1], label='')
f.view()
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Create Excel Line Chart Programmatically dee 3 1,336 Dec-30-2022, 08:44 PM
Last Post: dee
  Trying to create a visual rock paper scissors game urmom33 1 1,190 Dec-03-2022, 09:12 PM
Last Post: deanhystad
  [Solved by deanhystad] Create a zip file using zipfile library DZ_Galaxy 2 1,379 Aug-17-2022, 04:57 PM
Last Post: DZ_Galaxy
  A text-based game [SOLVED] Gameri1 6 4,176 Apr-20-2021, 02:26 PM
Last Post: buran
  Python Matplotlib: Create chart for every 4 columns in Excel file JaneTan 2 2,922 Feb-28-2021, 05:02 AM
Last Post: JaneTan
  how do i create average of 1000 frames per second from video with yolo Rupen_gurung 0 1,564 Jul-20-2019, 01:55 AM
Last Post: Rupen_gurung
  Help Needed. Sending keystroke to video game Linkin12 1 2,398 Mar-03-2019, 05:54 PM
Last Post: Linkin12
  Ho to create a bar chart with two specific columns? Jack_Sparrow 1 2,468 Jun-24-2018, 06:16 PM
Last Post: Grok_It

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020