Search found 17 matches
- Wed Jun 07, 2017 5:30 pm
- Forum: General Development
- Topic: Prevent overlap of spawning objects around a player GPS, and
- Replies: -1
- Views: 3246
Prevent overlap of spawning objects around a player GPS, and
I am currently working to create a database to store the trees generated in a game like Clash Of Clans/Pokemon Go. I have created the following tables: Trees (tree_id PK, type_id FK, loc_lat, loc_lng); Tree_Types (tree_type_id PK, name); Users (user_id PK, loc_lat, loc_lng, visability_radius) I am u...
- Mon Jul 25, 2016 1:40 pm
- Forum: General Development
- Topic: Checking images are loaded before rendering them
- Replies: -1
- Views: 900
Re: Checking images are loaded before rendering them
Hi,
How would you do this in code as i get what you mean but dont know where to start.
T
How would you do this in code as i get what you mean but dont know where to start.
T
- Sat Jul 23, 2016 2:43 pm
- Forum: General Development
- Topic: Checking images are loaded before rendering them
- Replies: -1
- Views: 900
Checking images are loaded before rendering them
Hi I am currently trying to fix this piece of code, it should once run check if images.room.moveroom.ready is true then render the image. But the ready does not change. Is there any way of implementing this without using jquery? var createImage = function (src) { var imgReady = false var img = new I...
- Wed Jun 29, 2016 10:46 am
- Forum: Say Hello
- Topic: Computer Science Project
- Replies: -1
- Views: 3173
Re: Computer Science Project
Would you recommend storing this grid as array on the server of node.js. Or would you store it in a database?
- Mon Jun 27, 2016 11:31 am
- Forum: Say Hello
- Topic: Computer Science Project
- Replies: -1
- Views: 3173
Re: Computer Science Project
Hi again, i am trying to implement the moving of the player in game using A* pathfinding, do you have any advise on storing the grid locations in the game area where the player is standing. I currently have it as an array, of 0 and 1, however i feel this is very inefficient as storing this will take...
- Fri Jun 17, 2016 6:48 pm
- Forum: Say Hello
- Topic: Computer Science Project
- Replies: -1
- Views: 3173
Re: Computer Science Project
Thanks for the help about the class. Well i am using c9.io to run the game while i develop it, i may think a battle in a screen like the classic RPG style will be best and easily under stood by many. What do you think is it worth sticking with the RPG style battle or change to a different battle sys...
- Fri Jun 17, 2016 5:51 pm
- Forum: Say Hello
- Topic: Computer Science Project
- Replies: -1
- Views: 3173
Re: Computer Science Project
I am hoping to have something like hordes in the game as they will be free roaming round the map. Do you have any ideas of where to start?
- Fri Jun 17, 2016 5:43 pm
- Forum: Say Hello
- Topic: Computer Science Project
- Replies: -1
- Views: 3173
Re: Computer Science Project
Thanks for the reply and the advice of the mongoDB i have made prototype using node.js and socket.io. I am trying to make the code mainly server side to be more secure. How would you recommend to store the player storage within the database eg for items and quests, as separate fields or as a long st...
- Fri Jun 17, 2016 3:57 pm
- Forum: Say Hello
- Topic: Computer Science Project
- Replies: -1
- Views: 3173
Computer Science Project
I am a student trying to find some advise, i am currently developing a game for a course work project. The info below are what i plan to add however i was wondering if there is any thing more complex to add as the project does need to be quite complex. A* or Dijkstra shortest path are currently in u...
- Fri Jun 12, 2015 5:39 pm
- Forum: Beginner Help and Support
- Topic: Socket.io Node.js tutorial
- Replies: -1
- Views: 1204
Re: Socket.io Node.js tutorial
None, it doesnt disconnect so the array of players doesnt lose the disconnected players