Code

Discussion on Pac Maker

Discussion on Pac Maker

Cart 138 sales

OfficinePixel supports this item

Supported

44 comments found.

How can I put advertising in the game? I work with Google ads.

I’ve managed to get them to record scores. Look at: https://www.lanocion.games/estrategia/pacmaker/188

Apart from putting advertising. Is there another configuration to do?

Thank you.

I am Spanish and I translate with Google translator.

I just saw the game on my mobile and it goes very fast. Is there a way to make pac and ghosts go slower on mobile? They are very fast and it is very difficult to play. In the PC version it has good speed.

Good luck with your sales

hello, i’ve buy a licence for your game, pc maker. but i have a problem. i have dowloaded tiles software for customiza the level, but when i try do modify a level, the game crash. i have opened the .tmx file, and exported in .json format, following your guide. also if i made no change, but only export one of your .tmx file in .json, it crash. what i made wrong? thanks a lot, lorenzo

allora, pare che il problema sia che Safari blocca i popup, e l’apertura di un link in una nuovo tab per lui equivalga ad un popup. La soluzione potrebbe essere quella di fare aprire il link nella stessa finestra. Per fare ciò apri il file js/game.js, cerca window.open(PREFS.MORE_GAMES_URL.value) e sostituisci con document.location.assign(PREFS[“MORE_GAMES_URL”].value)

grazie. soluzione che avevo già addocchiato, ma non è ottimale, perché così esci dal gioco. dovrebbe esserci una soluzione ( ho visto un esempio fatto con phaser che funzionava su ios ) ma non riesco a trovarlo qua. magari melonJS ha delle soluzioni a riguardo?

Il gioco usa una versione un po’ datata di melonJS e all’epoca la policy di Safari era più permissiva. Una soluzione potrebbe essere quella di sovrapporre un elemento div cliccabile non visibile però richiede un po’ di cambiamenti nel codice

when I change the speed, which is way too high. the game stops in the middle and does not continue. If I reset the value in prefs.json, it works again. the game is too fast

hi, what speed value do you set?

a little slower would be great

I’ve uploaded an upgrade of the game, it was fixed a bug occurring when you change player default velocity for certain values. please try the new version

Hi, i want this but I want to add a 10 – 20-sec animation demo between every level.is this som thing you can do for us?

yes we can

Hello, three more questions :-) - I edited level in Tiled (version 1.2.4), but game won’t start after I uploaded .json file on server. Probably because structure of file is different, I noticed that, for example, setting for enemy behavior is different in new .json file than in your files. Maybe I should use older version of Tiled? - I want enemies behavior to be “chase” in order for game to be more difficult. But when our yellow hero eats up pill, enemies still chase him and he can eat them more easily. Is there any chance to have option for enemies to “runaway” when player eat red pill? - After player lost one life and level is reloaded, all dots (collectable objects) are reloaded also. Can you make to reload only not collected dots?

Thanks

Hello, sorry, I’m wasn’t aware that Tiled changed JSON format, please use a version of Tiled Editor of a couple of years ago.
As for the “chase” behavior you are right, it would be better if enemies will run away when the player eats the pill, but a modification of this kind is far more than a couple of line of code, so, I will take in count for the next update of the game but isn’t possible at the moment.
The same is true for the dots, this is how the game was designed and make the option you requested is not trivial, nothing complicated but needs a bit of work in different parts of the game.

Hello. Great work! Two questions: - when player finish level, we don’t want to give him other choice than to continue to next level. Can this be done? - Can we make in such a way that player finish, for example, three levels and then game ends, with standard option to submit score or go to main menu

Thanks, Ivan

Hi Ivan,
you need to change the source code in both cases so you need to overwrite the js/game.js file with the js/src/game.js file.
point 1) go to line 3798 where you will find the lines:
me.game.world.addChild((new menu_home(this.w/2-70,this.h/2-20)),40); me.game.world.addChild((new menu_restart(this.w/2,this.h/2-20)),40); me.game.world.addChild((new menu_continue(this.w/2+70,this.h/2-20)),40);
and substitute with:
//me.game.world.addChild((new menu_home(this.w/2-70,this.h/2-20)),40); //me.game.world.addChild((new menu_restart(this.w/2,this.h/2-20)),40); me.game.world.addChild((new menu_continue(this.w/2,this.h/2-20)),40);

point 2) go to line 3932 where you will find:
me.state.change(me.state.PLAY);
and substitute with:
if(game.data.level>3){ me.state.change(me.state.GAMEOVER); }else{ me.state.change(me.state.PLAY); }

Tnx a lot, work perfectly.

Can i use this game to facebook instant game?

hi there will it suppors to android or ios?

hello, the game runs on Android and iOS device, you can test it by yourself: http://pac-maker.ffx.it/

Hello,

