virtual pet program

fguihen

Well-known member
Joined
Nov 10, 2003
Messages
248
Location
Eire
this is a strange post but i was in a pet shop the other day and saw brine shrimp ( sea monkeys) and im wondering how difficult would it be to create a virtual representation of them. what would i need to know, in computer terms ?i would like to try something like this as i never even considered something like this before
 
Well... a virtual representation... theres a large definition of possibility...

3D representation ? GDI+ representation (2D) ?

Tell us exactly what you want to have.
 
very basic to begin with , just gdi. just a simple graphic of each one, that will change as time passes. they will "grow" with time, when "food "is added, they will be attracted to it, the temperature will have to be kept correct by the user, some can be stronger than others and the weak ones will prob die early on in life. if they are not fed daily they will die.no intelligence, as far as i can see in them. its just something t keep me busy. ive never dealt with images in c# yet. also giving them movement poses a challenge, for me
 
Well... you have a couple of choice... You can draw them yourself or use a picture that is "clean" (only have your sea monkey on it). But making it move will be a little harder (no "tentacules" movement or anything) but drawing them yourself will be more easier to move them but will take more time to "learn" to draw them.

Youll have to set some stat to your sea monkeys. Using some structs will be perfect to set primary attributes.

I recommend you to make a class as a model with default value and modify default value with random value so that not every sea monkey are the same.

GDI+ might be the easiest solution to your problem.

N.B.: This is a .NET forum. Questions must be relative to .NET... or your thread might be locked by admin.
 
well. . . first I would come up with an algorithm that models the life system.

This is a little more advanced than the graphics. Look into differential equations, specifically logistical systems. once you have an accurate system model, coding random movements of system generated bio-forms is rather trivial.

Again the difficulty would be in coming up with a logistic equation that models your system accurately.

Difficult, that is if your math background doesnt include a little calculus. You can probably find someones code out there that already does it for you, but where is the fun in that???

Math rox! VB doesnt! :eek:
 
N.B.: This is a .NET forum. Questions must be relative to .NET... or your thread might be locked by admin.


well im writing it in c#, if that helps bring the thread more into line with the forum.
 
uargh...math. it might be great, but im afraid its outa my league. eh well.was a nice idea.thanks all for your help. admin,feel free to delete this thread now if you like
 
fguihen said:
uargh...math. it might be great, but im afraid its outa my league. eh well.was a nice idea.thanks all for your help. admin,feel free to delete this thread now if you like
OH NO!!!!

I didnt mean to discourage you. . . Keep this idea alive and/or on the back burner. it is a great exercise in modeling dynamic systems.

email me over the weekend if you want to maybe come up with an extremely simple model.
blairXstarkX@aolX.comX

remove the Xs for my email
 
Joe Mamma said:
OH NO!!!!

I didnt mean to discourage you. . . Keep this idea alive and/or on the back burner. it is a great exercise in modeling dynamic systems.

email me over the weekend if you want to maybe come up with an extremely simple model.
blairXstarkX@aolX.comX

remove the Xs for my email


dont worry , its not you that discouraged me. im just hopeless at math.i suppose il put it in my massive book of never to be completed ideas. i cant mail you over the weekend im afraid, i only have internet access at work during the day for the moment, at least until i go back to college. thanks for all your help though.i am interested in learning more.
 
Back
Top