[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Help Starting/doing The Main Code
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Help Starting/doing The Main Code
- From: NBarnes <nbarnes@xxxxxxxxx>
- Date: Tue, 23 Sep 2008 09:18:21 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 23 Sep 2008 12:18:28 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=CKvsI1zRzSKjWtYnGaLcnAeln8KIPlKCyVdSP2WiFaw=; b=NN/lzd++CinjFZN7Wqgy4kQ/KBYlPy/YfA8M524DdDt10JjUNwE007sMjsgQlpqGkJ 6oXg5s1WpiNB0vOq/0pNUzc1LGe0O78aBoL9IAQUIatZAg1fmyqRaPl9Pu4zltcul57H 2vgX9fYNCb582ItilX5m0VK1p2MYFJ64FS+9A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=YChZZscc/Kz6nUhkzdtdntXH6JIFbCiBITZYcfIJXlnqC1pifJdBe8yGn2bmQtIfXf Q8VLcn4FxCFQ3Hcy1GKUsDLiVDs7lBLOuXUbZ8/77rfJu9oF36c0Wq4Wh4S4zal/2+aY i85ohXildvki5mrroiF1Q7GLp0spnt8vO9Dps=
- In-reply-to: <BAY113-W4912E6A6C5C28BE8515FFBA4B0@xxxxxxx>
- References: <BAY113-W4912E6A6C5C28BE8515FFBA4B0@xxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Guilherme Seilá <ein@xxxxxxx>:
> Just a player that has animation frames, can jump, walk, shoot a
> projectil... I need enemies that are static and dynamic too, and if not too
> hard, that can shoot at you.
> Also, a demo would be good to learn from...
Well, as an abstract matter, while there is a big difference between
projectiles and enemies from the player's perspective, they are really
very similar things on an abstract level. They are graphic objects
that moves (or don't) and when they touch the player, the player takes
damage. Player projectiles would operate in the same way. So
theoretically, any platform game that has collision detection leading
to mobile object interactions (damage dealing or whatever) could have
a range of projectiles added to it fairly straightforwardly.