Search found 11 matches

by alexis
Sat Dec 03, 2005 10:17 pm
Forum: PSP Lua Player Development
Topic: analog stick position
Replies: 9
Views: 5525

Great. I guess now you just have to avoid than the gear go from n to n+k where k>1 or k<-1. ... if posotion == blablablah newgear = 3 if math.abs&#40;gear-newgear&#41;==1 then gear=newgear end end ... Probabely the "blablablah" condition on the position of the stick could be tuned ...
by alexis
Sat Dec 03, 2005 9:37 am
Forum: PSP Lua Player Development
Topic: analog stick position
Replies: 9
Views: 5525

K, Positions of the stick are from -127 to +127. left X=-127 rigth X=+127 up Y=-127 down Y=+127 I will folow my idea, so the gear system is not like 1 3 5 |-|-| 2 4 6 But more like that 1 3 5 \/\/\ 2 4 6 ( outch !! ... cops can supress my licence for less than that !!! :D ) In this case I guess some...
by alexis
Fri Dec 02, 2005 5:00 pm
Forum: PSP Lua Player Development
Topic: analog stick position
Replies: 9
Views: 5525

I personnaly feel it could be quite ergonomic with the analog stick to do somethine like

up rigth : up gear spd from odd to even
down rigth : up gear spd from event to odd
up left : down gear spd from odd to even
down left : down gear spd from even to odd

Regards.
Alexis
by alexis
Fri Dec 02, 2005 7:04 am
Forum: PSP Lua Player Development
Topic: color = image:pixel(x,y) to array ?
Replies: 3
Views: 2555

Or do you mean

Code: Select all

    c=image&#58;pixel&#40;x,y&#41;&#58;colors&#40;&#41;
    a&#91;1&#93;=c.r
    a&#91;2&#93;=c.g
    a&#91;3&#93;=c.b
????
by alexis
Fri Dec 02, 2005 6:55 am
Forum: PSP Lua Player Development
Topic: color = image:pixel(x,y) to array ?
Replies: 3
Views: 2555

I'm not sure to understand clearely the point but probabely somethink like c=image&#58;pixel&#40;x,y&#41;&#58;colors&#40;&#41; a&#91;i&#93;=Color&#58;new&#40;c.r, c.g, c.b&#41; could help you to construct a copy of the Color instance you get with pixel met...
by alexis
Sat Nov 19, 2005 7:44 pm
Forum: PSP Lua Player Development
Topic: converting string to a number?
Replies: 5
Views: 3107

i don't know if there's an official way to do this, but here's how i've done it in my game.. if someString+0 > 20 then blahblah end when you put +0 on the end, it automatically converts to a number.. According to the "bible", the add methamethod have the following lua equivalent behavior:...
by alexis
Fri Nov 18, 2005 3:49 pm
Forum: PSP Lua Player Development
Topic: Work In Progress: RPG
Replies: 15
Views: 6097

If you want to make an RPG rules engine, it could be quite nice to base it to fuzion rules system.

You can have look at ww.fuzion.org and donwload freely this RPG.

Regards.
by alexis
Thu Nov 17, 2005 8:29 am
Forum: PSP Lua Player Development
Topic: Tarot card game
Replies: 3
Views: 2367

Hi,

I issued a new release (v1.00d02) where a lot of AI problems was fixed.

Regards.
by alexis
Wed Nov 16, 2005 4:10 pm
Forum: PSP Lua Player Development
Topic: Tarot card game
Replies: 3
Views: 2367

the rules of the game

Hi,

You can see the rules of the game in the folowing link:
http://www.pagat.com/tarot/frtarot.html

Regards.
by alexis
Tue Nov 15, 2005 7:17 am
Forum: PSP Lua Player Development
Topic: Tarot card game
Replies: 3
Views: 2367

Sory I forgot:
You have to sign in to access to the files:
Yahoo ID : "alexis_germaneau"
passwd : "ps2dev"

Thx.
Alexis.
by alexis
Mon Nov 14, 2005 10:39 am
Forum: PSP Lua Player Development
Topic: Tarot card game
Replies: 3
Views: 2367

Tarot card game

Hi, First of all, I'm sorry for my level of english ... I was so lazy during school ... I just released a "test" version of tarot card game. (This game is quit popular in French pubs at list). The game in in test phase so if you discover some bugs or some strange behavior please report me ...