Forum: Graal Kingdoms
06-19-2014, 08:46 PM
|
Replies: 143
Views: 118,162
|
Forum: NPC Scripting
06-17-2014, 12:23 AM
|
Replies: 4
Views: 1,484
Please forgive me if this sounds like a dumb...
Please forgive me if this sounds like a dumb question.. But what is the point of putting temp? Couldn't you just put this.dy, this.dist... etc
Keep in mind I don't know much about "temp" stuff
|
Forum: NPC Scripting
06-16-2014, 11:23 PM
|
Replies: 4
Views: 1,484
Move() set x and y
I have been messing around with alternate ways to move my "bullet."
I have been using the move() function a little bit but I cannot get it accurate.
function onCreated(){
...
|
Forum: NPC Scripting
06-15-2014, 10:47 AM
|
Replies: 19
Views: 3,833
|
Forum: NPC Scripting
06-14-2014, 06:52 PM
|
Replies: 19
Views: 3,833
Blocking NPCs
I have my tiles working correctly thanks to you two :)
on Created:
function isBlocking(tile) {
temp.blocktiles = {0,16,1024,1025,1026,1027,1028,1029};
return (tile in temp.blocktiles);
}
...
|
Forum: Tech Support
06-13-2014, 11:35 PM
|
Replies: 6
Views: 1,624
|
Forum: Tech Support
06-13-2014, 05:44 PM
|
Replies: 6
Views: 1,624
|
Forum: Tech Support
06-13-2014, 02:10 PM
|
Replies: 6
Views: 1,624
Gmap Update
I'm using fowlplay's tile editor and it works fine. The level autosaves correctly.
But sometimes other players can't see the changes made to the level unless I "update level" on every level.
Is...
|
Forum: NPC Scripting
06-11-2014, 11:28 AM
|
Replies: 19
Views: 3,833
I'm having trouble figuring out the value for...
I'm having trouble figuring out the value for each tile. I used the calculator to figure out what this tile it:
Location: Farthest to the left. Second from the top
Possible Formulas: 2xa, ax2,...
|
Forum: NPC Scripting
06-10-2014, 02:00 PM
|
Replies: 19
Views: 3,833
Could I do something like..
on created ...
Could I do something like..
on created
function onCreated(){
player.blocktiles = (1,2,3,4,5,etc);
}
on check
if (tiles[player.x+1.5, player.y+3] != player.blocktiles){
|
Forum: Level Design
06-09-2014, 11:50 PM
|
Replies: 0
Views: 1,198
Level Generator with Custom Tiles
Is there an alternate level generator out there that you can modify to use your own tile set?
I want to make a gmap with big islands but I'm using a custom tileset (type 1)
Any suggestions?
|
Forum: NPC Scripting
06-09-2014, 10:13 PM
|
Replies: 19
Views: 3,833
I really appreciate the help ;)
But I have...
I really appreciate the help ;)
But I have one more question to add to this
What can I do so I don't have to do this..
if ((tiles[player.x+1.5, player.y+3] != 0) || (tiles[player.x+1.5,...
|
Forum: NPC Scripting
06-09-2014, 07:35 PM
|
Replies: 19
Views: 3,833
|
Forum: NPC Scripting
06-09-2014, 07:06 PM
|
Replies: 19
Views: 3,833
|
Forum: NPC Scripting
06-09-2014, 06:18 PM
|
Replies: 19
Views: 3,833
|
Forum: NPC Scripting
06-09-2014, 05:17 PM
|
Replies: 19
Views: 3,833
|
Forum: NPC Scripting
06-09-2014, 05:00 PM
|
Replies: 19
Views: 3,833
Tiles Triggering Actions
I want to do a check to see if the player is in a certain tile.
How would I check?
For this example, I just want to use the top left tile (1x1)
onTimeOut(){
setTimer(0.05);
if /*Check if...
|
Forum: NPC Scripting
06-08-2014, 10:56 PM
|
Replies: 3
Views: 1,159
|
Forum: NPC Scripting
06-08-2014, 10:28 PM
|
Replies: 3
Views: 1,159
Creating Levels via Script
I have been searching the forums, but can't seem to find any codes on it.
I want to create a new level that adds to the file browser and what not through a weapon..
function...
|
Forum: Feature request
01-01-2013, 08:59 PM
|
Replies: 51
Views: 29,945
|
Forum: PlayerWorlds Main Forum
12-28-2012, 09:47 PM
|
Replies: 9
Views: 3,511
|
Forum: Feature request
12-27-2012, 11:35 PM
|
Replies: 51
Views: 29,945
|
Forum: Feature request
12-27-2012, 06:31 PM
|
Replies: 51
Views: 29,945
|
Forum: Feature request
12-27-2012, 05:56 PM
|
Replies: 51
Views: 29,945
Boosting Playercount
Hello all,
I have been thinking about this a lot lately. I don't know about you but I miss the good days when Graal PC had a huge player base. I have composed of three ideas to boost the player...
|
Forum: PlayerWorlds Main Forum
12-25-2012, 06:42 AM
|
Replies: 9
Views: 3,511
|