Search found 3 matches

by Stalin
Wed Dec 24, 2008 1:00 pm
Forum: PSP Development
Topic: OSLib basic rts engine [broken]
Replies: 4
Views: 2064

turns out the random numbers for coordinates where not actually random, more so they were just producing the same number 10x so it was drawing all 10 objects in the same area. When passing the check, for wether or not a specific unit is selected i was using a structure to do the check. I am obviousl...
by Stalin
Wed Dec 24, 2008 6:29 am
Forum: PSP Development
Topic: OSLib basic rts engine [broken]
Replies: 4
Views: 2064

found out that with the oslImageLoadFile it is odd way it was programmed and to get it working i needed to load it as "oslLoadImageFile(const_cast<char*>( imagename ), OSL_IN_RAM, OSL_PF_5551);" I have it working now, needed to disable the selection checking, i'm obviously NOT passing the ...
by Stalin
Tue Dec 23, 2008 3:48 pm
Forum: PSP Development
Topic: OSLib basic rts engine [broken]
Replies: 4
Views: 2064

OSLib basic rts engine [broken]

Okay, So I have this program I'm trying to get to work, it is my attempt at a basic RTS type engine. I was able to make it draw one unit, select it and use joystick to draw selection box. (I know truly amazing things) I changed to classes and made a little loop to where its supposed to draw 10 units...