Ludii Forum
For Discussing All Things Ludii
Ludii
Forum
Members
Search
Register
Login
Ludii
Forum
Members
Help
Search
Ludii Forum
Questions
About the Ludii Grammar
« Previous
1
2
3
4
5
6
7
Next »
(show Piece) + (piece Colour)
(show Piece) + (piece Colour)
Michael
Offline
Senior Member
Posts:
483
Threads:
162
Joined:
Aug 2020
#1
02-22-2021, 11:15 AM
When I try to use both these ludemes I get that HTML garbage thing. I have attached an example.
Attached Files
ShowAndColourTest.lud
(Size: 1.04 KB / Downloads: 1)
MatthewStephenson
Offline
Ludii Developer | Administrator
Posts:
355
Threads:
10
Joined:
Sep 2019
#2
02-22-2021, 11:37 AM
Hi,
You need to add curly brackets around the content of the graphics metadata section
(metadata
(graphics {
(show Piece State Middle)
(piece Colour Neutral
fillColour:(colour 0 0 0 0)
strokeColour:(colour 0 0 0 0)
)
})
)
Cheers,
Matthew
Michael
Offline
Senior Member
Posts:
483
Threads:
162
Joined:
Aug 2020
#3
02-22-2021, 11:42 AM
Ah! Thanks! Silly mistake.
«
Next Oldest
|
Next Newest
»
Users browsing this thread: 1 Guest(s)
View a Printable Version
Subscribe to this thread
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- Announcements
-- Discussion
Questions
-- About Ludii
-- About the Ludii Grammar
-- About the Ludii Source Code
-- About the Digital Ludeme Project
Suggestions
-- Submit Your Games
-- Games to Include
-- Ludii Features / Services
-- Suggest Concept
Problems
-- Ludii Player Problems
-- Game Problems
-- Grammar Problems
-- AI Problems
-- Website Problems
-- Forum Problems
-- Web Player Problems
Competitions
-- Ludii AI Competition 2022
-- Ludii AI Competition 2021
-- Computer Olympiad 2020
-- Ludii AI Competition 2020
Linear Mode
Threaded Mode