![]() ![]() It's actually just a scene manager class which allows you to switch between the different scenes/states of the game. If you want to make more complex scenes/states, I recommend to use a finite state machine like this. (text_surface, (WIDTH / 2, HEIGHT * 7 / 8)) Text_surface = FONT.render("Press space bar to play again", True, WHITE) while g.running: g.new () g.showgoscreen () In the showgoscreen method, blit the background image and the text. Then the showgoscreen method of the game instance g is called in the outermost while loop. If space is pressed, you can just return from this show_go_screen method and the outer while loop calls g.new() what resets the game. If the player or the enemy have less than zero health, set aying False which stops the game's while loop. If the user quits, you set nning to False so that the outer while loop will stop as well, because its condition is while g.running. In the show_go_screen method, blit the background image and the text (I created the BACKGROUND_IMG and the FONT object globally), flip the display and start another while loop with an event loop in which you check if the user wants to quit or continue. Then the show_go_screen method of the game instance g is called in the outermost while loop. If the player or the enemy have less than zero health, set aying = False which stops the game's while loop. Self.draw_text("Press any key to play again", 22, WHITE, WIDTH / 2, HEIGHT * 7 / 8) Self.draw_text("Press space bar to play again", 22, WHITE, WIDTH / 2, HEIGHT * 7 / 8) Here are the show_go_screen() and the show_winning() methods def show_go_screen(self):īg = pg.image.load("GAMEOVERslimeCOVERAGE.png") If someone can tell me how to best modify my code to get the desired result. I have included the code for my player shield below (which determine when there is a GAME OVER/YOUWIN event) I have also included the methods for the show_go_screen (which is for GAME OVER) and the code for show_winning() method (which is for the YOU WIN screen). However once you have gone to the YOU WIN screen and back to the game you cannot go to the YOU WIN screen again. I rigged this show winning function by setting your health back to normal when going back to the game. I tried to just duplicate the method for the show_go_screen into my show_winning() function for the other screen. When this happens use the original EXE to play online, else you could find yourself banned from the game When using Fixed Files make sure to use a Firewall which controls outgoing traffic, as some games call back to report the. This GAME OVER screen is executed with the show_go_screen. Some No-CD/Fixed EXE files work fine in Single Player mode but are detected to be modified when trying to play online. Our game, Daydream: Forgotten Sorrow, will be released on May 24th, marking the culmination of four years of hard work. I'l going to have to recommend it for anyone who likes old school 2d platformer or Shoot Em Up style games.I have a GAME OVER screen that is functioning when your health is depleted. Despite the difficulty, (which I count as a plus for any game) this game is an awesome play, and I'm proud to have it in my collection of 2D games. You could tell that a lot of heart went into the making of this game. I really appreciate a game that makes me earn all that it has to show me. ![]() You work so hard making a game, and the player blasts through it like it's nothing, and what took you maybe a year or longer to make gets beaten in a few short hours. People don't make games challenging anymore. Some folks don't like this, but that's because they have been emasculated by playing unchallenging games. The low rate of fire make it hard to take on large groups of bad guys. The game is very challenging, particularly on the platforming levels. ![]() The retro style was adhered to, and fans of old cartridge games should appreciate this. Music is like space opera, but done in a MOD or XM format, as was done back in the old days. The alien worlds are very detailed, and the aliens are unique and creative. There are elements of Shoot Em Up style spaceship combat, as well as side scrolling platform action. All that said, I am really enjoying this game. There are some adult themed jokes, and the artwork is a bit on the grown-up side. The plot involves a female hero who has to get revenge against a space prince. Ultionus is a colorful 2D platformer made in the style of Super Nintendo. Ultionus is a colorful 2D Although I have not yet finished the game, I wanted to get a review out, because I haven't seen any yet. Although I have not yet finished the game, I wanted to get a review out, because I haven't seen any yet.
0 Comments
Leave a Reply. |