![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Professional Programmer
|
How is PHP an alternative to Flash? Sure, if you try really hard you may be able to do the same basic things in both, but PHP is not a Flash-like language and is not intended as such. What exactly are you getting at?
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
#12 |
|
Programming Guru
![]() ![]() ![]() |
I am getting at this. For the level of limited graphics ("graphics required for word games, puzzles")... PHP will work fine.
I never said PHP was Flash-like... especially regarding the graphics ability. Each language has its own use, the also share the ability to perform basic graphics. Sure, if you want to simulate driving a car, and not just have a background image of the car's console, go with Flash. If all you want is to make a card game, or a word guessing game go with PHP.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#13 |
|
Professional Programmer
|
I see what you mean. That sounds like a novel suggestion.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
#14 |
|
Programming Guru
![]() ![]() ![]() |
Novel.
![]()
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#15 |
|
Newbie
|
hmm thanks for the responses. it's seems my slight contradiction (not being graphicall intensive vs. driving car simulation) is perplexing. i guess what i mean is that I might want to have some sort of "racing viewpoint" but it can be simple. in fact it doesn't have to appear 3-d, maybe even just having cars racing across the screen in 2-d.
In that case it seems php would be the best choice? someone else mentioned java applets, would php be more appropriate than java? Thanks again, Joe |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|