Page 1 of 3

Not Pacman ++ : Level Editor, More options. (v1.22)

Posted: 09 Feb 2013, 20:34
by Automatik
After one month of (mostly)laziness, here is:
Image
A mod which add a level editor, more options(1st person, zoom, Tiny gui, fullscreen), animations in the menu.
Download:
Note that you need Love2d 0.8.0 (Not 0.7.2) to run this. Download it here : http://love2d.org
V1.22https://www.dropbox.com/s/ceuccc9h54kuf ... PP122.love
Fixed edit walls.
V1.21https://www.dropbox.com/s/e875fe83yadew ... PP121.love
Fixed Crashing when losing.
V1.2:https://www.dropbox.com/s/9jyracbmeqxz4 ... nPP12.love
Mirror:http://www.mediafire.com/?5at9ldx5jo0pasj

Code: Select all

-Loading progress bar
-In select level Don't crash when broken level
-Game don't use love.timer.getTime(), but dt
-Variable ghosts number
-With separate highscores!
-Color palettes
-Warps
-Message in editor "Really exit"?
=Cheats
	-Bullet time
	-Camera
	-Ghost roll eyes

-Classic mode's stuff now load from a json file.
-Sounds now in a table
-override love.errhand
-vector mode
-Now actually change the background color
-New Icon
-Ghosts now don't have colors hardcoded
-View Decalage
-Pellets Decalage
=Changed how editor work
	-Tools are now Create/Edit/Pellets/Remove
	-Color Flags can use the palette 
v1.1:https://www.dropbox.com/s/ejim7v1qnci78 ... PP-11.love
Mirror : http://www.mediafire.com/?vz7d37w67k2irq3
(Fix 0 ghosts glitch, and add a "continue" item to the main menu when you quitted the game)

