• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 704463 times)

0 Members and 6 Guests are viewing this topic.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2895 on: December 23, 2011, 07:01:37 pm »
A version of ClrDraw that fills the screen with black instead of white. For making White-on-black games. :)
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: Features Wishlist
« Reply #2896 on: December 23, 2011, 07:03:02 pm »
oooh, I like that! That would have helped with Pogo Dark/Light....then again, I just used drawinv..
« Last Edit: December 23, 2011, 07:03:10 pm by saintrunner »
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Features Wishlist
« Reply #2897 on: December 23, 2011, 07:09:25 pm »
Yeah, you could just make the game in black on white, and then used a DrawInv

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2898 on: December 23, 2011, 07:33:56 pm »
A version of ClrDraw that fills the screen with black instead of white. For making White-on-black games. :)

This can be done quite easily already with Fill(L₆,768,ᴇFF), which fills 768 bytes (size of graph buffer) of data starting at L₆ (the graph buffer) with ᴇFF (all bits 1 = black). An optimized form of this is Fill(L₆,768,-1).

A large reason ClrDraw exists is because there is a bcall that does just that. However, there is no bcall that clears the buffer to black, so it wouldn't really make sense to have an Axe command just for it, especially since a built-in routine would do pretty much the same exact thing as the code I wrote above.
« Last Edit: December 23, 2011, 07:36:03 pm by Runer112 »

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Features Wishlist
« Reply #2899 on: December 23, 2011, 08:45:26 pm »
A version of ClrDraw that fills the screen with black instead of white. For making White-on-black games. :)
hmmm? I thought that is possible with: Rect(0,0,96,64) ?

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2900 on: December 23, 2011, 09:04:55 pm »
There are indeed many routines to quickly fill the screen with black.  Runer's is possibly the fastest and most optimized as well

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Features Wishlist
« Reply #2901 on: December 23, 2011, 11:31:37 pm »
I really think you should make a Switch command. Like the switch command in C++ you know? You could replace SetUpEditor, since we are using lists for buffer pointers. It would really be nice :)

EDIT:OMGOMGOMGOMGOMG I LEVELED UP!!!!! I can use omnomirc now  :w00t:
« Last Edit: December 23, 2011, 11:33:02 pm by thydowulays »
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2902 on: December 23, 2011, 11:34:11 pm »
You should check out the new features on the newest version, there is already a switch command :D

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Features Wishlist
« Reply #2903 on: December 23, 2011, 11:34:53 pm »
:O, are you serious?! *orgasm* Lemme find it :D

EDIT: Wait, do you know how to use it? I need it for my SPTEXT thing in the GUI library, so I can switch the getkeys that people press
« Last Edit: December 23, 2011, 11:37:07 pm by thydowulays »
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2904 on: December 23, 2011, 11:45:07 pm »
You can read Quigibo's detailed description in his post here :)

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Features Wishlist
« Reply #2905 on: December 23, 2011, 11:54:20 pm »
Thanks!
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2906 on: December 27, 2011, 12:46:13 pm »
The addition of preprocessor conditionals was awesome, and I will find it very useful. But could there also be something similar to #ifdef? It would be useful for Axe libraries that allow the user to customize them by including defines in their own source code, and the library can fill in any defines with default values if the user didn't define them. The obvious solution would be a new command that determines whether or not the constant is defined. If you don't want to add a new command, you could also try something like the standard preprocessor conditional, but with the constant being used in a trivial comparison, like this:

...!If °Size≥0
8→°Size
...
« Last Edit: January 02, 2012, 05:05:13 pm by Runer112 »

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Features Wishlist
« Reply #2907 on: December 29, 2011, 07:12:46 pm »
Able to draw polygonal shapes?
Like Poly(5,10 coordinates draws filled polygon and stuff?
Sig wipe!

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Features Wishlist
« Reply #2908 on: December 30, 2011, 06:25:09 am »
^Would probably be a good Axiom.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Features Wishlist
« Reply #2909 on: December 31, 2011, 07:27:01 am »
I think the most effective way to accomplish this would be to have a different static pointer syntax (with a prefix or something) for data on other app pages. That way, the user will be able to control what data is accessed more slowly and what data is accessed more quickly, and Axe will easily know whether to generate a normal memory access or an off-page memory access. If you use a 16-bit pointer for off-page accesses, that's a maximum of 4 pages of data available, and data will be able to cross page boundaries.

Edit: Also, I suppose that when compiling a RAM program, these special pointers could be treated like normal data, as much as RAM allows.

Edit2: Actually, come to think of it, this wouldn't work for specifying anonymous data on other pages. But I guess [HEX]r and Data()r aren't taken, right?

Edit3lol: In fact, if the syntax for archived data is Data()→prefixStr1, the syntax for anonymous data could be Data()→prefix

So, with that, would multipage apps with only data on secondary pages be possible ? :D
« Last Edit: December 31, 2011, 07:27:30 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s