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

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 09 Feb 2013, 20:34

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
Last edited by Automatik on 20 Feb 2013, 17:05, edited 17 times in total.

User avatar
rokit
Posts: 2095
Joined: 03 Feb 2012, 00:47

Post » 09 Feb 2013, 20:37

WOW, will try this.

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 09 Feb 2013, 20:41

...
Last edited by Qcode on 21 Oct 2021, 09:09, edited 1 time in total.

User avatar
HansAgain
Posts: 1111
Joined: 03 Feb 2012, 18:51
Contact:

Post » 09 Feb 2013, 21:01

One word:
AWESOME!
EDIT:
Another "word":
SLEFHAZU
Last edited by HansAgain on 10 Feb 2013, 00:38, edited 1 time in total.

User avatar
LightningFire
Posts: 1828
Joined: 10 Mar 2012, 17:24
Contact:

Post » 09 Feb 2013, 22:03

This is really amazing. Good job.

Camewel
Posts: 2996
Joined: 02 Feb 2012, 21:32

Post » 09 Feb 2013, 23:06

How to outdo Maurice with style.

User avatar
idiot9.0
Posts: 1707
Joined: 09 Mar 2012, 10:28
Contact:

Post » 10 Feb 2013, 02:02

This is amazing. All the extras you added were just amazing. Great job.

User avatar
renhoek
Posts: 4545
Joined: 11 Feb 2012, 10:04

Post » 10 Feb 2013, 02:20

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.)

User avatar
TheSeek
Posts: 486
Joined: 21 Mar 2012, 06:31

Post » 10 Feb 2013, 05:16

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.

User avatar
Mari0Maker
Posts: 1348
Joined: 07 Apr 2012, 17:10
Contact:

Post » 10 Feb 2013, 05:55

Holy Hell, this is absolutley amazing, Auto.
Congrats on this amazing mod. :D

User avatar
TheJonyMyster
Posts: 1795
Joined: 03 Sep 2012, 05:12
Contact:

Post » 10 Feb 2013, 06:11

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.

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 10 Feb 2013, 15:00

...
Last edited by Qcode on 21 Oct 2021, 09:09, edited 1 time in total.

User avatar
JohnnyM21
Posts: 147
Joined: 09 Mar 2012, 13:26

Post » 10 Feb 2013, 15:06

Is this a Better Level Editor for Not PacMan (even though there was no previously existing level editor), is this like Mari0:SE?

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 10 Feb 2013, 15:22

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

User avatar
Legend_of_Kirby
Posts: 752
Joined: 14 Oct 2012, 05:37
Contact:

Post » 10 Feb 2013, 15:23

I deleted the original and replaced it with this, Its so good!

User avatar
TheJonyMyster
Posts: 1795
Joined: 03 Sep 2012, 05:12
Contact:

Post » 10 Feb 2013, 16:22

Please fix the no ghosts glitch.

User avatar
Bonko
Posts: 458
Joined: 13 Jun 2012, 00:59

Post » 10 Feb 2013, 16:25

Great mod.
Some of the awesome features, ive always wanted, like a pausr button and the level editor. Awesome job!

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 10 Feb 2013, 16:55

TheJonyMyster wrote:Please fix the no ghosts glitch.
https://www.dropbox.com/s/ejim7v1qnci78 ... PP-11.love

User avatar
Hatninja
Posts: 480
Joined: 03 Feb 2012, 18:42
Contact:

Post » 10 Feb 2013, 17:54

just epic

User avatar
ilarion1
Posts: 22
Joined: 24 Jan 2013, 17:22

Post » 10 Feb 2013, 20:27

awesome.

User avatar
Mariobros2
Posts: 293
Joined: 03 May 2012, 20:10
Contact:

Post » 10 Feb 2013, 20:41

Amazing mod! Also congrats for getting on the front page on Stabyourself.net

User avatar
Sunset_Moth
Posts: 781
Joined: 02 Sep 2012, 23:22
Contact:

Post » 10 Feb 2013, 20:43

How do you add warps?

User avatar
aerhx
Posts: 51
Joined: 02 Apr 2012, 00:13
Contact:

