Now I can use global array in Statement/Function
Yesterday, I logged how I achieved sharing one element of array to statement/function. It was using a pointer like this.
Dim test.w(10)
...
*pTest.w = test(3)
Statement MyProc01{}
SHARED *pTest.w
...
End Statement
But, when I want to SHARED a lookup table, like Sin table, I should do SHARED whole array. So, I opened some example source codes in Blitz folder and found how to do that.
Statement MyProc02{}
SHARED test()
...
End Statement
It looks List is also possible to SHARED.
Today's picture is just changing palette and use lookup table of Sine for the move of enemy blue ghosts. I notice that, it getting slower when number of ghosts increased. There are only 5 enemies though. and distance of those enemies are not stable. May be frame was dropped.
Get My First Shooting Game For Amiga
My First Shooting Game For Amiga
This is experimental project to create a shooter game from scratch. [Blitz Basic Game Jam 2022]
Status | Prototype |
Author | ElmonEPG |
Genre | Shooter |
Tags | Amiga, blitzbasic, Retro, Singleplayer |
More posts
- Testting multiple coplist in the 1 displayJan 22, 2023
- Added Logos and start screenNov 16, 2022
- Upload executable of submitted versionNov 15, 2022
- Resolve the issue to create executableNov 09, 2022
- Continue to develop this projectOct 31, 2022
- Update SourcesOct 28, 2022
- Upload sourcesOct 27, 2022
- Some moving functions for EnemyOct 24, 2022
- Screen shot of game and about scopeOct 20, 2022
Leave a comment
Log in with itch.io to leave a comment.