I can’t get ahold of anyone that works at OfficinePixel. It’s been almost a week since our initial conversation. Can someone let me know what’s going on.

Thanks!

Hello, sorry, heavy flu jab take me into the bed and out of the office for the entire last week

Hi, I noticed a comment on the support from someone else and we were wondering if this is something you could do for us?...

“Hi There. we want to use this game as part of an online promo – offering a prize for the highest score. we need to customize the Save score page and php so a user can enter their email address too. Is this possible ? thanks a lot”

We would like the same functionality to add email address as well as name. We re happy to pay for this functionality adding.

Thanks Michael

Hi, we are busy until 30th August, if you are not in hurry we can implement it after this date. If you are interested please contact us privately

Hi,

I’ve followed the instructions for adding a new level but when I go to click on the level to select it in the game it’s not responding.

I’ve replaced level one with my custom level and updated the prefs.json

Could you help show me where I’m going wrong?

The game is at http://sytravelmaster.com/travelmaster-game/

Thanks Michael

Hi,

Thanks for pointing out the hidden levels. That seems fine now and my images are all linked as far as I can see but again when I click on level one it doesn’t start. Could you check everything is linked up properly for me?

Once I have this first level sorted I should be ok to follow for the rest.

Thanks Michael

hi,
done, you simply put some houses tiles in the path layer by mistake.

Great, thanks for your help again. It’s much appreciated.

Hi!

First of all, great work! So, I have been trying to change some art, right now the GUI from the home menu looks extremely blurry (background and the cover image), been trying to change drawImage parameter without luck. How can I improve image quality?

Thanks.

you can email me the info by using my profile page https://codecanyon.net/user/officinepixel

If I change the value of the resolution, the map looks super tiny and also after a while, the game crashed with an error about the tiles. Tried to change the tiles value that also creates a crash. :(

Hi,
tiles_width and tiles_height may assume the values of 32 or 64. The default value is 32 and the most of the levels that come with the game are designed for such resolution. If you need to change the tiles resolution you also need to design new levels for that resolution by using the Tiled editor. You can find an example of a level that uses 64×64 tiles inside the folder data/map, it’s named scroll_level_big.json

Hi, the game does’t start on Safari ios!!!

First time it starts, but if i reload the page the game crash until i clear the browser cache (tested on safari ios)

last iOS upgrade must have introduced a bug, we are investigating

Does it violate Bandai Namco’s right to use the PacMan Game?

hello
game mechanics can’t be copyrightable, Namco released Pacman game in 1980 but there were maze video games yet years before, for example, Head on was released in 1979.
Game characters, music, backgrounds are far from those featured in Namco game, for example, the main character in our game is a square with round edges while Pacman is a circle and so on.
That said, Pac Maker is intended as a template for building your own maze game. If you take a look at this two games:
https://codecanyon.net/item/escape-the-fuzz/13602034
and
https://codecanyon.net/item/mamma-mia-zombies/10490529
you will see they are very different from Pacman game, but, both are made by using Pac Maker as “engine”.

Can we have

1 – different illustrations for each enemy along with different power settings? or at least different illustration of enemy per level?

2 – Can we have different powerups with different power values?

Hello,
sorry, what you ask is not included into the game at the moment.

Hi, I would like to customize the Pac Maker, Can you contact me?

Thank you

hello, we can’t see your email so we can’t contact you. Can you contact us directly by using the form in on our profile? https://codecanyon.net/user/officinepixel

Hi,

my Contact

John Walter garcia

jwg@la-mina.de

Thanks

I will get in touch with you by email

Hi how can i adjust the game in the landscape? game.data.device_portrait_orientated = null; // true = portrait false = landscape Thank you

inside data/prefs.json file there are GAME_WIDTH and GAME_HEIGHT parameters. With those first two parameters, you can set the game resolution. If you set a width greater than the height, the engine will switch to landscape mode, otherwise, if the width is smaller than height, it will switch to the portrait mode. Naturally, you need game levels supporting this new game size. Inside data/map you can fin an example level named landscape_level_1

thank you it worked, but we can make the game field bigger? the intro is ok but the game is small Thanks

I’m not really sure if I got the meaning of your question. You can get a bigger level by designing your own level using Tiled editor. You can have bigger sprites by setting TILES_WIDTH and TILES_HEIGHT to 64 in prefs.json file, you have anyway to design up dedicated new levels. A demo level with 64 pixel sprites is available in map folder ad is named scroll_level_big.

Hi,

Nice game. I have a question. How can I change the power up pills by using a different image for each of them?

Thanks, Alex

Hi,
Thank you! If I’ve understood what you mean, well, it’s not that easy, you have to modify the game code to support that feature.
For example, you could add a property to the pill class where the property sets the image of each power-up then from the Tiled editor you can fill the property field with the desired value.
Lamberto

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey