2011年6月11日星期六
for this project, I do the first phase of the development of the project, because I finish the game engine project earlier, and Mo has to do his engine. And later phase is done by Mo, C# is just not so for independent development. may be I am just not famaliar with it. cause i am a c++ guy. I am not very comfortable with the c#. although it has some features that c++ does not have. But with c++, I have the control of memory, control of pointer stuff. I like that.
The asteroid of our project still have some problems. some bugs triggered while the game has ran a few minutes. I am try to figure that out.
because we are a team project. we have to do some extra stuffs. But right now we do not have the time to do prediction. But we have the selection screen and the select weapon screen. hope that will give us some credits.
because we are a team project. we have to do some extra stuffs. But right now we do not have the time to do prediction. But we have the selection screen and the select weapon screen. hope that will give us some credits.
Now I ve done the final project in a way that's possibly gonna cause some bug. For instance, the collision is done on both side of the machine. During the course, Professor keenan said that we should do the collision on just on side. I am not saying that there is not way to do that on just one machine, I will figure out a way to do that. like while sending a packet, send out the time also. and use that time to decide if the bullet or the asteroid is colliding.
This quarter's course is more about theory, how the networking thing work and how to deal with some thing that is surely gonna happen in the networking session game. like latency, prediction and stuff. And before this week, I though it was less about coding ,but now, it seems it is not. the final project is about coding and watching other people's code.
texture and font stuff
Just find out that you need to put the textures or fonts in the folder of the project to have them work. Diego help me out with this. Now we can do some art
2011年6月10日星期五
one queue
Here is what i learn from the project.
I used to maintain multiple queues for my project. Now I find out that I should not do that. do one for every screen is reasonable, because one will not interfere with another. But if I have two queues for one screen. one queue might grab the packet from the net that other queue need. and the game just lose a packet.
Now I just put one queue for the whole project, and put all packet that comes from the net to the queue. if the packet does not match the need. Just put the packet back. other part of the program might need it.
I used to maintain multiple queues for my project. Now I find out that I should not do that. do one for every screen is reasonable, because one will not interfere with another. But if I have two queues for one screen. one queue might grab the packet from the net that other queue need. and the game just lose a packet.
Now I just put one queue for the whole project, and put all packet that comes from the net to the queue. if the packet does not match the need. Just put the packet back. other part of the program might need it.
2011年6月9日星期四
ship move
now the ship can move now. It has a thrust. pretty cool. I'll just the same theory write the bullet fly
selection screen
The selection screen is working now. The chose from the other machine will reflect on the local machine now
2011年6月8日星期三
2011年6月7日星期二
Join the session
I tried my game on two computers. It turns out you can just create a session, you can not join a created session...have to figure out..
Lobby created
Now the lobby has been added to the game, At first I am stuggling about the load font action. It just doesn't work. Keep telling me the font file do not exist.... I do the exact thing as the invite sample. Just won't work. So now i just decide to leave it. After I add it more import stuffs. I'll start to deal with this. However, It might be a little wearied though, cause these is nothing show at the lobby. Just a blank space.
2011年4月5日星期二
订阅:
评论 (Atom)