v1.0 : https://www.dropbox.com/s/ro99hijd5b8ym ... manPP.love
Mirror : http://stabyourself.net/stuff/notPacmanPP.love
Other mirror : http://www.mediafire.com/?wmdwrwokeslhfra
Screenshots:
Image
(The big screenshots were fullscreen screenshots resized, that's why they look like shit)
What it add:

-Customs Levels
  • Highscores
  • Infinites
  • Dynamic boxes(they fall)
  • 4 levels included.(Not the best quality)
  • Pellets aren't tile-based
  • Use "scale" only in the draw part.
-Level Editor
  • Flexible Flags system
    • Change gravity, level colors, lifes and force 1st person mode and tiny gui
    • Pacman can make light when power-upped
    • Can make pacman and ennemies bounce
    • Colors,numbers and boolean
    • Easy to expand: add an entry in a table
  • Walls editors
  • Help
  • Symmetry
  • Separates Ghosts
  • Scrolling
-Save/Load menu
  • Input box
  • List of levels
  • Click on a level to put it in the input box
-Level selections
  • Highscores
  • Progressive loading
  • Cool zooming effect on the thumbnail when selected
  • Small thumbnails
  • Scroll
-Better options screen
  • Prettified
  • New options: 1st person, zoom, fullscreen, tiny gui
  • Can be used with mouse
  • More flexible
-Better main menu
  • Highscores bar at the top, with a nice gradient when in fullscreen
  • Has two + in the logo
  • Can quit
  • Can select with mouse
  • Intro that "zoom" instead of "pushing-up"
  • Smoothed arrow
  • Continue item available when you just quitted the game.

-Pause
  • Show up in classic mode and in "custom level mode"
  • Can restart,continue or quit the level
  • Can change volume
-Other stuff
  • Pacman drawn with love.graphics.arc()
  • Fixed 1st person mode
  • Fixed fullscreen
  • Fixed (?, Not tested) joysticks(If you want to fix it in your 0.8.0 mod, replace every instance of "love.joystick.getAxis(0" to "love.joystick.getAxis(1")
  • Made a tiny gui mode
  • Pellets counter in tiny gui and normal gui
  • Animations when going into another gamestate.
  • F2 for screenshots
  • Ghosts drawn in a more flexible manner(I can easily add ghosts colors)
  • The 'GAMEOVER' font is now actually a font
  • Put some functions in a separate file

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 09 Feb 2013, 20:37
by rokit
WOW, will try this.

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 09 Feb 2013, 20:41
by Qcode
...

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 09 Feb 2013, 21:01
by HansAgain
One word:
AWESOME!
EDIT:
Another "word":
SLEFHAZU

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 09 Feb 2013, 22:03
by LightningFire
This is really amazing. Good job.

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 09 Feb 2013, 23:06
by Camewel
How to outdo Maurice with style.

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 02:02
by idiot9.0
This is amazing. All the extras you added were just amazing. Great job.

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 02:20
by renhoek
wow I didn't even bother with not pacman but this is amazing, I'm defiantly going to try this out. (wander how maurice is going to react to this.)

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 05:16
by TheSeek
This feels like SE for Not Pacman, amazing.

The only bug i found is when you create a map with no ghosts: it works fine in the editor, but if you save the map, when you enter in the custom level menu, it crashes giving this.

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 05:55
by Mari0Maker
Holy Hell, this is absolutley amazing, Auto.
Congrats on this amazing mod. :D

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 06:11
by TheJonyMyster
TheSeek wrote:This feels like SE for Not Pacman, amazing.

The only bug i found is when you create a map with no ghosts: it works fine in the editor, but if you save the map, when you enter in the custom level menu, it crashes giving this.
I learned that the hard way.

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 15:00
by Qcode
...

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 15:06
by JohnnyM21
Is this a Better Level Editor for Not PacMan (even though there was no previously existing level editor), is this like Mari0:SE?

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 15:22
by Automatik
JohnnyM21 wrote:Is this a Better Level Editor for Not PacMan (even though there was no previously existing level editor)
It's a Level editor mod.
JohnnyM21 wrote:is this like Mari0:SE?
If you think of Mari0 SE as "more stuff", then yeah.
If you think of Mari0 SE as "online multiplayer, better portal mappack and vertical scrolling", then no . :p

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 15:23
by Legend_of_Kirby
I deleted the original and replaced it with this, Its so good!

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 16:22
by TheJonyMyster
Please fix the no ghosts glitch.

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 16:25
by Bonko
Great mod.
Some of the awesome features, ive always wanted, like a pausr button and the level editor. Awesome job!

Re: Not Pacman ++ : Level Editor, More options, and Polishin

Posted: 10 Feb 2013, 16:55
by Automatik
TheJonyMyster wrote:Please fix the no ghosts glitch.
https://www.dropbox.com/s/ejim7v1qnci78 ... PP-11.love

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 10 Feb 2013, 17:54
by Hatninja
just epic

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 10 Feb 2013, 20:27
by ilarion1
awesome.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 10 Feb 2013, 20:41
by Mariobros2
Amazing mod! Also congrats for getting on the front page on Stabyourself.net

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 10 Feb 2013, 20:43
by Sunset_Moth
How do you add warps?

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 10 Feb 2013, 21:16
by aerhx
Erm.. v1.1 (edit: and v1.0) and Love 0.8 not happies:

Image

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 10 Feb 2013, 21:36
by Automatik
@bubba_nate :
You don't: I didn't coded that in.
But I'll put these in the next version.
@aerhx:
Uhhhh... Wait. Does this happen with the normal not Pacman?
Because before saving the highscores at startup, it should load/create it first.
The problem here is that oddly, it didn't.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 10 Feb 2013, 23:26
by Icet44
Hi, looks awesome, however I have not installed any StabYourself game mods yet. Please could someone tell me how to install this mod please? :)

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 10 Feb 2013, 23:27
by TheJonyMyster
Welcome!
Download love. https://love2d.org/
It should work.

