Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need documentation / doxygen #180

Open
gus0650 opened this issue Mar 2, 2023 · 13 comments
Open

need documentation / doxygen #180

gus0650 opened this issue Mar 2, 2023 · 13 comments

Comments

@gus0650
Copy link

gus0650 commented Mar 2, 2023

Hello, i am new to the Amiga and would like to use ACE and Visual Studio Code to learn game development on the Amiga.

However, i noticed that the documentation is still lacking important parts. Any plans to make that happen anytime soon?

I am no good with reverse engineering so the lack of documentation is a dealbreaker for me.

it is a shame really, such a nice engine but then incomplete docu...

I am willing to donate money to the project if it is used to create documentation.

I am also thinking to donate code to the project (thinking of a tilemap engine and font system).

@tehKaiN
Copy link
Member

tehKaiN commented Mar 2, 2023

there are font and tile systems, they just need... documentation. 👀

I write docs on-demand so let me know what do you have currently problem with or what is most urgent. If you could come up with a list ordered by priority I'll try to give it a bite at say, top 3 things.

@tehKaiN
Copy link
Member

tehKaiN commented Mar 2, 2023

related to #62

@gus0650
Copy link
Author

gus0650 commented Mar 2, 2023

thanks for the quick response. in the "docs" folder i see there is already some good documentation, just incomplete. i guess the most urgent chapters be 5, 6, 10 an 12. basically everything one needs to know to make a simple game. i dont want to use the state machine, i would prefer just starting from main() and then step by step know how to load an image, display it on screen, make some sprites and move them around, detect collision between the sprites and the background. then at a later time i would like to do vertical scrolling, and dual playfield. play some sound effects. thats it. keep it very simple, no fancy tricks.

a good overview of all the classes would be awesome. doxygen / javadoc / autodoc style. just to see whats there and what is does.

professionally i work with Unity engine who have pretty good documentation and many small code examples. so maybe that can serve as inspiration. i just love it when i can quickly look things up and can get into the flow of programming without having to "trip" over undocumented aspects of the code that i cant figure out.

with good docu, this looks like it could be great fun!

@tehKaiN
Copy link
Member

tehKaiN commented Mar 2, 2023

alrighty, I'll try to write something up and also update the doxygen part 'cuz it's there, but not everywhere and overview thingy is definitely missing.

@gus0650
Copy link
Author

gus0650 commented Mar 2, 2023 via email

@tehKaiN
Copy link
Member

tehKaiN commented Mar 2, 2023

you can see current state of doxygen here: https://codedocs.xyz/AmigaPorts/ACE/ or if you click the "code|documented" badge in the readme. I'll add the link in the docs folder in appropriate section.

This needs proper housekeeping though - although there are doxycomments in .h files, the web-based documentation doesn't see them, most probably because files lack the comment with @file tag. If you navigate through what's already in class list or class members, you'll see something's working, but it's working badly.

It's all pretty much work in progress, unfortunately - I was mainly focusing on adding functionality required for my games, not the docs. Until I clean this up, your best bet is to try to run one of the games, hack around it and try to make something of your own from it.

@gus0650 gus0650 changed the title need documentation urgently need documentation / doxygen May 4, 2023
@gus0650
Copy link
Author

gus0650 commented May 4, 2023

thanks, the doxygen helps!

any chance of writing chapter 5 and 6 anytime soon? basically i at this point i just want to load an image and display that on screen

@tehKaiN
Copy link
Member

tehKaiN commented May 4, 2023

will do tomorrow!

@tehKaiN
Copy link
Member

tehKaiN commented May 5, 2023

Chapter 5 is now live in its initial version. I'll try to do chapter 6 tomorrow, but it's a bit of writing to be done:

  • add moving ball (perhaps to chapter 5)
  • convert palettes to ACE format
  • convert bitmaps to ACE format
  • load palette from file and use it in game's view
  • load bitmaps from files
  • draw bitmaps without mask
  • create blank bitmap for storing background for undraw
  • draw bitmaps with mask

so if it won't be finished tomorrow it'll be probably a day after.

@gus0650
Copy link
Author

gus0650 commented May 6, 2023

you, my friend, are awesome!

@tehKaiN
Copy link
Member

tehKaiN commented May 6, 2023

Next chapter is ready. I have however split remaining stuff into more chapters, so it's still not 100% complete. Expect more tomorrow!


EDIT: I've added chapter on undrawing blitter objects.

@Vairn
Copy link
Contributor

Vairn commented May 8, 2023 via email

@tehKaiN
Copy link
Member

tehKaiN commented May 9, 2023

I've added chapter for drawing masked blits.
Next on the list is drawing text as well as optimizing blitter usage.

@tehKaiN tehKaiN added this to the TBD before C++ experiments milestone Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants