Author Topic: Oracle Breeding  (Read 8848 times)

0 Members and 1 Guest are viewing this topic.

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Oracle Breeding
« Reply #15 on: April 26, 2006, 04:13:00 am »
At first I was like, I think this would deserve a feature but then I was like "Wait, he is staff ;)wink.gif".

BCTurk

  • Guest
Oracle Breeding
« Reply #16 on: April 26, 2006, 04:42:00 am »
@xlibman: Yes please

@kalan - I can't seem to register on the creature site...the registration form just cuts off and there is no submit or anything...

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Oracle Breeding
« Reply #17 on: April 26, 2006, 04:43:00 am »
QuoteBegin-BCTurk+Apr 26 2006, 10:42 AM-->
QUOTE (BCTurk @ Apr 26 2006, 10:42 AM)
@xlibman: Yes please

@kalan - I can't seem to register on the creature site...the registration form just cuts off and there is no submit or anything...  

 Oh, well I will try when I get home. But it is a pretty cool game/simulation thing.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Oracle Breeding
« Reply #18 on: April 26, 2006, 04:45:00 am »
m00ved

Liazon

  • Guest
Oracle Breeding
« Reply #19 on: April 26, 2006, 02:32:00 pm »
I really like this idea a lot.  Really original.

BCTurk

  • Guest
Oracle Breeding
« Reply #20 on: April 27, 2006, 04:17:00 pm »
Thanks, I hope I can fullfil my ideas for it with some decent code.

Updated :)smile.gif.

EDIT: Ok, so question for you uberleet coders out there.  Should I use xLIB's getkey when speed isn't an object?  Does it need to be embedded in a loop?  If so, I'll stick with getKey as I can actually remember those values ;)wink.gif.  But if it doesn't, I'll think about using it as it would save space...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Oracle Breeding
« Reply #21 on: April 28, 2006, 12:58:00 am »
Use xlib getkey whenever you dont need very precise key detection, like in walking movements, it is faster

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Oracle Breeding
« Reply #22 on: April 28, 2006, 04:11:00 am »
xLIBs getkey is faster, but detects keys a little wierd. It is so fast it misses the key press sometime. I use it in a couple of my games (Tank) and it's a space saver and speed boster. I would imbed it in a loop for a walking engine, or something that isn't real time (DDR/FFR/XXR).

The arrows are simply 1-8, so I just do
c1-->
CODE
ec1Repeat Ans and Ans<9
real(8
Endc2
ec2
That's just for using the arrows, but add a or Ans=54 (2nd I think) if you wanted more.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Oracle Breeding
« Reply #23 on: April 28, 2006, 10:20:00 am »
For a better key detection if your game doesnt require much speed you could do something like
real(8
Ans->A
...
commands
...
if A=/=0: then
real(8
Ans->A
End
...
commands
if A =/=0:then
real(8
Ans->A
End
...
commands
...





or just osmething like

for(A,0,10
real(8
end
ans->A

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Oracle Breeding
« Reply #24 on: April 28, 2006, 04:13:00 pm »
Well I think this is fine, as it works perfectly for me

c1-->
CODE
ec1Repeat Ans and Ans<9
real(8
Endc2
ec2

BCTurk

  • Guest
Oracle Breeding
« Reply #25 on: April 28, 2006, 05:22:00 pm »
Yes, but the diff. between real(8 and getKey->X isn't alot, and xLIB's val's are odd, so I think I'll stick with getKey, only because I can program using it alot faster, IMO.

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Oracle Breeding
« Reply #26 on: April 28, 2006, 06:07:00 pm »
Well best of luck, and yes the values are a little different. But on the plus side the arrows are nicely done, being 1-8 including diagonals!

BCTurk

  • Guest
Oracle Breeding
« Reply #27 on: April 29, 2006, 04:51:00 am »
Mmm, but there isn't any movement enging in this game, so I don't need that.  If there was, I'd use it.

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Oracle Breeding
« Reply #28 on: April 29, 2006, 06:38:00 am »
Lol, sorry. Yeah this looks great, and that creatures game was only $1 when I bought it..hehe, but I guess it http://www.mininova.org/tor/279102n't free >.<

BCTurk

  • Guest
Oracle Breeding
« Reply #29 on: May 01, 2006, 03:37:00 pm »
Update. :)smile.gif

Also, to a select few, a very primitive DNA engine will be PM'ed later tonight hopefully...