How do you give people your custom levels?

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 00:16
by TheJonyMyster
Sorry for the double post, but I made a better Icon.
Image
Do you think there should be another plus?

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 02:39
by Hatninja
oh no
it seems the game crashes when i try to play a custom level
no error or anything

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 03:12
by BobTheLawyer
You need a fourth ghost.
Like in regular pac-man.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 06:02
by Superjustinbros
And arcade-accurate colors (not based on the NES' palette) and/or the option to set number of ghosts from three to eight like my own mod so we get an extra five ghosts? And maybe a way to change the quick shortcut keys (zoom in, zoom out, pause, unpause, continue, restart, and quit during pause)

EDIT: The editor seems very complex. Maybe you could create an alternative tile-based "simple" editor kind of like what Mari0 has? (wall building/erasing, with a feature to signify what walls are bouncy, player/ghost spawns (can be placed over pellets), level height/width, defining inner wall, outer wall, and pellet colors (like in Champ Ms. Pac-Em), full horizontal/vertical warp tunnel configuration, toggable symmetry, full Cut/Copy/Paste mechanics with walls, dots or both with rotation, place the "ghost pen door" that neither Pac-Man nor the ghosts can enter, an ability to define what walls are "unattached" and move freely with the level's rotation, and how long power pellets last in each level) And also give players the ability to individually color each of the ghosts (the first eight) with RGB sliders.)

I'd also like to know how I place down the "fire" pellets as seen in that one purple maze.

But seriously, probably one of the best modifications of NPM I've seen yet. This should really get a spot on the Stabyourself front page.

2nd EDIT: When I tried adding drop shadows to the "big font" graphic and then going to the custom levels gives me this nice error message:
Image

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 07:00
by idiot9.0
IMO the editor is just fine, it just takes a bit of time to get used to it.

The only things I would request be added to this mod is custom background support for the mazes (just so it makes it easier for me to recreate maps from other games, but it also could be used for.... custom backgrounds to make it snazzy.) and also a confirmation message when exiting the editor. I've hit escape a few times while in it without saving and lost all my work. It'd be nice to see "Really exit? Make sure to save your work before you do" before I quit it so I don't lose my work or exit by accident. Again.

Other than that, my previous statement still stands. This is an amazing mod.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 09:45
by renhoek
I made a level and tried to save it (I changed the name, just wandering if that was the problem) and the game crashed.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 22:22
by Mari0Maker
Almost everyone is having game crashes except for me...

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 22:41
by Superjustinbros
I keep getting crashes often on whenever I try to load the editor.

I also find you should give the "Fire Pac-Man" a bit more of a purpose than just a graphical effect, like maybe it increases the range of eating pellets/ghosts so they're easier to collect, but it doesn't change Pac-Man's actual size?

I also still can't find the key that unpauses the game as it's unlisted on the pause screen.

P.S. It'd be pretty entertaining to see Zero-Gravity Pac-Man in this mod; including a special variety of Power Pellet that causes gravity to shift to one side or corner of the maze.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 22:47
by Automatik
xXxrenhoekxXx wrote:I made a level and tried to save it (I changed the name, just wandering if that was the problem) and the game crashed.
Error message?
Superjustinbros wrote: 2nd EDIT: When I tried adding drop shadows to the "big font" graphic and then going to the custom levels gives me this nice error message:
Image
It's odd, because the json lib don't have anything to do with the font.
Maybe a level was broken?
hatninja wrote:oh no
it seems the game crashes when i try to play a custom level
no error or anything
Uhh... I think the problem here is love2d.
I don't see why it should crash without any message.
TheJonyMyster wrote: How do you give people your custom levels?
Custom levels -> press M -> you have the level folder.
Superjustinbros wrote:I keep getting crashes often on whenever I try to load the editor.
Error message?
Superjustinbros wrote:I also still can't find the key that unpauses the game as it's unlisted on the pause screen.
Return.
The Return symbol wasn't obvious enough? (Not trying to be mean)

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 11 Feb 2013, 22:51
by Superjustinbros
Automatik wrote: Return.
The Return symbol wasn't obvious enough? (Not trying to be mean)
There is no Return symbol. and this is the error I'm getting now whenever I try to open the editor.
Image

EDIT: Ever decided on adding records for a Score Attack mode?

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 12 Feb 2013, 01:17
by TheSeek
Mari0Maker wrote:Almost everyone is having game crashes except for me...
Me neither, everything works perfectly.
Superjustinbros wrote: There is no Return symbol.
Image
Superjustinbros wrote: this is the error I'm getting now whenever I try to open the editor.
image
I know nothing about coding, but i guess this is pretty obvious...
you probably deleted "editorhelp.txt" from the love file by mistake, cuz:
1) it's pretty impossible you downloaded a love file with a missing file since it's the same love file everyone is using.
2) the error is easily replicable by deleting the "editorhelp.txt" file.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 12 Feb 2013, 03:16
by Superjustinbros
TheSeek wrote:
Mari0Maker wrote:Almost everyone is having game crashes except for me...
Me neither, everything works perfectly.
Superjustinbros wrote: There is no Return symbol.
Image
Superjustinbros wrote: this is the error I'm getting now whenever I try to open the editor.
image
I know nothing about coding, but i guess this is pretty obvious...
you probably deleted "editorhelp.txt" from the love file by mistake, cuz:
1) it's pretty impossible you downloaded a love file with a missing file since it's the same love file everyone is using.
2) the error is easily replicable by deleting the "editorhelp.txt" file.
Oh, I see what I'm doing wrong. >_<

