Author Topic: [A:P] Computer IDE  (Read 22684 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
[A:P] Computer IDE
« on: December 24, 2012, 02:18:22 pm »
I've now made enough progress on this to start a thread on it. Basically, the goal of this side project is to be able to easily generate content for the game. Right now, warp tiles, NPC positions, items, moves and such have to be coded in by hand (ugh).

It's coded in Java, and so far I've got most of the drawing routines done, the GUI layout, and lots of asm/hex/int conversion routines written. Tilefile support is pretty much done, the tricky part is next going to be importing the map files.

Features list (planned, some implemented already)
-Tile Editor
--24x24 mode for creating large tiles as 4 12x12s
--Double click to edit tile
--Copy/Paste at least
-Map Editor
--Display of entire game map on the side for better map design
--Right click to add NPC, trigger, or warp
-Save and load as z80 source
« Last Edit: December 24, 2012, 02:21:27 pm by squidgetx »

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: [A:P] Computer IDE
« Reply #1 on: December 24, 2012, 03:02:34 pm »
ooh, fantastic!
does this mean that, assuming you get everything finished up, it will be fairly easy to add a tentative "chapter 2/3/4/12/etc" release in the future with minimal coding?

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [A:P] Computer IDE
« Reply #2 on: December 24, 2012, 03:48:40 pm »
That looks fantastic! Great work so far! ^^

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: [A:P] Computer IDE
« Reply #3 on: December 24, 2012, 08:10:55 pm »
OMG this looks amazing!!!

ME GUSTA!!!
I am Bach.

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #4 on: December 24, 2012, 11:14:36 pm »
Thanks guys :D

Shmibs, yup, that's exactly what it means :D. Depending on how well this goes, I may even externalize nearly every bit of data out of the caclulator app so that it could even serve as an RPG maker of sorts.

Anyway, time for (another) update. Added some antialiased text labels for the tile numbers, and threw in tile/map selection and editing. Tilemaps are fully editable, and while the 16x16 chunks aren't movable (yet), I've put in the ability to create new chunks by clicking on non-existent areas.

Now for a question on GUI and tile editing: Should I do it in a separate dialog, via right or double click in the tile selection pane? Or should I have it available in the main window, in a third frame (probably to the left of the map editor, and under the tile selection box)?
« Last Edit: December 24, 2012, 11:14:49 pm by squidgetx »

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [A:P] Computer IDE
« Reply #5 on: December 24, 2012, 11:32:31 pm »
Thanks guys :D

Shmibs, yup, that's exactly what it means :D. Depending on how well this goes, I may even externalize nearly every bit of data out of the caclulator app so that it could even serve as an RPG maker of sorts.

Awesome (in both respects) :D

Quote
Anyway, time for (another) update. Added some antialiased text labels for the tile numbers, and threw in tile/map selection and editing. Tilemaps are fully editable, and while the 16x16 chunks aren't movable (yet), I've put in the ability to create new chunks by clicking on non-existent areas.

Now for a question on GUI and tile editing: Should I do it in a separate dialog, via right or double click in the tile selection pane? Or should I have it available in the main window, in a third frame (probably to the left of the map editor, and under the tile selection box)?
I'd say in a separate pop up box.

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #6 on: December 26, 2012, 09:34:43 pm »
Tile editor (design blatantly stolen from calcGS because it's a good design) mostly implemented, have yet to add in fancy tools like copy and pasting and such

To do;
Map and tile copy/paste
Map file parsing
Adding npcs, warp tiles, etc.

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #7 on: December 29, 2012, 05:56:19 pm »
Small update, but one that made me pretty irritated at Java-- copy/paste/delete/insert tiles are completed, along with several major infrastructure changes.

More to come later

Offline squidgetx

  • Food.
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: [A:P] Computer IDE
« Reply #8 on: January 01, 2013, 08:17:32 pm »
Map files are now fully importable, I think writing the export routines is going to be trivial. Warp, NPC, and Triggers are pretty well supported now, although adding a new NPC and trigger is not yet implemented. I'm going to have to come up with a data structure that can work with the npc convo structure...maybe an array of bytes will be the best way to go? Custom input routines in Java? Or should I leave that at least as a textfile...Not sure about that.

Edit: I think I'm going to ask for input as a string, and then parse through it to insert the special characters via an escape character (maybe * or ~) and convert to an array of bytes.
« Last Edit: January 01, 2013, 08:18:40 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 #9 on: January 01, 2013, 08:19:51 pm »
Ash Phoenix became a computer IDE instead of an RPG now? O.O

Just kidding, seems interesting. Hopefully it makes it easier for you to work on the game. :)

Also those are some BIG trees :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 #10 on: January 04, 2013, 10:46:05 pm »
Small update: NPC conversation editor and selector are about 80% done. Just have to add the aiblity to choose NPC convos from the "addNPC" dialog. I'll see if I can provide an executable jar in a bit, since screenshots don't really do it justice...

Next, item and move editing, and most importantly, exporting

Edit: Here's a jar, so you guys can play around with it a little bit. For some reason though, I can't get it to run on my system :( See if it works for you guys
« Last Edit: January 04, 2013, 11:05:17 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 #11 on: January 04, 2013, 10:55:28 pm »
Cool to hear. :)

Of course I hope Ash is finished anytime soon, but an RPG Maker for calcs would be nice, since that idea was asked a few times before. I myself wanted to attempt it using Celtic III before, but it would have been a lot of work and I am unsure how hard it would have been to use an RPG Maker on-calc.

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Re: [A:P] Computer IDE
« Reply #12 on: January 04, 2013, 11:01:14 pm »
I'm very impressed squidge!!
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: [A:P] Computer IDE
« Reply #13 on: January 05, 2013, 03:36:36 am »
For some reason though, I can't get it to run on my system :( See if it works for you guys
It doesn't work for me either. Here is a stack trace for you :
Spoiler For Spoiler:
Code: [Select]
Error: npcconvos.asm (No such file or directory)
Error: tileoutp.asm (No such file or directory)
Error: overworldmap.asm (No such file or directory)
Exception in thread "main" java.lang.NullPointerException
at ide$TileSelector.<init>(ide.java:198)
at ide.main(ide.java:859)
Apparently, you need to include or auto-create some files. ;)

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: [A:P] Computer IDE
« Reply #14 on: January 05, 2013, 08:22:46 am »
That map reminds me of the safari zone in the classic pokemon games.
If you like my work: why not give me an internet?