Scrolling Game Development Kit Forum
Welcome,
Guest
. Please
login
or
register
.
2010-09-09, 05:27:47 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
8920
Posts in
1007
Topics by
168
Members
Latest Member:
mogzdogz
Scrolling Game Development Kit Forum
SGDK Version 2
General Discussion
More issues (Map Editor)
« previous
next »
Pages:
[
1
]
Author
Topic: More issues (Map Editor) (Read 120 times)
durnurd
Lead Lemming
Expert
Fanatic
Posts: 1155
Games completed so far: 0
More issues (Map Editor)
«
on:
2010-03-27, 07:40:20 PM »
When editing a map, I can name plans whatever I want, but in the plan editor, when I try to name them, it says only letters, digits, and spaces are allowed. There's nothing stopping me from putting illegal characters in the plan's name from the map editor. The same is true of naming static sprite instances. In my case, I was trying to use colons in the plan names. Specifically, something like "Message: Entry" "Message: Off Limits" etc. It would be useful to be able to use colons in plan names, and perhaps replace them with underscores at compile time.
Speaking of which, underscores are perfectly acceptable as far as the compiler was concerned, but the plan editor wouldn't let me put them in as part of the name.
The other thing I wanted to mention is that I really like how I can alphabetize the plans list, and I wish there were a way to do the same with the sprites list. Manual ordering would also be useful.
«
Last Edit: 2010-03-27, 07:44:23 PM by durnurd
»
Logged
Ed
wa
rd
Da
ss
me
ss
er
bluemonkmn
SGDK Author
Administrator
Fanatic
Posts: 2146
Re: More issues (Map Editor)
«
Reply #1 on:
2010-03-28, 09:07:00 AM »
Underscores are prevented because
1. Plan names have to be unique.
2. Spaces are converted to underscores by SGDK2's compile process.
3. What would happen if you had one plan named "A B" and another "A_B". They would look unique before you compiled, but SGDK would convert them to the same name.
Space seems to be more useful to an end user than underscore, so I just ruled out underscore and accepted space instead.
Logged
Ben Marty
Scrolling Game Development Kit 2
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SGDK Version 2
-----------------------------
=> News and Announcements
=> Help, Errors, FAQ
=> General Discussion
=> Projects
-----------------------------
SGDK Version 1
-----------------------------
=> News and Announcements
=> Help/FAQ
=> General Discussion
=> Script
=> Projects
-----------------------------
General
-----------------------------
=> Game Development Artistry
=> Off-Topic
Loading...