Search found 1035 matches
- Fri May 03, 2024 9:04 pm
- Forum: WIP Demos
- Topic: "twin stick" shooting experiment
- Replies: 3
- Views: 178
"twin stick" shooting experiment
Modern game controllers usually have 2 analog sticks, which allows for a type of game called "twin stick shooter". One stick is used to move around with, while the other is used to aim independently of the movement. I made an experiment to kinda approach this control scheme on the X16. It ...
- Thu May 02, 2024 9:05 pm
- Forum: Programming
- Topic: Where is this program for the x16 please?
- Replies: 8
- Views: 562
Re: Where is this program for the x16 please?
Oh, it doesn't use double buffering. It draws all the pre-rotated lines as quickly as it can after clearing the display. That's why you still see it flickering, because this process takes longer than a frame to complete
- Mon Apr 29, 2024 6:09 pm
- Forum: Programming
- Topic: Where is this program for the x16 please?
- Replies: 8
- Views: 562
Re: Where is this program for the x16 please?
I don't really understand what you mean with "with a buffer". I can explain globally how it works and you can maybe follow along in the source code for the details: - the ship is made up of points and lines stored in arrays. - the points are rotated using a 3x3 rotation matrix that is appl...
- Fri Apr 26, 2024 7:47 pm
- Forum: Programming
- Topic: Where is this program for the x16 please?
- Replies: 8
- Views: 562
Re: Where is this program for the x16 please?
It is one of the commander x16 examples that ship with Prog8. 3100 https://github.com/irmen/prog8/blob/master/examples/cx16/cobramk3-gfx.p8 (By the way, I don't know if you already knew this, but here is the directory with the whole bunch of Prog8 example programs: https://github.com/irmen/prog8/tre...
- Wed Apr 24, 2024 5:25 pm
- Forum: Graphics Apps
- Topic: Paint
- Replies: 4
- Views: 506
Re: Paint
Updated the zip file in the first post:
* fixed an error in one of the included demo images
* paint now uses a crosshair cursor for drawing instead of the hand.
* fixed an error in one of the included demo images
* paint now uses a crosshair cursor for drawing instead of the hand.
- Thu Apr 18, 2024 8:54 pm
- Forum: Programming
- Topic: Prog8 language and compiler topic
- Replies: 378
- Views: 697063
version 10.3 released
:idea: Prog8 version 10.3 has been released: https://github.com/irmen/prog8/releases/tag/v10.3 There's a change in this version that's not backwards compatible with older code, so it may be required to make some simple changes: It is now possible (and required) to assign all values returned from a r...
- Wed Apr 17, 2024 5:22 pm
- Forum: Works In-Progress Discussion
- Topic: Some things I've been working on
- Replies: 16
- Views: 780
Re: Some things I've been working on
Impressive stuff as results of learning projects, I must say!
I've looked at Fabien Sanglard's code review and analysis of Another World too. Are you aware that he made a C reimplementation of the full engine as well? https://github.com/fabiensanglard/Anoth ... nterpreter
I've looked at Fabien Sanglard's code review and analysis of Another World too. Are you aware that he made a C reimplementation of the full engine as well? https://github.com/fabiensanglard/Anoth ... nterpreter
- Sun Apr 14, 2024 11:34 am
- Forum: Productivity Apps
- Topic: Dos Shell
- Replies: 20
- Views: 50159
Re: Dos Shell
It doesn't work well on the web emulator, I think there are some filesystem incompatibilities. Maybe triggered by the ISO mode. Or maybe path parsing is not working correctly.
It works fine in the regular emulator and on hardware
It works fine in the regular emulator and on hardware
- Wed Apr 10, 2024 4:30 pm
- Forum: Programming
- Topic: Which program can you use to convert float into 5 bytes for ASM?
- Replies: 14
- Views: 591
Re: Which program can you use to convert float into 5 bytes for ASM?
^ Clever!!!
I am so not used to the new basic commands like POINTER.
I am so not used to the new basic commands like POINTER.
- Tue Apr 09, 2024 10:06 pm
- Forum: Programming
- Topic: Which program can you use to convert float into 5 bytes for ASM?
- Replies: 14
- Views: 591
Re: Which program can you use to convert float into 5 bytes for ASM?
Ok in the next release of Prog8 (10.3 once it is finished), you can do this $ p8compile -target cx16 dummy -float2bytes "-9.87654321" -9.87654321 in bytes on 'cx16': 132,158,6,82,44 $ p8compile -target cx16 dummy -bytes2float 132,158,6,82,44 floating point value on 'cx16': -9.8765432089567...