ACM Video Game Design Forum
July 31, 2010, 12:33:19 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: New Forum for ACM Video Game Designers! Make an avatar with size 184 x 184.
Home
Help
Search
Login
Register
ACM Video Game Design Forum
>
Politician Smackdown Development
>
Programming
>
BIG UPDATE PLZ READ
Pages: [
1
]
« previous
next »
Print
Author
Topic: BIG UPDATE PLZ READ (Read 478 times)
Strifex
Newbie
Posts: 24
BIG UPDATE PLZ READ
«
on:
October 30, 2009, 12:42:46 PM »
Add this update MainGame file and tell me if it works for you. (It should)
We now not only have health bars. But the Obamas can punch each other and reduce each others health!!!!!
YAY WE HAZ A GAME! lol
Logged
"People Have hope, because they cannot see death standing behind them"
-Bleach vol.2
Strifex
Newbie
Posts: 24
Re: BIG UPDATE PLZ READ
«
Reply #1 on:
October 30, 2009, 07:28:48 PM »
Update part 2
Added Some comments to Main Game and game now Crashes when a health bar is emptied.
My updated MainGame.cs file is attached.
Logged
"People Have hope, because they cannot see death standing behind them"
-Bleach vol.2
MindAbyss
Administrator
Sr. Member
Posts: 126
Re: BIG UPDATE PLZ READ
«
Reply #2 on:
October 30, 2009, 07:30:19 PM »
Quote from: Strifex on October 30, 2009, 07:28:48 PM
Update part 2
Added Some comments to Main Game and game now Crashes when a health bar is emptied.
My updated MainGame.cs file is attached.
Awesome that you got it to work, I have to wait for someone that has XNA on their computer to download it for me to check it out though.
Logged
BigV
Newbie
Posts: 21
Re: BIG UPDATE PLZ READ
«
Reply #3 on:
November 03, 2009, 01:51:34 PM »
You had an idea, but it doesn't work. If you walk past the purple Obama then the detection doesn't work correctly. We will try to come up with a solution.
Edit: The code has been fixed. Here it is.
//Sketchy Collision/Proximity Detection
if (mainGame.currentPlayers[0].x - mainGame.currentPlayers[1].x <= -120 || mainGame.currentPlayers[0].x - mainGame.currentPlayers[1].x >= 120)
{ collision = false; }
else { collision = true; }
Happy Coding ^_^
«
Last Edit: November 03, 2009, 02:01:32 PM by BigV
»
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
ACMVGD Discussion
-----------------------------
=> Meetings
=> Tutorials & Sites
=> Game Ideas
=> General
-----------------------------
Politician Smackdown Development
-----------------------------
=> Programming
=> Design
=> Storyline
-----------------------------
LAN Parties
-----------------------------
=> Time & Location
=> LAN Party Discussion
-----------------------------
Miscellaneous
-----------------------------
=> Off-Topic Discussion
Loading...