Age | Commit message (Collapse) | Author |
|
-using sdl_rect for location and size ended up being not so great due to it not having floats, so we reverted back to using location
-much, much refractoring is now needed
|
|
|
|
|
|
-just using = for + since there is no difference
|
|
-added speed increasing, but right now it is on arrow keys due to sdl errors with + and -, eventually the arrow keys will be used to pan the camera, and speed will be done with a graphic and the + and - keys
|
|
-added bite functionality for creature/resource
-added gender (next largest feature is reproduction)
-refractored creature setTarget function to make more sense
-added constants for starting size of entity and max size of entity
-refractored list to make make much more sense
-added constants for types
|
|
|
|
|
|
two bugs i can see right now
-somehow when a resource has less than 0 amount it still sticks around (somewhat rare)
-some creatures just bounce back and forth until they die not getting to their target
|
|
|
|
|
|
|
|
need to figure out how to generate more random numbers
after - implement resource amount and ability to eat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|