Hello everyone!
I've been trying to find some information on how to implement FOV (field of view/vision) into my roguelike game in GML, but so far, no luck.
Here is a link to what I mean:http://roguebasin.ro...g/index.php/FOV
I really have no idea where to start. Or rather, I have been playing around with the collision_line function, but it turns out that the FOV always gets asymmetrical and slows down the game a great deal.
I've searched the forums and internet for what seems an eternity and found nothing of relevance, exept for that one link (above). Still, they only mention the ways of doing it in C, java and such, and I have been unable to translate it into GML.
This is why I hoped you could help me with this issue, to give me some tips on where and how to start?
- Game Maker Community
- → Viewing Profile: Topics: Zpace
Zpace
Member Since 03 Sep 2005Offline Last Active Nov 12 2012 08:58 PM
Community Stats
- Group GMC Member
- Active Posts 54
- Profile Views 1294
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Location
Sweden
0
none
Topics I've Started
Roguelike Field of View/Line of Sight
21 November 2011 - 11:48 AM
Enemy Blocked Vision
20 June 2011 - 05:52 PM
Hello everyone in the forums!
I was coding a bit on a new game when I stumbled into an issue.
I want to create a "tile based" vision for the enemies in the game (since my entire game is tile based (16x16)).
You can see what I mean in the example picture:

The red tile is the enemy,the purple tiles are his vision and black tiles represent walls.
I want his vision to be blocked by walls as seen in the version to the right.
How would you go about coding this? I have no idea where to start,
Thankful for answers
/Zpace
I was coding a bit on a new game when I stumbled into an issue.
I want to create a "tile based" vision for the enemies in the game (since my entire game is tile based (16x16)).
You can see what I mean in the example picture:

The red tile is the enemy,the purple tiles are his vision and black tiles represent walls.
I want his vision to be blocked by walls as seen in the version to the right.
How would you go about coding this? I have no idea where to start,
Thankful for answers
/Zpace
[release] Mega Rpg-tileset
28 May 2008 - 05:18 PM
Here is a MEGA tileset I put together from RPGmaker XPs default tilesets.
NOTE that I did not make the graphics.
Anyway, I hope this will be helping some of you
.
Here is the link.
MEGA Tileset (Warning huge filesize, 6MB)
Over and out
.
NOTE that I did not make the graphics.
Anyway, I hope this will be helping some of you
Here is the link.
MEGA Tileset (Warning huge filesize, 6MB)
Over and out
Need Help With Gml.
21 March 2008 - 04:30 PM
What is the GML code for this function --> 
Thanks.
Thanks.
[request] Jewel Sprites
21 March 2008 - 03:08 PM
Hi everyone, I'm working on a little project and I need some sprites to continue.
I need 6 different jewel sprites.
Size: 32x32 or 16x16.
What: 1.Amethyst, 2.Sapphire, 3.Topaz, 4.Emerald, 5.Ruby and 6.Diamond.
Color: 1.Purple, 2.Blue, 3.Yellow, 4.Green, 5.Red, and 6.White/Grayish
The number tells you the corresponding color to that jewel.
Special: It would be nice if you could do them in different shapes.
Thanks. And if you want credits just tell me and I put your name there
.
I need 6 different jewel sprites.
Size: 32x32 or 16x16.
What: 1.Amethyst, 2.Sapphire, 3.Topaz, 4.Emerald, 5.Ruby and 6.Diamond.
Color: 1.Purple, 2.Blue, 3.Yellow, 4.Green, 5.Red, and 6.White/Grayish
The number tells you the corresponding color to that jewel.
Special: It would be nice if you could do them in different shapes.
Thanks. And if you want credits just tell me and I put your name there
- Game Maker Community
- → Viewing Profile: Topics: Zpace
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content