Trying out the editor right now, By now the only things I'd consider adding would be to make walls attachable to one another (so we can get S, T, and Z-shapped walls and such in a much easier fashion), add wall snapping (to grids of varying sizes and/or other walls and pellets), an addible ghost pen+door, and the ability to change colors for the first eight ghosts in the options menu (all ghosts after repeat). For the main game, I'd like a Score Attack mode to be added, background support (including alingement and rescaling) and variations that include three, four, six, and eight ghosts (the final two options adding an additional four pellets), similar to my and Bob's mods.

If you still decide to do a tile-based editor as an option alongside the current editor, each tile should represent a 8x8 pixel area, which a single gap needs to be 16 pixels wide for Pac-Man and the ghosts to travel through (outer walls are made four pixels smaller). You should add a warp editor as a tool on the top right, and allow a wall to be removed instantly by hitting backspace/delete while hovering the mouse over a wall (including the ability to drag and stretch maze walls with the mouse, just like you can a desktop window).

If you could also fix a glitch that when moving at fast speeds, Pac Man doesn't eat some pellets and just passes straight through.

And the option to switch between Arcade and NES colors. By default I'd like it to be Arcade, since that's where the sound effects and graphics originate from, but the menu sprites, colorization, and the colors of the three ghosts used in the main game are the NES color schemes.

Someday I'm sure to get these 30+ mazes into the game somehow when the editor becomes more simple...
http://i.imgur.com/C8Vht.png
Linked because it's a mighty big image.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 12 Feb 2013, 16:05
by Sind
aerhx wrote:Erm.. v1.1 (edit: and v1.0) and Love 0.8 not happies:

 Image 
I get the same problem =/
I'm running on a Windows with 64bit love 0.8.0(I also tried with the 32-bit version)

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 12 Feb 2013, 18:27
by copy
Well, its official.
Not Pacman ++ is one of the greatest things on StYs

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 12 Feb 2013, 22:40
by Superjustinbros
So it seems Maurice saw this mod, because it's now on the StabYourself front page.

