Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Possible To Have An Array Of AGK Sprites?

Author
Message
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 3rd May 2017 16:45
Hi,

How would I create an array of AppGameKit Sprites?
Thanks!
JeZxLee
16BitSoft Inc.
Video Game Design Studio
http://www.16BitSoft.com
PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 3rd May 2017 17:39 Edited at: 3rd May 2017 17:52
Depends
Do you plan the array size to be static or dynamic?

Here's a code sample for a dynamic array ( list ), which simulates 'bullets'

PSY LABS Games
Coders don't die, they just gosub without return

Login to post a reply

Server time is: 2024-03-29 00:47:10
Your offset time is: 2024-03-29 00:47:10