PDA

View Full Version : Another Multiplayer-Bomber Clone


Nicknack
11-04-2008, 09:38 PM
thanks to lopez1de i was able to write a multiplayer version of my bomber clone and here it is:

instructions: 1. Download, unzip and move the two folders on two devices. Move also to both folders a fitting ppl.exe for the specific device.
2. Tweak the config.txt files to your setting (port+ip).
3. Etablish a connection with a bluetooth-PAN.
4. First run the server prog (your ppl.exe), then the client.
5. Play it and give me feedback ;)

To-Do List:
- tcp conversion
- optimations (graphics/code/gameplay)
- tutorial (newsletter?)
- screenshots :p

Nicknack
11-05-2008, 08:21 PM
ok here is the promised screenshot. next will be the tcp port for LANs with pcs :)

ps: i have used a shorter way than the described one in screenshot.ppl to take a screeny:

s$ = NewSurface(240,320);
Setrendertarget(s$);
Drawsurface(buffer%,s$,0,0,0,0);
Setrendertarget(buffer%);
SaveSurface(s$, AppPath$ + "screenshot");
FreeSurface(s$);
haven't expected that's working well :D

lopez1de
11-06-2008, 03:18 PM
This looks great. Bomberman rules. It's one of my favorite classic games (no, pacman isn't and wasn't :p )
I wish I had a second player who play with me together.

EDIT: I'm wondering how to open/run a .ppc file? Can't execute the game.

Nicknack
11-06-2008, 03:45 PM
since i have only the standard version of ppl yet i'm not able to compile exes yet, but luckily there i another way to run the comiled code:
1. compile the source code and rename the resulting ppc file to Autorun.ppc
2. copy a ppl.exe file (e.g. the one in the runtime folder on desktop) to same directory as the Autorun.ppc and run the ppl.exe

since i have already done the first step, you have only to do the second ;)

edit: keep in mind the actual version works only on ppc, so you have to use the IDE's ppl.exe file!

Nicknack
11-07-2008, 06:23 PM
ok here is the port for normal LAN's, i have tried to upload it directly with included ppl.exe files, but it exeeds upload limit :rolleyes:

kornalius
11-07-2008, 10:55 PM
Please re-distribute the PPL.EXE file. It is registered with your name in it as a Standard version. Only with the Pro version you can re-distribute any .EXE's.

Nicknack
11-08-2008, 10:01 AM
oh, in other words no one can do anything with my .ppc files without my ppl.exe?
then here we go again with combined rar and zip compression:

kornalius
11-08-2008, 09:01 PM
Exactly. You can only redistribute executables (even PPL.EXE) if you create an executable with the Pro version. The other method is to allow owners to use the PPL.EXE with the autorun.ppc for their own projects. Anyway, it won't be as important with PPL 2.0 since there will be only one version of the compiler/interpreter (the full featured).

lopez1de
11-13-2008, 12:37 PM
Compiling source code to .exe is a pro feature? :rolleyes: :D