Author Topic: [A:P] Computer IDE  (Read 22804 times)

0 Members and 1 Guest are viewing this topic.

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #15 on: January 06, 2013, 10:20:55 pm »
Thanks guys,

Streetwalker, you're right; I need to bundle up some of the data files..

For now, just screenies :P. Progress update for today mainly includes the fully-functional item editor :D
« Last Edit: January 06, 2013, 10:23:52 pm by squidgetx »

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #16 on: January 09, 2013, 08:52:21 pm »
Update; saving maps as asm source works (with a hard coded filename)!

Next, move/enemy editors and saving items, conversations, etc.

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: [A:P] Computer IDE
« Reply #17 on: January 09, 2013, 09:07:21 pm »
The trunk on that large tree sprite is awesome!
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: [A:P] Computer IDE
« Reply #18 on: January 09, 2013, 09:10:19 pm »
Steak as a weapon? LOL. But I can see that Ash: Phoenix is very customizable.
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #19 on: January 14, 2013, 05:49:28 pm »
Haha, thanks guys. And yeah, the item editor lets you do a lot of weird things but it'll only let you save the fields that apply. So if you set an item to armor but give it weapon power and type, that data won't be used :P

In other news, saving works with maps, overworld, npc conversations, and items :D Also, added in npc sprite import and a tweak of the tile editor to allow masks.
« Last Edit: January 14, 2013, 05:49:47 pm by squidgetx »

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #20 on: January 18, 2013, 08:31:53 pm »
Woohoo! Pretty much done with this baby. Might throw in a flood fill routine for the map/tile editor, but other than that this thing is ready to go. The 30k lines of code are clean(ish) for a first large Java project, so I'm pretty happy with myself.

Notable features:
-NPC, Item, Move, Enemy, info editors
-No extra save file; loads and saves as compileable asm
-Reference based tile editor! Insert a new tile, delete a tile, move a tile around, your map won't change.
-Masked sprite editing with blue as transparent

Jar and screenie (warning, large) attached. Now for some epic content generation and some final coding on the calc-side :D
« Last Edit: January 18, 2013, 09:02:24 pm by squidgetx »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [A:P] Computer IDE
« Reply #21 on: January 18, 2013, 10:42:39 pm »
*.*
That's awesome !
« Last Edit: January 18, 2013, 10:43:14 pm by Streetwalker »

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [A:P] Computer IDE
« Reply #22 on: January 19, 2013, 03:51:11 am »
Wow, awesome. I can't seem to get it running though.
I use win8 with java7u9, I'm confused... It shows a running indicator for about a second, and then nothing happens, it's not in taskmanager, nothing...

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [A:P] Computer IDE
« Reply #23 on: January 19, 2013, 07:33:24 am »
Spoiler For Spoiler:
java.io.FileNotFoundException: moves.asm (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at java.io.FileInputStream.<init>(FileInputStream.java:97)
   at ide.main(ide.java:1587)
java.io.FileNotFoundException: enemymeta.asm (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at java.io.FileInputStream.<init>(FileInputStream.java:97)
   at ide.main(ide.java:1618)
java.io.FileNotFoundException: enesprites.asm (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at java.io.FileInputStream.<init>(FileInputStream.java:97)
   at ide.main(ide.java:1646)
java.io.FileNotFoundException: items.asm (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at java.io.FileInputStream.<init>(FileInputStream.java:97)
   at ide.main(ide.java:1670)
java.io.FileNotFoundException: npcconvos.asm (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at java.io.FileInputStream.<init>(FileInputStream.java:97)
   at ide.main(ide.java:1711)
java.io.FileNotFoundException: tileout.asm (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at java.io.FileInputStream.<init>(FileInputStream.java:97)
   at ide.main(ide.java:1742)
java.io.FileNotFoundException: npcsprites.asm (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at java.io.FileInputStream.<init>(FileInputStream.java:97)
   at ide.main(ide.java:1773)
java.io.FileNotFoundException: overworl.asm (No such file or directory)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   at java.io.FileInputStream.<init>(FileInputStream.java:97)
   at ide.main(ide.java:1796)
Exception in thread "main" java.lang.NullPointerException
   at ide.main(ide.java:1810)

YOU FORGOT THE FREAKIN' DATA FILES !!!!!
* Streetwalker shouldn't scream like that. :P
« Last Edit: January 20, 2013, 06:28:38 am by Streetwalker »

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [A:P] Computer IDE
« Reply #24 on: January 19, 2013, 07:47:33 am »
Same for me Nick, although I'm running Windows 7.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [A:P] Computer IDE
« Reply #25 on: January 19, 2013, 02:58:32 pm »
So great O.O. I really wonder if we can make full games so far with it? It would definitively deserve news on front page if it can O.O

I can't run it either it seems, though. When I click the file, absolutely nothing happens...
« Last Edit: January 19, 2013, 02:59:48 pm by DJ_O »

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #26 on: January 20, 2013, 12:08:51 pm »
I'm gonna see if I can rebuild the jar, I think something must've screwed up.

Missing files shouldn't be a problem; I catch the exception so it doesn't crash, and it'll just build an empty list, hmm

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #27 on: January 21, 2013, 10:14:51 pm »
All right, finally got this working.

-Added tile count change spinner to the tile editor (ceiling 256)
-Added discard changes button
-Synced main frame with tile editor changes
-Fixed bug with masked and unmasked tiles in the same tileset
-Fixed the issue with the manifest
-Should create new if no data files detected
-Added ability to choose npc sprite when adding npc sprite
-Fixed multiple issues with the output files

AoC, Nick, if it still doesn't run, then there's gotta be some kind of cross platform issue, as it runs fine here on linux mint. Thought that avoiding these kinds of issues was the whole point of java lol
« Last Edit: January 21, 2013, 10:17:10 pm by squidgetx »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [A:P] Computer IDE
« Reply #28 on: January 22, 2013, 02:11:05 am »
It works now, except NPC editing no longer shows up after a few clicks. By the way it should look like this right?

I couldn't do much, though, because I have no clue how it works lol (eg: are enemy sprites part of the main tileset, same for NPCs? Are NPCs animated and can we make them move or not? How do we assign enemies to an area, enable random battles or disable them, etc?). It would maybe be nice to make it as user-friendly as possible, like RPG Maker 2003, for instance, or at least similar so people who often used such game making tools are more familiar with your software. Or maybe add some documentation.
« Last Edit: January 22, 2013, 02:12:53 am by DJ_O »

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: [A:P] Computer IDE
« Reply #29 on: January 22, 2013, 08:40:13 am »
Good work, it works indeed.

Got some sigestions though:
 - When you click 'New' in item, tile, move etc. editor, and then click 'cancel' no item should be made imo, but now it does make a new item, so maybe place that routine behind the 'Save' button, and not the 'New'.
 - When I press 'Cancel' in the move editor nothing happens (it does not close)

But apart from that, good work, and I lost...