Prompt 5.1: Αρχικό prompt για την ανάπτυξη του space shooter
I want to create a 2D space shooter game using the ’engines Python API.
Please create a development plan and break it down into smaller, clear tasks.
Project structure:
− The game should be placed in @assets/scripts inside a new folder named "space_shooter".
Available assets:
− @assets/2D/space/MainShipIdle.png (336x48): ship idle animation (1 row, 6 frames).
− @assets/2D/space/MainShipRL.png (336x48): ship movement animation (left/right) (1 row, 6 frames
).
− @assets/2D/space/bg.png (120x120): background image (single frame).
Game concept:
− The player controls a spaceship positioned at the bottom of the screen.
− The ship can only move horizontally (left and right).
− The background should scroll downward continuously and loop when it reaches the end.
− Enemy ships spawn from the top and move downward.
− The player can shoot bullets to destroy enemies.
Your tasks:
1. Suggest the minimum additional sprites needed for the game.
For each sprite, specify:
− File name
− Resolution (pixels)
− Sprite sheet layout (rows x columns)
− Short description of its purpose
2. Generate a step−by−step implementation plan in Markdown (.md format) that I can follow to build
the game using the engine.
3. Keep the design simple (do not suggest too many assets or overly complex systems).
If anything is unclear, ask me before proceeding.
5.3.3
Αποτελέσματα μετά την χρήση του Claude 3.5 Sonnet
Στο πρώτο πείραμα, με τη χρήση του μοντέλου Claude 3.5 Sonnet, το αποτέλεσμα του αρ-
χικού prompt ήταν η δημιουργία μιας καλά οργανωμένης δομής αρχείων και κλάσεων. Η πα-
ραγόμενη εφαρμογή (εκτελέσιμο αρχείο) περιλάμβανε τα ακόλουθα χαρακτηριστικά:
1. Ένα λειτουργικό παράθυρο εφαρμογής (application window).
2. Ορθή διαχείριση της αλληλεπίδρασης μεταξύ πληκτρολογίου και εφαρμογής (keyboard
interaction handling).
3. Ορθή αξιοποίηση των παρεχόμενων συστημάτων της μηχανής παιχνιδιών.
Πιο συγκεκριμένα, η εφαρμογή περιλάμβανε ένα αρχικό μενού, μέσω του οποίου ο χρήστης
μπορούσε να μεταβεί στο κύριο παιχνίδι επιλέγοντας το κουμπί “Start”. Στο κύριο περιβάλλον
64