Jump to content


  • Please log in to reply

Pushmo/Pullblox Level Editor

, by elisherer (Go to first unread post)
elisherer Post #1 Posted 09 January 2012 - 08:35 PM

    I ♥ 3DS

  • PipPipPipPipPip

  • Group: Members
  • Posts: 567
  • Member No.: 235,605
  • Joined: 16-December 09
  • Location: 3DBREW_ORG______Posts: 900,009

  •  

Just finished making it...

Website: http://code.google.c...hmoleveleditor/


Posted Image

Functions:

* Open from QR Code
* Make QR Code / Card
* Load/Save in a binary format
* Import from a picture
* Full 'Pushmo Studio' editing...

To come:

* Translations
* Undo / Redo

Release Log:

v1.3.1

* fixed check for updates on startup
* fixed new file saving bug
v1.3
* Accurate palette (thanks to dukesrg)

* Language file is the same as 1.1.9
v1.2
* Added modification by caitsith2 for the Palette editor
* Fixed a localization bug..where ini in folders are read too..
* About box updated..
v1.1.9
* Added checking for updates (can be disabled)
* Retro palette is now accurate (thanks caitsith2)
* Changed manhole logic: Upside-down determined by the location
* All pushmo's flags are now documented
* Added 'Large' flag in the properties (doesn't seem to matter)
* Fixed some bugs
v1.1.7
* Added credits for more sources
* Added localization
* Added show grid checkbox
* Modified the look of the QR Card (nicer)
* Modified the workspace for background and transperancy
v1.1.5
* fixed: transparency when importing
* fixed: pullout switches change of color
* added: save button
v1.1.0
* fixed: error when dragging to away from the top or the left
* fixed: error when loading a picture which Height > Width
* fixed: error when importing a picture, palette doesn't update

Edited by elisherer, 09 February 2012 - 12:52 AM.



frogboy Post #2 Posted 09 January 2012 - 08:48 PM

    Ribbit


  • Group: Members
  • Posts: 1,045
  • Member No.: 290,925
  • Joined: 06-December 11
  • Location: Aperture Science

  •  

Awesome! *gets to work*


Snailface Post #3 Posted 09 January 2012 - 09:01 PM

    don't sware at me butt bleeper.


  • Group: Members
  • Posts: 2,313
  • Member No.: 262,855
  • Joined: 20-September 10
  • Location: 0x80000

  •  

This is absolutely amazing! Great work, my friend. ^_^

I found a small bug though. If you click and drag off the chart you get a unhandled exception 'out of array bounds' error. The program doesn't crash though, so you can probably just ignore it. :P
<--Papa Blox is just beside himself with happiness. Its so obvious, isn't it?

To anybody: I can't get the import picture feature to work without errors, any solutions?



Edited by Snailface, 09 January 2012 - 09:15 PM.


vashgs Post #4 Posted 09 January 2012 - 09:17 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 177
  • Member No.: 116,257
  • Joined: 02-February 08

  •  

I'll work on getting your exact values for you later, Eli :) Nice release, buddy! The picture importing still needs a bit of work, it looks like. Looks like you're using the logic we discussed last night :)

EDIT: Import from image seemed to work perfectly for me ;) I'll keep trying to produce the errors others are experiencing and see if I can pinpoint it in your code.

Edited by vashgs, 09 January 2012 - 09:26 PM.


frogboy Post #5 Posted 09 January 2012 - 09:17 PM

    Ribbit


  • Group: Members
  • Posts: 1,045
  • Member No.: 290,925
  • Joined: 06-December 11
  • Location: Aperture Science

  •  

View PostSnailface, on 09 January 2012 - 09:01 PM, said:

To anybody: I can't get the import picture feature to work without errors, any solutions?

Whenever I get this error, it's always on the same picture. I've only gotten the error on one picture, I'm not sure if it's a compatibility issue with certain file types or something else completely.


elisherer Post #6 Posted 09 January 2012 - 09:46 PM

    I ♥ 3DS

  • PipPipPipPipPip

  • Group: Members
  • Posts: 567
  • Member No.: 235,605
  • Joined: 16-December 09
  • Location: 3DBREW_ORG______Posts: 900,009

  •  

its being fixed don't worry about it:

* error when dragging to away from the top or the left: FIXED
* error when loading a picture which Height > Width: FIXED
* error when importing a picture, palette doesn't update: FIXED

new version soon...

Edited by elisherer, 09 January 2012 - 09:48 PM.


elisherer Post #7 Posted 09 January 2012 - 09:51 PM

    I ♥ 3DS

  • PipPipPipPipPip

  • Group: Members
  • Posts: 567
  • Member No.: 235,605
  • Joined: 16-December 09
  • Location: 3DBREW_ORG______Posts: 900,009

  •  

