flat assembler
Message board for the users of flat assembler.
Index
> Tutorials and Examples > AOXXX Goto page Previous 1, 2, 3 Next |
Author |
|
avcaballero 10 Oct 2021, 15:44
Thank you for answer. This ship now can down a bit more, but due to its missile at its bottom cannot place to shoot the enemy at the bottom. I think it is part of the game, bearing in mind that the enemy chase the ship after a moment, so it has to leave the bottom line at any moment. I have changed the color of the ship health to blue, more accurate, I think.
I am specially interested if the program works ok at any moment or gives any error message. In my VirtualBox-XP from time to time returns an error message when closing. But don't know if worths investigate it. In my W10 works ok at any moment. |
|||
10 Oct 2021, 15:44 |
|
bitRAKE 10 Oct 2021, 19:45
W10 silently consumes an access violation error I get through x32dbg. Program termination does not happen through main message loop while in debugger. The application event log also confirms this happens when not in debugger.
Code: Faulting application name: StarShipWC01.exe, version: 1.0.0.0, time stamp: 0x00000000 Faulting module name: ntdll.dll, version: 10.0.19041.1202, time stamp: 0xef8beaeb Exception code: 0xc0000005 Fault offset: 0x00087271 Faulting process id: 0x2608 Faulting application start time: 0x01d7bde6a1f3e66f Faulting application path: C:\Users\bitRAKE\Downloads\StarShipWC01.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
10 Oct 2021, 19:45 |
|
avcaballero 11 Oct 2021, 07:56
Thank you BitRake
I was trying to clean a DC buffer before exit. It seems that it may confrontate with some Windows operations, so I let Windows to clean and close it by itself (I have commented such lines of the code) and it seems that in my VB-WXP I have not had the error message again. I haven't debugged yet, but it looks good.
_________________ Siempre aprendiendo |
|||||||||||
11 Oct 2021, 07:56 |
|
avcaballero 12 Oct 2021, 21:36
Added a scoring system and energy bar. Each enemy gives a certain amount of points, which appear for a moment on the screen. The idea is that, when you reach a certain amount, you get some kind of benefit, such as a double shot or extra life. On the right side would be the energy bar of a special enemy, with a greater amount of energy, that would need several shots, and that would give more points.
Added also an introductory text for the game, that you can skip with hitting the left button of the mouse.
_________________ Siempre aprendiendo |
|||||||||||
12 Oct 2021, 21:36 |
|
avcaballero 14 Oct 2023, 19:34
Hello, here an experimentation with planes and camera.
Edited: Added a tiny background sound that gives it a some kind of occlusive ambient.
_________________ Siempre aprendiendo |
|||||||||||
14 Oct 2023, 19:34 |
|
avcaballero 27 Dec 2024, 22:29
Hello. Merry Christmas out there. A small raycasting project. Greetings to Lode Vandevenne, all the info and resources needed in his web page.
Fogot it: cursor keys to move.
_________________ Siempre aprendiendo |
|||||||||||
27 Dec 2024, 22:29 |
|
avcaballero 06 Jan 2025, 19:48
Hello. Here a small Xmas card. There are several layers of snow flakes to give a sense of depth. The trees are in fact a derivation of the Koch snowflake fractal. The text is a bit annoying though, it should be transparent, instead it leaves a black rectangle underneath.
PD: Hmm, I have seen that some av detects it as suspicious and, although, of course, it is virus-free, I better remove it. _________________ Siempre aprendiendo |
|||
06 Jan 2025, 19:48 |
|
Mikl___ 11 Jan 2025, 01:29
¡Hola, Alfonso! ¡Feliz año nuevo!
I wanted to ask about GDI+. The links AOW32 don't work for some reason. Is this done on purpose? |
|||
11 Jan 2025, 01:29 |
|
avcaballero 11 Jan 2025, 18:07
Hello, Mikl. In theory, all examples should be accesible, although not for all compilers. I have done the estructure with all the links waiting for me to do the job and uploading the example in every compiler, but I didn't have the time. In short, regularly the tinyc link should be operative, but in some cases maybe is Pellesc or another, those that I have had the time to make it. That's why some links "don't work".
|
|||
11 Jan 2025, 18:07 |
|
Mikl___ 12 Jan 2025, 02:29
¡Hola, Alfonso! I found your message from 2019
Quote: AOW32 (Open your Eyes to Win32) has no support, so you should know that the most probably is that I will not answer questions. For me, AOW32 is only a hobby and I would like it will remain being as is, and I do not want that it will get more time than necessary. In this main thread only fits messages on Win32 programming, any other could be deleted. Any user that does not limit himself to the standards, could be blocked. Once I have said that, I welcome you to the forum and invite you to do comments and constructive criticisms. You can post comments in Spanish or English. 6.3.5. Líneas, Rectángulos, Transparencia, Antialias GDIPlusM6401
_________________ wasm.in Last edited by Mikl___ on 14 Jan 2025, 03:36; edited 2 times in total |
|||||||||||
12 Jan 2025, 02:29 |
|
avcaballero 12 Jan 2025, 09:52
That would be fine, go ahead.
|
|||
12 Jan 2025, 09:52 |
|
Mikl___ 12 Jan 2025, 11:30
Bueno, yo continuaré.
6.3.6. Brochas I need bin-file or src-file masm, fasm, nasm, TinyC or PelleC PintarWC02.c is not GDI+ |
|||
12 Jan 2025, 11:30 |
|
avcaballero 12 Jan 2025, 14:59
If I'm not wrong, when I was doing that, I was some trouble with "PROPID id" of PropertyItem estructure, so, since I was a bit boring, I left it, now, searching, it seems to be an integer, hence I have put "int id" instead "PROPID id" and it seems work fine. So, here it is.
_________________ Siempre aprendiendo |
|||||||||||
12 Jan 2025, 14:59 |
|
avcaballero 12 Jan 2025, 15:12
By the way, where I put:
Code: case WM_CHAR: if (wParam == VK_ESCAPE) goto wmDestroy; Better put: Code: case WM_CHAR : if (wParam == VK_ESCAPE) { SendMessage (hWnd, WM_CLOSE, 0, 0); //goto wmDestruimos; } _________________ Siempre aprendiendo |
|||
12 Jan 2025, 15:12 |
|
Mikl___ 12 Jan 2025, 16:21
6.3.7. Elipses y Polígonos
GDIPlusM6403
_________________ wasm.in Last edited by Mikl___ on 14 Jan 2025, 03:37; edited 2 times in total |
|||||||||||
12 Jan 2025, 16:21 |
|
Mikl___ 13 Jan 2025, 00:21
6.3.6. Brochas
GDIPlusM6402
_________________ wasm.in Last edited by Mikl___ on 14 Jan 2025, 03:37; edited 2 times in total |
|||||||||||
13 Jan 2025, 00:21 |
|
Mikl___ 13 Jan 2025, 01:29
6.3.8. Redimensionamos imágenes
GDIPlusM6403b
_________________ wasm.in Last edited by Mikl___ on 14 Jan 2025, 03:38; edited 2 times in total |
|||||||||||
13 Jan 2025, 01:29 |
|
Mikl___ 13 Jan 2025, 01:41
_________________ wasm.in Last edited by Mikl___ on 14 Jan 2025, 03:40; edited 2 times in total |
|||||||||||||||||||||
13 Jan 2025, 01:41 |
|
Mikl___ 13 Jan 2025, 01:53
6.3.10. Cargar imágenes del resource
6.3.11. Escribir texto I need bin-files or src-files in masm, fasm, nasm, TinyC or PelleC PintarWC05.c and PintarWC06.c are not GDI+ |
|||
13 Jan 2025, 01:53 |
|
Goto page Previous 1, 2, 3 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.