Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: kas1e on June 14, 2003, 10:24:37 AM

Title: lame coding quastions.
Post by: kas1e on June 14, 2003, 10:24:37 AM
hi all. i have some qustion, if anybody can, answer to me. thnx.

1. what library give me 'screen-mode choice' requestor
2. what library can give me easy way to png viewing
3. how i can create 'raw picrutes(sprites,etc)' (i mean editor),
   and how i can load/view on screen it (library too i think ?)
4. what library can give me easy way to work with mouse/joystick.  
   (i mean chords/button work)
5. how i can view plain text on gfx screen with my fonts.
6. how i can do it 'stepless screen extinction/conflagration'


if any have link on docs/examples (i mean concret examples/docs about this
quastions) this will be very good. big thanks all to answer. (i use sas/c).
Title: Re: lame coding quastions.
Post by: carls on June 14, 2003, 10:34:02 AM
Check this page out: http://amycoder.hypermart.net/ (http://amycoder.hypermart.net/)

Beware of the popup ads though...
Title: Re: lame coding quastions.
Post by: Thomas on June 14, 2003, 12:12:37 PM

0. Buy the Amiga Developer CD, it's the only reasonable way to learn about AmigaOS internals.
1. asl.library
2. datatypes.library
3. don't know. Use a painting program and convert to raw with a self-written program.
4. lowlevel.library (if you are speaking of a game/demo. For an application the window's IDCMP is the better way).
5. graphics.library Text().
6. I don't understand this, what do you mean ?
7. Try Aminet's dev directory.

Bye,
Thomas
Title: Re: lame coding quastions.
Post by: xeron on June 14, 2003, 12:12:48 PM
Quote

1. what library give me 'screen-mode choice' requestor


asl.library is the system standard.

Quote

2. what library can give me easy way to png viewing


If you use datatypes.library, you can display any format. There are examples in the 3.1 NDK, and probably the 3.5 and 3.9 ones, too.

Quote

3. how i can create 'raw picrutes(sprites,etc)' (i mean editor),
and how i can load/view on screen it (library too i think ?)


Just use your regular paint package, then use PicCon (from aminet) to convert it to whatever format you need.

Quote

4. what library can give me easy way to work with mouse/joystick.
(i mean chords/button work)


Read the mouse though intuition.library and IDCMP. For joystick, use lowlevel.library. Once again, consult the autodocs, Rom Kernel Reference manual, and NDKs.

I suggest you buy the Developer CD. Its available from a lot of Amiga online stores. It has the Rom Kernel Reference manuals and examples, which tell you how to draw graphics and text, read input devices and all the other stuff you want to do with AmigaOS.

Also, keep an eye out on ebay for a set of printed Rom Kernel Reference Manuals, as they're quite often more convenient than the ones on the CD.