v1.1
* fixed: error when dragging to away from the top or the left
* fixed: error when loading a picture which Height > Width
* fixed: error when importing a picture, palette doesn't update


celcodioc Post #8 Posted 09 January 2012 - 10:00 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 186
  • Member No.: 288,065
  • Joined: 13-November 11

  •  

Another great program, good job eli :D

But hey, why did you remove that dynamically colored pullout switch icon? It was in r11...
EDIT: And a suggestion: A regular "Save" feature, it's kinda annoying to have a dialog pop up every time you want to save something...

Edited by celcodioc, 09 January 2012 - 10:02 PM.


Achilles Post #9 Posted 09 January 2012 - 10:08 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 106
  • Member No.: 30,071
  • Joined: 28-February 05

  •  

Holy freakin' awesome! GREAT WORK! The only issues I see so far are an incorrect color pallete (importing an image looks great in your app, but the colors are wrong in the game) and adding a "save" feature would be great so we don't need to write out QR codes any time we want to save our in-progress level.


elisherer Post #10 Posted 09 January 2012 - 10:19 PM

    I ♥ 3DS

  • PipPipPipPipPip

  • Group: Members
  • Posts: 567
  • Member No.: 235,605
  • Joined: 16-December 09
  • Location: 3DBREW_ORG______Posts: 900,009

  •  

Sorry for the mess..now it's 1.15...


Snailface Post #11 Posted 09 January 2012 - 10:21 PM

    don't sware at me butt bleeper.


  • Group: Members
  • Posts: 2,313
  • Member No.: 262,855
  • Joined: 20-September 10
  • Location: 0x80000

  •  

View PostAchilles, on 09 January 2012 - 10:08 PM, said:

Holy freakin' awesome! GREAT WORK! The only issues I see so far are an incorrect color pallete (importing an image looks great in your app, but the colors are wrong in the game) and adding a "save" feature would be great so we don't need to write out QR codes any time we want to save our in-progress level.

Just 'save as' bin file and 'open bin' to retrieve it.

Also, the color pallete of the game is very limited so the app has to approximate color values. (The adjustment could be made in real time though) I think we're spoiled enough as it is though, this is so awesome.

Lol, 2000 snail droppings ^_^

:grog:



Edited by Snailface, 14 January 2012 - 03:32 AM.


Seaking Post #12 Posted 10 January 2012 - 01:16 AM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 731
  • Member No.: 268,307
  • Joined: 26-November 10

  •  

ladders do not work correctly in game, choosing an upside down one on the program makes a normal ladder in game.


caitsith2 Post #13 Posted 10 January 2012 - 04:10 AM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 163
  • Member No.: 19,974
  • Joined: 16-January 04

  •  

Bug fix for you. Bug is if you zoom the QR code preview, then move the mouse into the right or bottom half of the preview image.

CODE
private void pictureBox_MouseMove(object sender, MouseEventArgs e)
		{
			var clr = _bmp.GetPixel(e.X / (btnZoomIn.Checked ? 2 : 1), e.Y / (btnZoomIn.Checked ? 2 : 1));
			lblColor.Text = string.Format("RGBA({0},{1},{2},{3})", clr.R, clr.G, clr.B, clr.A);
		}



While we are at it, inside of btnZoomIn_Click, at the end of the existing code, insert this line.

CODE
btnZoomIn.ToolTipText = (btnZoomIn.Checked ? "Zoom Out" : "Zoom In");



Edited by caitsith2, 10 January 2012 - 04:29 AM.


tlyee61 Post #14 Posted 10 January 2012 - 04:19 AM

    GBAtemp Fan

  • PipPipPipPip

  • Group: Members
  • Posts: 363
  • Member No.: 257,536
  • Joined: 07-July 10

  •  

Thanks for all the hard work elisherer!
Here's a Pushmo QR I made of a shiny Giratina origin forme from Pokemon:
Posted Image

Edited by tlyee61, 10 January 2012 - 04:19 AM.


caitsith2 Post #15 Posted 10 January 2012 - 04:44 AM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 163
  • Member No.: 19,974
  • Joined: 16-January 04

  •  

View PostSeaking, on 10 January 2012 - 01:16 AM, said:

ladders do not work correctly in game, choosing an upside down one on the program makes a normal ladder in game.


Actually they do. Chances are, the game is enforcing its rules on what type of ladder it is. Its an upside down, if and only if it is placed on the bottom side of a block, that has at least one other block of the same color above it, otherwise, its right side up. This means, if you placed an upside down ladder on a block that is only one pixel wide vertically, the game is going to render it as a right side up ladder instead, when you go to actually play the level.







Users browsing this topic

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users