Post » 10 Feb 2013, 21:16

Erm.. v1.1 (edit: and v1.0) and Love 0.8 not happies:

Image

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 10 Feb 2013, 21:36

@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.

User avatar
Icet44
Posts: 1
Joined: 10 Feb 2013, 23:24

Post » 10 Feb 2013, 23:26

Hi, looks awesome, however I have not installed any StabYourself game mods yet. Please could someone tell me how to install this mod please? :)

User avatar
TheJonyMyster
Posts: 1795
Joined: 03 Sep 2012, 05:12
Contact:

Post » 10 Feb 2013, 23:27

Welcome!
Download love. https://love2d.org/
It should work.

How do you give people your custom levels?

User avatar
TheJonyMyster
Posts: 1795
Joined: 03 Sep 2012, 05:12
Contact:

Post » 11 Feb 2013, 00:16

Sorry for the double post, but I made a better Icon.
Image
Do you think there should be another plus?

User avatar
Hatninja
Posts: 480
Joined: 03 Feb 2012, 18:42
Contact:

Post » 11 Feb 2013, 02:39

oh no
it seems the game crashes when i try to play a custom level
no error or anything

User avatar
BobTheLawyer
Posts: 2232
Joined: 01 May 2012, 21:00

Post » 11 Feb 2013, 03:12

You need a fourth ghost.
Like in regular pac-man.

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 11 Feb 2013, 06:02

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
Last edited by Superjustinbros on 11 Feb 2013, 16:42, edited 1 time in total.

User avatar
idiot9.0
Posts: 1707
Joined: 09 Mar 2012, 10:28
Contact:

Post » 11 Feb 2013, 07:00

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.

User avatar
renhoek
Posts: 4545
Joined: 11 Feb 2012, 10:04

Post » 11 Feb 2013, 09:45

I made a level and tried to save it (I changed the name, just wandering if that was the problem) and the game crashed.

User avatar
Mari0Maker
Posts: 1348
Joined: 07 Apr 2012, 17:10
Contact:

Post » 11 Feb 2013, 22:22

Almost everyone is having game crashes except for me...

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 11 Feb 2013, 22:41

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.
Last edited by Superjustinbros on 11 Feb 2013, 22:49, edited 2 times in total.

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 11 Feb 2013, 22:47

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)

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 11 Feb 2013, 22:51

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?

User avatar
TheSeek
Posts: 486
Joined: 21 Mar 2012, 06:31

Post » 12 Feb 2013, 01:17

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.

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 12 Feb 2013, 03:16

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.

User avatar
Sind
Posts: 11
Joined: 05 Feb 2012, 19:08

Post » 12 Feb 2013, 16:05

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)

User avatar
copy
Posts: 417
Joined: 17 Apr 2012, 16:29
Contact:

Post » 12 Feb 2013, 18:27

Well, its official.
Not Pacman ++ is one of the greatest things on StYs

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 12 Feb 2013, 22:40

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.

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 12 Feb 2013, 23:23

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.)

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 13 Feb 2013, 01:07

*(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.

User avatar
TheJonyMyster
Posts: 1795
Joined: 03 Sep 2012, 05:12
Contact:

Post » 13 Feb 2013, 05:03

TheJonyMyster wrote:Sorry for the double post, but I made a better Icon.
Image
Do you think there should be another plus?

User avatar
Automatik
Posts: 1073
Joined: 20 Jul 2012, 17:54
Contact:

Post » 13 Feb 2013, 14:30

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.

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 14 Feb 2013, 03:49

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}}
Last edited by Superjustinbros on 14 Feb 2013, 04:55, edited 2 times in total.

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 14 Feb 2013, 04:29

...
Last edited by Qcode on 21 Oct 2021, 09:08, edited 1 time in total.

User avatar
D-Pad
Posts: 113
Joined: 01 Jul 2012, 06:17

Post » 15 Feb 2013, 09:40

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.

User avatar
jokekid
Posts: 81
Joined: 05 Feb 2013, 23:28

Post » 15 Feb 2013, 14:33

you should work with maurice on SE...  inb4healreadyis 

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 16 Feb 2013, 02:31

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

Post Reply