-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Levels #6
Comments
The addon appears to support an admin tool that may have been used to create levels. I assume it was either a developer tool that was manually added or a separate addon. It would be pretty neat if we could find it or recreate it. |
Where in the code based did you see that? Could you share that? |
I have decrypted the levels, I think I will try to create an editor later when I will have time :) |
@adamz01h The code base makes references to a peggle editor command + object. I did some digging but I haven't been able to find a version of it online yet. @Andy1210 That looks pretty awesome! Are you going to go simple and just give a brick selector + placement tool or are you going to wire up more advanced features like automatic lines/curves? |
@ZombieProtectionAgency I think the editor was only an in-house stuff at PopCap, I mean I almost sure :) all the animated bricks are in the same coordinates. So I have to figure it out how to deal with them in the editor. Maybe I will need to add some kind of animation generator, and the existing ones should also be edited somehow of course. Difficult but at the end I will do it somehow :D |
https://github.com/Andy1210/wow_peggle |
Awesome work on this! I was able to load the development version and the level works great! Looking forward to the level editor tool. |
The editor is ready. I will write a documentation or something but the basics:
shortcuts:
When you save the level, you can override the original Levels.lua. For background the game will always try to load the appropriate bg##.tga and bg##_thumb.tga, So basically other than putting two tga images to the images folder and saving the Levels.lua file, you don't have to do anything else. I made the game to automatically use the new levels, we don't have to edit the game for this :) Try it out pls, and tell me if you would like to change something, or if you have any suggestions, ideas etc. PS: oh and its automatically saving everything what you are doing in the editor to local storage, so if you refresh the page, you wont lose your progress. If you want to reset the editor by making every progress lost you have to click on the reset editor button in the bottom right corner :) |
Playing around with it now, how/where did you get the background for Sulfuron Spire? it looks like popcap made it and fits soo well. Awesome job, im floored on how much you achieved in such a short time. |
My girlfriend took the screenshot in game and I just changed a bit the color of it to make it similar to the others :) |
We got the pictures for the future levels already :) Except for Draenor, there we don't know what should we put. |
I create a level and when I load it. Swatter reports: Here is my generated Levels.lua |
Damn I'm going to fix the editor in few mins :) |
thx for the report, I have fixed the editor. Reload the page, and then modify the rotation of the selected block from this picture from 21 to something else and then back to 21 just to save it with the correct values. The rotation is set as three digits in the game, and I made the editor like that when you rotate the blocks, but I forgot to add this logic to the placement, and you probably placed the item directly as rotated to 21deg. And unfortunately the editor saved it as 21 instead of 021 :) |
That fixed it! Is there a way to keep track of the number of bricks on a map? Official levels have like 90 - 110 pegs per map. It would be nice to track that. Otherwise great work! |
That's a good idea, I will add it later |
How did you create the thumbnail for lvl 13? |
I tok a screenshot from the editor |
I have added the block counter, you can find it on the top right corner in the heading of the level :) |
Awesome saw that got really busy with life thanks for the update. Also block "snapping" by holding control or something would be cool. |
New Levels
Since the Addon has most issues fixed. I am looking for some help creating some more levels.
- CataclysmSulfuron Spire - Created by Andy1210The text was updated successfully, but these errors were encountered: