Author Topic: xLIB 84C Edition  (Read 50794 times)

0 Members and 1 Guest are viewing this topic.

Offline Dapianokid

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 539
  • Rating: +46/-27
  • That one dude
    • View Profile
Re: xLIB 84C Edition
« Reply #255 on: January 23, 2014, 06:10:34 pm »
^tantrum. I know I've been a huge meganoob in the past, but at least I changed. DreamDragon, the upvotes or downvotes or reputation counts aren't really significant here. It's mostly just a nice favor. Any upvoting usually doesn't mean much, but a downvot emeans you've seriously stepped over your bounds. Js.
I can't believe it took me this long that there is going to be an Xlib for the 84C :D
Keep trying.

Offline dreamdragon

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +6/-19
  • Dragon born and Dragon raised.
    • View Profile
Re: xLIB 84C Edition
« Reply #256 on: January 23, 2014, 06:13:50 pm »
^tantrum. I know I've been a huge meganoob in the past, but at least I changed. DreamDragon, the upvotes or downvotes or reputation counts aren't really significant here. It's mostly just a nice favor. Any upvoting usually doesn't mean much, but a downvot emeans you've seriously stepped over your bounds. Js.
I can't believe it took me this long that there is going to be an Xlib for the 84C :D

so i over stepped my bounds by simply stating how i feel?

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #257 on: January 23, 2014, 06:20:46 pm »
Gentlemen, I understand there is a pressing issue at hand but perhaps it could be handled outside of the xLIB thread.

Happy to field any xLIBC related questions, queries or suggestions!

That being said, i really do need to finish my example programs.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline dreamdragon

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +6/-19
  • Dragon born and Dragon raised.
    • View Profile
Re: xLIB 84C Edition
« Reply #258 on: January 23, 2014, 06:22:56 pm »
Gentlemen, I understand there is a pressing issue at hand but perhaps it could be handled outside of the xLIB thread.

Happy to field any xLIBC related questions, queries or suggestions!

That being said, i really do need to finish my example programs.

sowwwyyyy
its just that between my cluttered room and this...
whew its just too much for right now!

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: xLIB 84C Edition
« Reply #259 on: January 23, 2014, 08:52:16 pm »
^tantrum. I know I've been a huge meganoob in the past, but at least I changed. DreamDragon, the upvotes or downvotes or reputation counts aren't really significant here. It's mostly just a nice favor. Any upvoting usually doesn't mean much, but a downvot emeans you've seriously stepped over your bounds. Js.
I can't believe it took me this long that there is going to be an Xlib for the 84C :D

so i over stepped my bounds by simply stating how i feel?

Nah, you can say what you want, but since Omnimaga has rules, it doesn't mean there won't be any consequences. For example, if you say or do certain things to start a fight, falsely accuse people or are being confrontational to members for no valid reason (eg trying to enforce non-existent rules or complaining about downvotes) and you get caught, there will obviously be consequences (starting with downvotes).

Besides, when you are new on a forum and haven't contributed anything constructive yet, it's generally a bad idea to reprimand members who have contributed constructively for much longer than you. We are generally more tolerant about it on Omni, but not if the new member already broke the rules himself several times.


Anyway, this is off-topic, so if you feel that Omnimaga should become anarchy with no rules, you should PM the people in blue or yellow color directly or e-mail [email protected]. Let's discuss about xLIBC now (and especially if it will ever be updated again).

I'm still curious if in the future it will be possible to change the GRAM offsets btw? It would make it much easier to create side-scrolling games
« Last Edit: January 23, 2014, 08:54:51 pm by DJ Omnimaga »

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: xLIB 84C Edition
« Reply #260 on: January 26, 2014, 07:36:43 pm »
Question:

When is using xLIB uservars faster and when is using TI-OS vars faster? Because so far, I spent a long time translating three programs to uservars, only to end up with one running even slower, another running at identical speed and only one improving speed-wise.  It would be nice to know when to avoid uservars if we are optimizing for speed, because trial and error might waste a lot of people's time and the fear of having stuff run slower with certain uses of the uservars instead of the other way around might discourage some people from trying them.

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: xLIB 84C Edition
« Reply #261 on: April 25, 2014, 04:23:02 am »
Bug report: the xLIBC map drawing commands do not work when the map string is archived. In such case, real(3 does nothing at all.

With a smaller string (my original string was 43 KB large so it won't fit in RAM) I tried putting it in RAM and it works fine:



With it in archive this is what happens:

« Last Edit: April 25, 2014, 04:44:23 am by DJ Omnimaga »

Offline rw24

  • LV2 Member (Next: 40)
  • **
  • Posts: 36
  • Rating: +0/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #262 on: April 25, 2014, 06:00:49 pm »
Is that... Reuben Quest? *gasp*
« Last Edit: April 26, 2014, 06:11:20 pm by rw24 »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: xLIB 84C Edition
« Reply #263 on: April 25, 2014, 06:32:08 pm »
Is that... Reuben Quest
yes...in color :P
And it is looking amazing :3

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

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: xLIB 84C Edition
« Reply #264 on: April 25, 2014, 11:09:20 pm »
Yes it's Reuben Quest. Of course the only thing that was done are sprites, though, and most maps are converted to xLIBC format (although wrongly placed). Considering the many issues I ran into with xLIBC it is unlikely that such game would be available in short terms (unless I separated all maps like they were before). If I keep maps in their previous format, this requires having Reuben walk to the edge of the screen like in Final Fantasy 5 and 6 when he reaches the edge of the map, which is impossible to do in current circumstances (xLIBC bugs or just too complicated/slow to be even viable). The only feasible solution is having Reuben stay in the middle, but this means adding 10 extra rows of tiles on each side of the maps, taking much more space.


EDIT: On the other hand, if I constantly end up with maps full of empty, unused spots, I could just use those spots to store extra game data (for example, the in-game menu layout, battle backgrounds and, if applicable, title screen.) and perhaps even create garbage tilemaps just to store enemy HP/LV/Exp/GP :trollface:
« Last Edit: April 25, 2014, 11:52:25 pm by DJ Omnimaga »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: xLIB 84C Edition
« Reply #265 on: April 26, 2014, 03:55:55 am »
What is GP O.O

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

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: xLIB 84C Edition
« Reply #266 on: April 26, 2014, 08:10:29 am »
Gold pieces. That's how Gil or Gold in Final Fantasy used to be called, back in the days :P

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: xLIB 84C Edition
« Reply #267 on: April 26, 2014, 10:19:14 pm »
It should be noted that archived strings not working is not a bug, xLIB 84C has never advertised that it works with archived strings - its not meant to.

However, i can look into adding support for it by the next release, since it should prove useful for large maps. This however means that setTile will not work while a string is archived ... but maybe i can look into adding support for that too.


On the other hand, the screenies look sweeet.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


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: xLIB 84C Edition
« Reply #268 on: April 26, 2014, 10:51:53 pm »
Aaah I see, I wasn't sure if that was intentionally left out or not. As for set tile I think I would be fine without it, although that could be a problem for boolean maps >.< (speed wouldn't be a problem, because maps only have to be modified when there is an event, not in real time, but it could be hard to implement since it involves writing to Flash I guess).


Also thanks :D
« Last Edit: April 26, 2014, 10:56:54 pm by DJ Omnimaga »

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: xLIB 84C Edition
« Reply #269 on: April 27, 2014, 03:55:29 pm »
By the way, would it be easy to add an extra, optional argument to xLIBC DrawMap so that if a tile ID is outside the tilemap boundaries, it just displays nothing there instead of the other side of the map/garbage? It could be handy for people who want to use scrolling maps without having to add full of extra columns on each side of their map data.