Thread: Re: [Hecl-devel] About hecl
Brought to you by:
davidw
From: David W. <da...@de...> - 2009-08-31 11:23:49
|
> hecl is a good command script.but i hava found some problem. the control > command syntaxs is too trict. for example: > > "while" "{" "<" "$i" "10000" "}" "{" they all need a blank if you write > while{< $i 10000}{ > incr $i > } > if will throw a syntaxs exception. so i think it is not very free. > do you konw any other simple j2me command language? thanks! Everything in Hecl is a command, and all command arguments are separated by spaces: puts "hello world" is a command with one argument, the string "hello world" while { .... } { ...... } is a command with two arguments, the first a script that gets executed each time to check and see if it's still true, the second the script that gets executed each time through. That's why you must put spaces. If Hecl is not to your liking there are other languages out there. I think there are a few versions of Javascript, for instance. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |
From: David W. <da...@de...> - 2009-08-31 19:05:03
|
> Very thanks your reply! i am a newcomer in j2me.i want to develop a rpg > game. but i think it is very diffecult! to develop a rpg game must to > develop a game frame engine, a fast script engine(i think command script is > enough,hecl is ok!),i relly dont konw how to design a game frame engine! rpg > game need many props,npc,enemys... and plots,talking.... i think it is too > complex. do you konw is there hava any j2me open source rpg game engine? i > am very thanks! Sounds pretty complex - maybe it's best to start with something similar? Or break it into small bits and pieces? -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |
From: David W. <da...@de...> - 2009-08-31 19:06:02
|
On Mon, Aug 31, 2009 at 9:04 PM, David Welton<da...@de...> wrote: >> Very thanks your reply! i am a newcomer in j2me.i want to develop a rpg >> game. but i think it is very diffecult! to develop a rpg game must to >> develop a game frame engine, a fast script engine(i think command script is >> enough,hecl is ok!),i relly dont konw how to design a game frame engine! rpg >> game need many props,npc,enemys... and plots,talking.... i think it is too >> complex. do you konw is there hava any j2me open source rpg game engine? i >> am very thanks! > > Sounds pretty complex - maybe it's best to start with something > similar? Or break it into small bits and pieces? Sorry, something *smaller*. Another strategy would be to keep as little as possible on the phone and do the real work on the server. But that strategy presents some difficulties of its own. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |