Skip to main content

Yoann Berenguer - alpha

Cobra is a 2D space game with vertical scrolling (also called shmups), written exclusively in python 3.6 and playable with PS3 controller and keyboard. A demo installer is available at https://github.com/yoyoberenguer/Cobra. The project is under active development (no GUI available right now), but the coding is going pretty smoothly and I hope to deliver a solid engine within a few months with a couple playable levels. Please check the screen dumps to check the quality of the sprite and if you are intrigued by this project, don’t forget to check below for more details and engine capabilities.


Berenguer
(Yoann)
Works with Keyboard and PS3 controller Automatic player's central turret with pre-define strategy using AI (collision course calculation, and risks triage). Fluid sprite animation made with Timeline FX. Vertical scrolling with parallax background - 3 layers. Personalised HUDS for life and energy (Life and energy levels are generated with Numpy arrays to create variable gradient colours). Real time spaceship status damage monitoring (wings, nose etc.) and the possibility to launch micro-bots to fix hull damages. Nuke explosion generating a halo that blows out enemies and objects in deep space using an elastic collision engine to calculate objects' direction and momentum vectors. Collectables to grab throughout the space battle e.g. (nukes, energy cells, ammunitions and gems) Special effects created with python algorithm to generate random particles for homing missile propulsion, spaceship damage and super weapon effects. Enemy spaceship with pre-defined class and AI strategies (following path e.g. Bezier curves or controlled by AI e.g. evasive manoeuvre). Lots of methods for “pygame” image/surface processing using Numpy arrays (blending colours and texture e.g. superposed images, ADD/SUB transparency) for more realistic effect. Some multi-threading for background processing. Automated sound controller capable of supressing and adding sounds on demand. And a lot of cython.

Changes

Works with Keyboard and PS3 controller Automatic player's central turret with pre-define strategy using AI (collision course calculation, and risks triage). Beautiful sprite animation made with Timeline FX. Vertical scrolling with parallax background - 3 layers. Personalised HUDS for life and energy (Life and energy levels are generated with Numpy arrays to create variable gradient colours). Real time spaceship status damage monitoring (wings, nose etc.) and the possibility to launch micro-bots to fix hull damages. Nuke explosion generating a halo that blows out enemies and objects in deep space using an elastic collision engine to calculate objects' direction and momentum vectors. Collectables to grab throughout the space battle e.g. (nukes, energy cells, ammunitions and gems) Special effects created with python algorithm to generate random particles for homing missile propulsion, spaceship damage and super weapon effects. Enemy spaceship with pre-defined class and AI strategies (following path e.g. Bezier curves or controlled by AI e.g. evasive manoeuvre). Lots of methods for “pygame” image/surface processing using Numpy arrays (blending colours and texture e.g. superposed images, ADD/SUB transparency) for more realistic effect. Some multi-threading for background processing Automated sound controller capable of supressing and adding sounds on demand. And a lot of cython.

Links

Home Page
https://github.com/yoyoberenguer/Cobra
Source
https://github.com/yoyoberenguer/Cobra
Windows
https://github.com/yoyoberenguer/Cobra
Mac
https://github.com/yoyoberenguer/Cobra

Releases

Yoann Berenguer alpha — 26 Apr, 2018

Yoann Berenguer Alpha Demo — 2 May, 2018

Pygame.org account Comments

  • xinmingzhang 2018-05-03 10:26:51.540238

    aha, the screenshot looks quite nice! I also like shoot em up games. I once created a game in pyweek https://github.com/xinmingzhang/Wing_Craft But I really no nothing on cython, I would learn your code :)

    Berenguer 2018-05-04 22:13:11.285810

    Thanks for your comments. Raiden is a great game and a real source of inspiration. All the best
  • Nedomy 2018-05-24 12:31:09.180639

    Well, Raiden it isn't - so far - but otherwise great :-)

    Berenguer 2018-05-25 06:52:40.026477

    :) yes you are right it isn't Raiden ..yet. This is a demo, still working on it from time to time (and exploring other technics). Thanks for your comments very much appreciated.
  • online 2018-06-09 09:28:54.354220

    That the amazing feature to need visit here for the save all connection in computer easily getting the way for use full to code here 0x80072ee7 fix and scan the all system for solve some issue and looking best commend and got the update forever.