Search found 76 matches

by spir
Mon Nov 12, 2012 12:00 pm
Forum: Support and Development
Topic: Adding a table to my map table and accessing said table.
Replies: 3
Views: 894

Re: Adding a table to my map table and accessing said table.

To start, i am new to lua but have some experience scripting c# in RunUO. What I have done is through the tutorials and some posts I read, and what I have works perfectly so far, simple map, birds eye, with a player icon I can move about. Thanks in advance ~Delta function setupMap() mapWidth = 128 ...
by spir
Sun Nov 11, 2012 5:07 pm
Forum: Libraries and Tools
Topic: wOOP V0.6 - A powerful OOP lib
Replies: 10
Views: 2027

Re: wOOP V0.5 - A powerful OOP lib

Hum... where are the source and the docs? (seems you forgot to add the links before posting your message?)

Denis
by spir
Sun Nov 11, 2012 4:58 pm
Forum: Games and Creations
Topic: breakout-0.3.3
Replies: 3
Views: 933

Re: breakout

yes, i understand, thanks for the advice ! i must add the effect of the paddle position in the ball direction, it's what i'm working on now. after that i wil add bricks ! i hesitate between two possibilities for the pad effect 1) relative to the last ball inclination : a) a ball who bounce on the c...
by spir
Sun Nov 11, 2012 4:24 pm
Forum: Support and Development
Topic: utf8 support in pure lua
Replies: 3
Views: 5087

Re: utf8 support in pure lua

Hello, I started a pure Lua module to support operation on UTF-8 data. See lua-utf8 First goal was reached : - be able to get the good length - be able to get substring - automatic convertion Regards, TsT Hello TsT, Pleased to see someone else interested in unicode. I have had a look at your online...
by spir
Sun Nov 11, 2012 3:49 pm
Forum: Support and Development
Topic: (SOLVED) need some help with timers!
Replies: 3
Views: 506

Re: need some help with timers!

what i need this time is the image to walk to a certain point in the screen, and if there's no "encounter" there, he waits for about 3 seconds (and in those three seconds three ellipses appear above his head). after the three seconds are up, i want the ellipses to disappear and have him p...
by spir
Sun Nov 11, 2012 2:51 pm
Forum: Support and Development
Topic: TAG table search
Replies: 4
Views: 1242

Re: TAG table search

I have some tables with some data and this tables have some tags. What I need is some trickery to search multiple tags for the specific tables with data. Aldrix, your problem is one of sets and set intersections, just as at school. Azhukar's solution is to build a collection of associations from ta...
by spir
Thu Nov 08, 2012 5:32 am
Forum: Support and Development
Topic: about sequencers
Replies: 4
Views: 681

Re: about sequencers

Hi spir, I'm intrigued, can you share a little bit more about what are you working on? PLC simulation, maybe? Your love code seems to be a direct transliteration of your GRAFCET, I mean, each node of the tree results directly in the evaluation of a condition. This is fairly straightforward, but cou...
by spir
Thu Nov 08, 2012 5:08 am
Forum: Support and Development
Topic: [solved] what about integers and reals?
Replies: 11
Views: 946

Re: what about integers and reals?

Remember: your x and y are not integers and they are not window positions. They are floating point numbers that map to window positions in some way. Right, this is just what I needed to know. Now, does anyone know about some (good, clear) online introductory material where one can learn about such ...
by spir
Wed Nov 07, 2012 11:41 am
Forum: Support and Development
Topic: [solved] what about integers and reals?
Replies: 11
Views: 946

Re: what about integers and reals?

spir wrote:I guess in fact on the Lua --> C interface they are simply cast to int
Does someone know about that?
by spir
Wed Nov 07, 2012 11:30 am
Forum: Support and Development
Topic: [solved] what about integers and reals?
Replies: 11
Views: 946

Re: what about integers and reals?

If any Löve function requires an integer, that will be very clearly stated in the wiki. Can you (without searching) give an example of func param required to be int? Just so that I can guess the kind of thing you have in mind. If it says nothing about it, then your roundings are sort of wasted comp...