God Of War Game Over Screen

0 views
Skip to first unread message

Percival Blanco

unread,
Aug 4, 2024, 5:34:06 PM8/4/24
to kucabadi
Basicallyi am trying to implement a game over screen (and a pause screen, etc later on). I am going about doing this at the moment just by re-drawing the screen with a string saying game over and im not using any textures for the game over screen.

Also im having difficulty with getting the keyboard input, so when it does say game over, i want it so that when a key is pressed (e.g. the ENTER key) make it restart the game in effect, however with XNA, it seems that when you press a key on a menu, it the processing happens too quickly, (im assuming this is due to the amount of times the update and draw methods are called... e.g. 60 times a second). So all of this being said, i would like to have a slight delay between the key being pressed on the game over screen and the game actually restarting and being re-drawn, so then hopefully i can implement this for other menu's, so i wont have to keep asking similar questions, therefore giving you people a break! :D lol


I know some of the code in some of these methods may not make sense at all, e.g. the delay +=dt... i was trying to introduce a delay between when the key is pressed and when the gamestate is actually changed... also the lastKeyboardState = currentKeyboardState maybe should be somewhere else in the game over method but i had this in this method quite a while ago and have just left it there... :)


Today we are releasing a new podcast episode entitled Parents in Conflict Over Screen Time. Today I'm share a bit of it, including some strategies to help parents in conflict over screen time limits. I hope you read this, but also I encourage you to download and listen to the podcast.




We have all heard how important it is to have a united front when parenting around things like rules. And I get that it is important, but we will not always be united. My husband and I have had our fair share of disagreements over issues around screen time issues.

In the podcast episode, I talked with a couple who told me that they usually demonstrate a united front with their kids and how they handle making sure their daughter puts her phone away at a certain time each night. The dad told me:


I know, generally, it is important to have a united front for our kids around things like rules, but I wondered about the benefits of bringing some conflict out into the open at times. Dr. Laura Kastner, author, and child and adolescent clinical psychologist (and also in both Screenagers Movies), said the following:




I was just testing this and could not get it to work. Then I tried doing it quickly. Click on any gesture and then quickly tap the face with your palm. Not a careful placing of the palm but heel of the thumb, the same kind of tap you might do with your finger to activate the screen.


I think I accidentally pressed a wrong shortcut that is causing the console to overtake the source in RStudio. I don't know how to make it stop. Does anyone have any advice? I just want my console to stay still when I run commands...


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.



If you have a query related to it or one of the replies, start a new topic and refer back with a link.


I have been having problems for a couple months with my curser moving all over the screen while I'm trying to type or use programs. It will click and open other docs, pics and/or other programs. It will even do it over night when I'm not using it. I will wake up to dozens of open items on the screen. It's was very dificult to even type a document or would hang up on a icon on screen. I tried malware screening, Nortons, removing mouse driver, update bios, plugged in a wired mouse, tried different wireless mouse. Only way to get mouse not to move on it's own is to disable touchscreen. I tried enabling again after disabling and it goes back to jumping all over the screen and opening other items again. Anyone else have this problem and found a solution so I can use mouse and touchscreen.


It started about 2 months ago and I did not install any new hardware. I'm sure some software updates occurred but no big programs. I paid a computer tech to run troubleshooting, update BIOS, try other keyboards, other mice, and check compatibility issues. I checked for digital interference by moving to a different building without cordless phones and away from any servers or modems. Also checked for new drivers and driver updates. I followed about a dozen suggestions from this and other forums. No luck so far.


I just followed the link you put in your reply. Please note that is for touch pads on laptops. I have an Envy desktop touchscreen as stated in my original post. Thanks. I look forward to a resolution on a $1,800 computer. This is my second HP touchscreen (1st was a Touchsmart all in one) and I didn't have touch issues with that one.


I have an HP Pavilion x360 M3 (I think; too tired to turn the thing around and hunt for numbers). I bought it about a year and a half ago from Micro Center in Cambridge, Mass. It was refurbished, and not long after purchasing - less than a month - I realized it was a bad choice because the cursor kept bouncing around. I read something about lowering sensitivity on the touchpad; seemed to help a bit, but after another month or so it was as bad as ever.


In the meantime, over the next six months, I had other problems. I bought a large Acer monitor, which worked fine. Then after the antivirus kept crashing my programs, I had to revert to original setup and the monitor would no longer work.


I finally contacted MicroSoft Support. That took even more hours, going around and around with first-level support people who would transfer me to the same second level people who couldn't help me, over and over again. My wife thought I was making it up until she listened to a 2-hour call I had. I finally got to a third tier MicroSoft person who took it as a personal challenge to fix the problem, taking over my machine, and saying it was highly unusual and complicated.


So I have lived with it - mind you, I am a serious, widely published and broadcast journalist, and write constantly. I cannot begin to tell you how annoying it has been, and also embarrassing at times in that I have sent out emails with typos - verboten for someone of my reputation - directly attributable to your machine's flaw.


I have resigned to buying something else as soon as I can clear away enough time to be down for two days so that I can set up all of my preferences, contacts, software, etc. on a new machine. Trust that there is no way in hell I would ever consider an HP. You do not deserve my business nor that of anyone else who would ever ask me for a recommendation.


In no way does this mean I have changed my mind about your company. In fact, it infuriates me more because it means at the least you are selling a product that does not deliver what you advertise - a touch screen and a mouse/cursor that works. I am also quite sure you know about this problem, yet I never saw this simple fix on any of your forums - and again, your totally useless support line through which I could not even access a human being could not make this simple advice to your customers.


I have brought your issue to the attention of an appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post personal information such as serial numbers and case details.



If you are unfamiliar with how the Community's private message capability works, you can learn about that here.

Thank you for visiting the HP Support Community.


I've been using Windows forever, but one thing that has annoyed me is how hard it is to terminate misbehaving full-screen applications. In Linux, I can just switch over to terminal (Ctrl+Alt+F1) and use the terminal to forcefully close a misbehaving program. In Windows, this seems to be only possible using task manager. If a frozen window is set to stay-on-top and full-screen mode, Alt+Tab and Alt+F4 don't work and I can't even use the Task Manager. If I had important work in the background, say, and I'd forgotten to save it, I can't just restart the computer!


If you're using Windows 10, you can switch to another desktop using Win+Tab and then open the task manager in desktop 2 to kill the full screen application in desktop 1. This works even if the application is set to stay-on-top.


Use Alt + Tab to give the Task Manager focus. You still won't see it, but now it can accept keyboard input. Use your cursor to hover over Task Manager's icon in Windows' Task Bar: this will hopefully cause the Task Manager to be revealed. Now use your keyboard to end the process: this can usually be done by pressing the Arrow Keys to reach the culprit application, then press Delete. You might have to press Tab once to put focus on the application list first.


The easiest way is to Cntrl + shift + esc and then when it opens go into the process (little triangle bottom right) and right click "task manager", you can set it to always be in front, this brings it forward where you can access it.

3a8082e126
Reply all
Reply to author
Forward
0 new messages