Search found 408 matches

by Sim
Tue Mar 17, 2015 6:18 am
Forum: Beginner Help and Support
Topic: HTTP input cross website
Replies: -1
Views: 1141

Re: HTTP input cross website

Wouldn't PHP be more secure then JS as well?

I can what's being sent to outgoing servers with JS via Network in browser.

With PHP, I can't really see what data is being sent from a web server. ;\
by Sim
Thu Mar 05, 2015 8:55 am
Forum: Coding
Topic: Programmer Wanted
Replies: -1
Views: 8164

Re: Programmer Wanted

I use to have a 800+page book on Windows API. It was fairly interesting. A pain in the ass a lot of times, but interesting enough. =]
by Sim
Mon Mar 02, 2015 6:04 pm
Forum: Beginner Help and Support
Topic: Beginner jQuery Question
Replies: -1
Views: 2991

Re: Beginner jQuery Question

Seems like a complicated mess. =]

Why not just store all your HTML in one variable by appending it?
Then

$("#content").html(VAR); ??
by Sim
Fri Feb 27, 2015 5:07 pm
Forum: Bad Touch Studios
Topic: Board Game In Progress
Replies: -1
Views: 17468

Re: Board Game In Progress

Sound's awesome, I love board games. Can't wait to see a prototype.
by Sim
Mon Feb 23, 2015 2:12 am
Forum: General Development
Topic: How would you do a craft system?
Replies: -1
Views: 8363

Re: How would you do a craft system?

No offense whatsoever, but what do you know of XML parsing? Because any parser still has to do the loops for reading every line in an XML file. But instead of just splitting on a comma, you have to do a alot more then that for XML. You first need to find out tags ( regex ) inside that regex, group ...
by Sim
Sun Feb 22, 2015 6:21 pm
Forum: General Development
Topic: How would you do a craft system?
Replies: -1
Views: 8363

Re: How would you do a craft system?

vitinho444 wrote:I do loop through it, but I just split the text by \n first, then each line splits by ';'. It's a simple for loop, and it's fast.
That's why I think an xml file would be faster then a txt file. Either way, your still reading the file. ;\
by Sim
Sun Feb 22, 2015 2:36 am
Forum: General Development
Topic: How would you do a craft system?
Replies: -1
Views: 8363

Re: How would you do a craft system?

I wouldn't think that text file is faster then an xml file. He still has to loop threw the file, then split data ;\
by Sim
Sat Feb 21, 2015 9:53 pm
Forum: General Development
Topic: How would you do a craft system?
Replies: -1
Views: 8363

Re: How would you do a craft system?

That is just ehh, ugly =0 the txt file


I would recommend a xml file over a txt. At least this way, its organized to some extent.. A database table would be even better.
by Sim
Thu Feb 19, 2015 7:15 am
Forum: General Development
Topic: Where to start for a HTML5 Multiplayer game.
Replies: -1
Views: 3981

Re: Where to start for a HTML5 Multiplayer game.

Are you running the state on both the client and server so that the client can predict that a move is OK, display it, and then correct itself when it gets a response from the server? I don't know what you mean by state, but tried doing it like this: Player 1: for every valid execution (block fallin...
by Sim
Thu Feb 19, 2015 3:18 am
Forum: General Development
Topic: Where to start for a HTML5 Multiplayer game.
Replies: -1
Views: 3981

Re: Where to start for a HTML5 Multiplayer game.

I would imagine the hardest part of making a Tetris-like game multiplayer would be offering the players the ability to press the down key to speed the block down. Without that feature, the blocks would drop at a highly predictable rate that would make the state easier to sync between client and ser...

Go to advanced search