Automatik, if you decide on adding in variants to the original NPM maze that adds more ghosts (alike mine and Bob's mods), I'd be very willing to design the icons for you.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 12 Feb 2013, 23:23
by Automatik
Don't worry about that, I recoded how the ghosts's sprites are drawn so that the ghosts's colors are defined in a simple table.

Code: Select all

ghostcolors={{255,171,255},{255,159,112},{132,193,255}}
(Btw, I'm inplementing different color palette support, and choosable number of ghosts for the classic mode.)

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 13 Feb 2013, 01:07
by Superjustinbros
*(I defined quite a few ghost colors)

Code: Select all

ghostcolors={{255,000,000},{255,185,255},{000,255,255},{255,185,081},{183,071,255},{000,151,000},{255,255,000},{128,128,128},{222,222,255},{255,183,174},{000,255,000},{183,103,081},{071,183,174},{000,000,255}}
Would it be possible to also configure (optional) ghost respawn points after eating one? And maybe speed up the speed of the Power Pellet's flashing so it matches with the arcade?

EDIT: If you exit a game and continue it from the main menu while in "Powered-Up" mode, the power up sound will mute, and if it's power expires while at the main menu, you (may) lose it when you return to the game.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 13 Feb 2013, 05:03
by TheJonyMyster
TheJonyMyster wrote:Sorry for the double post, but I made a better Icon.
Image
Do you think there should be another plus?

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 13 Feb 2013, 14:30
by Automatik
TheJonyMyster : Image modified it so that it fit in 16*16
Otherwise, it's good, and it's now in the game.
EDIT: If you exit a game and continue it from the main menu while in "Powered-Up" mode, the power up sound will mute, and if it's power expires while at the main menu, you (may) lose it when you return to the game.
Fixing it.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 14 Feb 2013, 03:49
by Superjustinbros
When using the "Erase" function to clear all of an particular feature in the editor, it'd be best to have a command prompt that says "Reset all (feature name)?" I'm still quite keen on using a keyboard's backspace/delete key to quickly remove a wall in the editor. Also, maybe axis support for placing anything else other than just walls (excluding Pac-Man, since there can only be one of him each level), and the option to directly type in the numbers on the RGB sliders so it can be done faster.

EDIT: Here's my color experimenting in better detail:
Image
Every color used in the arcade Pac-Man multikit hack Super ABC. Soon after I added and eighteenth color based on one of the colors used in Pac & Pal (255,033,174), which is not shown in the pic.

Code: Select all

ghostcolors={{255,000,000},{255,185,255},{000,255,255},{255,185,081},{183,071,255},{000,151,000},{255,255,000},{128,128,128},{222,222,255},{255,183,174},{000,255,000},{183,103,081},{071,183,255},{255,255,174},{071,183,174},{222,151,081},{000,000,255},{255,033,174}}
2nd EDIT: You can never have too many ghosts! (hur hur)
Image

Code: Select all

ghostcolors={{255,000,000},{255,185,255},{000,255,255},{255,185,081},{183,071,255},{000,151,000},{255,255,000},{128,128,128},{103,071,000},{222,222,255},{255,183,174},{000,255,000},{183,103,081},{071,183,255},{255,255,174},{071,183,174},{222,151,081},{000,000,255},{255,033,174},{151,255,000},{103,000,000},{255,151,174},{183,183,000},{000,000,174},{183,033,081},{222,103,000},{103,071,174},{330,103,255},{255,222,174},{000,071,000}}

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 14 Feb 2013, 04:29
by Qcode
...

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 15 Feb 2013, 09:40
by D-Pad
Now this is DEFINATELY not Pac-Man. Level Editor, First Person, and much more makes this the best mod to come to SY forums. You are an awesome modder, sir.

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 15 Feb 2013, 14:33
by jokekid
you should work with maurice on SE...  inb4healreadyis 

Re: Not Pacman ++ : Level Editor, More options. (v1.1)

Posted: 16 Feb 2013, 02:31
by Superjustinbros
So has anyone been able to create a custom maze for NPM++?

I would have if there was a way to select everything but the pellets, because this happened...
Image
For the curious, here's what I was trying to recreate, the middle maze in the top row:
Image