Death Star vs Asteroids
Death Star vs Asteroids
PureBasic Interface to OpenCV
PureBasic Interface to WinDivert
PureBasic Interface to WinRAR
PureBasic Interface to 7-Zip
PureBasic Interface to ImDisk
Windows Services & Other Stuff
Invading Space Aliens
Death Star vs Asteroids
GIF Toolkit
LSB Image Steganography
Spider Web Drawing
Deform Image: MLS
Video Snipping Tool
Chromium WebGadget
IAccessible Interface
Stitch Images: SIFT
OldSkool Fire Effect
Image Waves: LUT
YouTube Player & Downloader
MP4 Player & Downloader
Large Image Viewer
Barcode Generator
Google Translate Service
Embed JS into PureBasic
Geolocation: Google Maps
Book & Viewer & Magnify
Video for Windows: VfW
Alternate Console
Network Share Management
PureBasic Interface to WinDivert
PureBasic Interface to WinRAR
PureBasic Interface to 7-Zip
PureBasic Interface to ImDisk
Windows Services & Other Stuff
Invading Space Aliens
Death Star vs Asteroids
GIF Toolkit
LSB Image Steganography
Spider Web Drawing
Deform Image: MLS
Video Snipping Tool
Chromium WebGadget
IAccessible Interface
Stitch Images: SIFT
OldSkool Fire Effect
Image Waves: LUT
YouTube Player & Downloader
MP4 Player & Downloader
Large Image Viewer
Barcode Generator
Google Translate Service
Embed JS into PureBasic
Geolocation: Google Maps
Book & Viewer & Magnify
Video for Windows: VfW
Alternate Console
Network Share Management
Last edited by JHPJHP on Thu Jun 22, 2023 3:57 pm, edited 59 times in total.
Re: Death Star Vs Asteroids
Hi fellow forum members,
This is another retro-style game developed in boredom, still unfinished, but playable.
The first level is slow, designed to get the player used to the controls, but the subsequent levels quickly get crazy.
Minimum work required to complete the game include an opening and ending screen, the ability to pause, ...
Hope you enjoy
NB*: Applied minor updates to Invading Space Aliens.
This is another retro-style game developed in boredom, still unfinished, but playable.
The first level is slow, designed to get the player used to the controls, but the subsequent levels quickly get crazy.
Minimum work required to complete the game include an opening and ending screen, the ability to pause, ...
Hope you enjoy
NB*: Applied minor updates to Invading Space Aliens.
Last edited by JHPJHP on Sun Mar 20, 2022 6:11 am, edited 1 time in total.
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Death Star Vs Asteroids
oh oh "but the subsequent levels quickly get crazy" - I struggled with the 'fast' speed of Invading Space Aliens.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Death Star Vs Asteroids
Hi IdeasVacuum,
While I was creating the game, I played it so much that I am now able to reach level 10; I was finally better then my younger brother at a video game
-------------------------------------------------------------
Updated:
- added the ability to pause the game
- switched out a couple images
- optimized and improved parts of the code
- squashed some bugs
I heard the same critique from a few family members this weekend...IdeasVacuum wrote:I struggled with the 'fast' speed of Invading Space Aliens.
While I was creating the game, I played it so much that I am now able to reach level 10; I was finally better then my younger brother at a video game
-------------------------------------------------------------
Updated:
- added the ability to pause the game
- switched out a couple images
- optimized and improved parts of the code
- squashed some bugs
Re: Death Star Vs Asteroids
Updated:
- revised game play, reducing chaos
- added a new transition effect between levels
- applied some minor improvements
CONTROLS
- Left | Right Arrow Keys: Rotate Death Star
- Spacebar: Shoot Asteroids / Unpause Game
- Enter Key: Pause Game / Unpause Game
NB*: The game will auto-pause if the window loses focus.
- revised game play, reducing chaos
- added a new transition effect between levels
- applied some minor improvements
CONTROLS
- Left | Right Arrow Keys: Rotate Death Star
- Spacebar: Shoot Asteroids / Unpause Game
- Enter Key: Pause Game / Unpause Game
NB*: The game will auto-pause if the window loses focus.
Last edited by JHPJHP on Fri Oct 27, 2017 12:04 pm, edited 1 time in total.
- Kwai chang caine
- Always Here
- Posts: 5342
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Death Star Vs Asteroids
Hello JHPJHP
I don't understand, i run your code and nothing is happened
Perhaps my configuration ? W7 X86 v5.61 X86
I don't understand, i run your code and nothing is happened
Perhaps my configuration ? W7 X86 v5.61 X86
The happiness is a road...
Not a destination
Not a destination
Re: Death Star Vs Asteroids
Hi Kwai chang caine,
Thank you for trying the code and reporting the problem.
I have narrowed it down to the Function RegisterFontFile...
... For the tests I have performed, if Microsoft Word was running before the font file was registered, the program would "freeze" at command-line 41.
- closing Word released the process and allowed the program to continue
Test Environment:
- Windows 10 64 bit
- PureBasic x32 / x64
- Microsoft Office 2016
NOTE: This is also a problem for Invading Space Aliens.
NB*: There may be other Microsoft products that cause this problem (i.e. Outlook using Word as an email editor).
Thank you for trying the code and reporting the problem.
I have narrowed it down to the Function RegisterFontFile...
... For the tests I have performed, if Microsoft Word was running before the font file was registered, the program would "freeze" at command-line 41.
- closing Word released the process and allowed the program to continue
Test Environment:
- Windows 10 64 bit
- PureBasic x32 / x64
- Microsoft Office 2016
NOTE: This is also a problem for Invading Space Aliens.
NB*: There may be other Microsoft products that cause this problem (i.e. Outlook using Word as an email editor).
Last edited by JHPJHP on Sun Mar 20, 2022 6:11 am, edited 1 time in total.
Re: Death Star Vs Asteroids
@JHPJHP,
Another great game. Thank you for sharing.
Looks great on my PC (Windows 10 x64), even though Office 365 is installed, it works perfectly.
Also looks great on the Mac. There is one problem though:
The DeathStar moves once the arrow button is up.
It moves up the screen vertically when the Left-Arrow button is lifted, down the screen vertically on lifting the Right-Arrow button.
Shots still emanate from the place where the DeathStar should be.
Oh, I should add that the DeathStar returns to its correct position when an arrow key is depressed.
While the arrow key is down the DeathStar rotates....
It is even possible to shoot under these conditions.
Another great game. Thank you for sharing.
Looks great on my PC (Windows 10 x64), even though Office 365 is installed, it works perfectly.
Also looks great on the Mac. There is one problem though:
The DeathStar moves once the arrow button is up.
It moves up the screen vertically when the Left-Arrow button is lifted, down the screen vertically on lifting the Right-Arrow button.
Shots still emanate from the place where the DeathStar should be.
Oh, I should add that the DeathStar returns to its correct position when an arrow key is depressed.
While the arrow key is down the DeathStar rotates....
It is even possible to shoot under these conditions.
DE AA EB
Re: Death Star Vs Asteroids
Hi davido,
Thank you for the positive comments, and for the OSX information.
-------------------------------------------
Updated:
- fixed the OSX problem reported by davido
- worked-around the Windows problem reported by Kwai chang caine
- applied some minor enhancements
NB*: Also updated Invading Space Aliens; better compatibility in OSX, squashed some bugs.
Thank you for the positive comments, and for the OSX information.
-------------------------------------------
Updated:
- fixed the OSX problem reported by davido
- worked-around the Windows problem reported by Kwai chang caine
- applied some minor enhancements
NB*: Also updated Invading Space Aliens; better compatibility in OSX, squashed some bugs.
Last edited by JHPJHP on Sun Mar 20, 2022 6:11 am, edited 1 time in total.
Re: Death Star Vs Asteroids
Hi JHPJHP,
Works perfectly now, thank you.
As a matter of interest, did you actually check this on a Mac or did you just know it would work?
Works perfectly now, thank you.
As a matter of interest, did you actually check this on a Mac or did you just know it would work?
DE AA EB
Re: Death Star Vs Asteroids
Hi davido,
Thank you for letting me know that the fix worked for you.
-------------------------------------------------------------
Updated:
- added an introduction based on code written by DK_PETER
- included the IsIDE() Macro writen by skywalk
- optimized and improved parts of the code
The introduction requires the Engine3D binary. If the file is not included with the compiled source code, the introduction will be skipped, but the game will still play.
NOTES:
- the introduction can be skipped using the Spacebar
- press the Enter Key to start a new game (only after Health = 000)
NB*: 5 asteroid hits after Health = 000 the Death Star explodes, followed by a new sound effect.
Thank you for letting me know that the fix worked for you.
I only did a few tests in OSX, but none in Linux, so it was good to hear that it worked outside of my environment.davido wrote:As a matter of interest, did you actually check this on a Mac or did you just know it would work?
-------------------------------------------------------------
Updated:
- added an introduction based on code written by DK_PETER
- included the IsIDE() Macro writen by skywalk
- optimized and improved parts of the code
The introduction requires the Engine3D binary. If the file is not included with the compiled source code, the introduction will be skipped, but the game will still play.
NOTES:
- the introduction can be skipped using the Spacebar
- press the Enter Key to start a new game (only after Health = 000)
NB*: 5 asteroid hits after Health = 000 the Death Star explodes, followed by a new sound effect.
Last edited by JHPJHP on Sat Jan 06, 2018 6:58 pm, edited 1 time in total.
- Kwai chang caine
- Always Here
- Posts: 5342
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Death Star Vs Asteroids
Waaaoooouuuhhh !!!!
SPLENDID !!! like in the movies
It is my boss who will be content when i say to him "Since I tell you boss, that is programming !!"
Thanks a lot to have modify your code, this time that work very well
I say now "BeatIt" when i see all this asteroid
Thanks a lot JHPJHP for all your amazing sharing codes since all this years !!!
SPLENDID !!! like in the movies
It is my boss who will be content when i say to him "Since I tell you boss, that is programming !!"
Thanks a lot to have modify your code, this time that work very well
I say now "BeatIt" when i see all this asteroid
Thanks a lot JHPJHP for all your amazing sharing codes since all this years !!!
The happiness is a road...
Not a destination
Not a destination
Re: Death Star Vs Asteroids
Hi Kwai chang caine,
I am glad it worked for you.
Thank you for the great post; I really enjoyed the dancing Darth Vader.
The opening "movie" effect is mostly thanks to the code written by DK_PETER.
----------------------------------------------
Applied a small update; modified the sprite layers so that the Energy Pulse, Score Board, etc. are better displayed.
I am glad it worked for you.
Thank you for the great post; I really enjoyed the dancing Darth Vader.
The opening "movie" effect is mostly thanks to the code written by DK_PETER.
----------------------------------------------
Applied a small update; modified the sprite layers so that the Energy Pulse, Score Board, etc. are better displayed.
- Kwai chang caine
- Always Here
- Posts: 5342
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France
Re: Death Star Vs Asteroids
Enormous this effect, DK_Peter and ApplePI is the champion of 3D effect
You and all this magicians of the pixels, are really the best ambassadors of our PB of love
You and all this magicians of the pixels, are really the best ambassadors of our PB of love
The happiness is a road...
Not a destination
Not a destination
Re: Death Star Vs Asteroids
Hi Kwai chang caine,
Thank you again for your kind words.
I agree, this forum has some talented programmers; every day is an education.
-----------------------------------------------
Updated:
- squashed a bug
- modified game play difficulty
- updated the scoreboard Max Bullet
- changed the text in the opening intro
Thank you again for your kind words.
I agree, this forum has some talented programmers; every day is an education.
-----------------------------------------------
Updated:
- squashed a bug
- modified game play difficulty
- updated the scoreboard Max Bullet
- changed the text in the opening intro