One time I create a Vector3 class and put the custom new() method in the header file. However the compiler still think that there is a default new() method in the .cpp file, so that it complaint there is a second definition of the new() method. But if I put new() method in the .cpp file, no more complaint.
Thus: Put custom new() and delete() in the .cpp file.
Monday, November 26, 2012
Saturday, November 24, 2012
Prototype 4, week 1
At the last prototype on this semester, we have a pretty large team which expected to build a functional prototype.
This week, as our producers, Zac and Briana, said, we just thought about the game idea, no coding. We also have done the physics prototyping. And the result was really good. Now we have a basic idea which is a tower defense like game, but with gem-collective and chasing. It seems like League of Legend, RTS game.
I like the idea that the character can be changed between 3 animals. That's one of the variable that make the game mechanic fun and also do some balancing work. Also the digging map level design should also make some effort to do.
This week, as our producers, Zac and Briana, said, we just thought about the game idea, no coding. We also have done the physics prototyping. And the result was really good. Now we have a basic idea which is a tower defense like game, but with gem-collective and chasing. It seems like League of Legend, RTS game.
I like the idea that the character can be changed between 3 animals. That's one of the variable that make the game mechanic fun and also do some balancing work. Also the digging map level design should also make some effort to do.
Prototype 3 Summary
In this prototype, we used HTML 5 + JavaScript to build a Shoshone in wonderland game. We didn't use scrum process, and also with very few documentation for the game. Even if this is a small project, I thought without documentation just made me feel lost. Most of the time I didn't know what I suppose to do next, and even the final prototype came out, it was not the game what I like. However, at least I have touched some web development.
Monday, October 22, 2012
Project 2, Summary
The final week, we had present our project. The Crusader, our game, looks pretty good.
This time we used SVN to make co-working on code easier. We didn't have to worry too much about code conflict if two people working on the same code file. SVN could handle it and tell you where should I do the merging work.
At the beginning we had used scrum and sprint pretty well. However, I think I got lost in the middle of time. Maybe, putting those documents in one single file, not on Google Docs as well as white board, and remind team member to check story board will work better. Generally, at the beginning working in scrum made the project work.
As an engineer working inside the code, I know there is still several bugs can be fixed. Such as collision detection, level design configuration and so on. Maybe as a prototype, it is fine.
Also, I need to do more about my time management. Most of the coding work is done by Max. I feel myself was just a watcher in most of the time.
This time we used SVN to make co-working on code easier. We didn't have to worry too much about code conflict if two people working on the same code file. SVN could handle it and tell you where should I do the merging work.
At the beginning we had used scrum and sprint pretty well. However, I think I got lost in the middle of time. Maybe, putting those documents in one single file, not on Google Docs as well as white board, and remind team member to check story board will work better. Generally, at the beginning working in scrum made the project work.
As an engineer working inside the code, I know there is still several bugs can be fixed. Such as collision detection, level design configuration and so on. Maybe as a prototype, it is fine.
Also, I need to do more about my time management. Most of the coding work is done by Max. I feel myself was just a watcher in most of the time.
Wednesday, October 10, 2012
Project 2, week 3
In this project, our team used XNA-C# to build a game for Treadpot, which is a 3D wander simulation game. In this project, we build up a castle environment, and set up several gems, ghosts, and swords, make it like a 3D PacMan.
Even if C# has many similarity to C++, it is still a little bit tough to study it and make the work done simultaneously. In fact, XNA has many built-in function that we don't need to start from the very beginning. For prototype, it's far more easier to work than Moai, I think.
Currently we have built up a castle environment and several models done. And I just create a simple UI to count the swords and gems. There is still AI for the ghosts to do.
Even if C# has many similarity to C++, it is still a little bit tough to study it and make the work done simultaneously. In fact, XNA has many built-in function that we don't need to start from the very beginning. For prototype, it's far more easier to work than Moai, I think.
Currently we have built up a castle environment and several models done. And I just create a simple UI to count the swords and gems. There is still AI for the ghosts to do.
Sunday, September 16, 2012
A little summary of Prototype 1
The first prototype seems finish well. We make the cheese can be throw, hit detection, customer match and so on.
But I think, just myself, have much more can do.
First, I tried to figure out MOAI before I can work on it, but I fail before other team member done. In this case, using MOAI to do a prototype maybe worse than C++ for me.
Second, time management. I remember that I waste several days on many trivial things.
Let me do better in the second prototype.
But I think, just myself, have much more can do.
First, I tried to figure out MOAI before I can work on it, but I fail before other team member done. In this case, using MOAI to do a prototype maybe worse than C++ for me.
Second, time management. I remember that I waste several days on many trivial things.
Let me do better in the second prototype.
Sunday, August 26, 2012
Figuring out Moai input
Sample can be referred: moai-sdk/sample/input/
As far as I can see, there is a input manager: MOAIInputMgr, to handle cross platform input. It seems its member MOAIInputMgr.device handle with different plat form, like in PC, there is MOAIInputMgr.device.mouseLeft, and in mobile device, it is MOAIInputMgr.device.touch.
Also, there is MOAITouchSensor can handle touch behavior. There are members and functions show in Moai SDK class reference manual. Unfortunately, I can't find any reference about MOAIInputMgr, the SDK reference manual just said there is no public member in the input manager. If anyone know any reference about MOAIInputMgr, please tell me, I will appreciate that.
As far as I can see, there is a input manager: MOAIInputMgr, to handle cross platform input. It seems its member MOAIInputMgr.device handle with different plat form, like in PC, there is MOAIInputMgr.device.mouseLeft, and in mobile device, it is MOAIInputMgr.device.touch.
Also, there is MOAITouchSensor can handle touch behavior. There are members and functions show in Moai SDK class reference manual. Unfortunately, I can't find any reference about MOAIInputMgr, the SDK reference manual just said there is no public member in the input manager. If anyone know any reference about MOAIInputMgr, please tell me, I will appreciate that.
Friday, August 24, 2012
First week in EAE:MGS class
I don't know how to say the feeling. Because after 2 undergraduate transfer semester in the same campus, I am totally not excited. All apple iMac, free bus, trax and shuttle, Smith's food and Union... just the same as before. Fortunately, as a graduate student who pursuing a degree in U of U, I have a community, the EAE: MGS. People are friendly, and we work and study together. Even I am still not very familiar in the community, and still not excited anymore, I always hope we can be much powerful after two years when we graduate. I am looking forward to that happen.
And for the first project, we likely do it in Moai. Moai basically writed in C++, and it makes the script language, Lua, can run at any platform, such as Windows, Linux, iOS, Android. It seems cool but it is strange for me even if I am familiar in C++. And the first project is to build a game to help Beehive cheese do their commercial job. Sounds wired but not bad for me to work like a studio with a company, even if I have work in a team to build a 3D Angry Birds but the game hasn't be published. And my job in the first project is to figure out the I/O in iOS with Moai. It's still hard for me.
Oh gosh, long time no write in English, this post must be much of mistake or misunderstanding :D
And for the first project, we likely do it in Moai. Moai basically writed in C++, and it makes the script language, Lua, can run at any platform, such as Windows, Linux, iOS, Android. It seems cool but it is strange for me even if I am familiar in C++. And the first project is to build a game to help Beehive cheese do their commercial job. Sounds wired but not bad for me to work like a studio with a company, even if I have work in a team to build a 3D Angry Birds but the game hasn't be published. And my job in the first project is to figure out the I/O in iOS with Moai. It's still hard for me.
Oh gosh, long time no write in English, this post must be much of mistake or misunderstanding :D
Subscribe to:
Posts (Atom)